Unconfigured Ad

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • SDPA_Pet
    Senior Member
    • Apr 2013
    • 222

    BLASTN setting help?

    Hi, I am new to NCBI local blast. I want to BLASTn against nt database. I want to set this criteria.

    1> Alignments with at least 200 positions
    2> at least 98% identity to subject sequences
    3>bit score at least 50

    Anyone can type the command for me here, please?

    Thanks,

    Pet
  • skycreative
    Member
    • Jan 2010
    • 33

    #2
    I know it is quite easy to filter the result under your criteria. Maybe you can process the result after full run

    Comment

    • SDPA_Pet
      Senior Member
      • Apr 2013
      • 222

      #3
      Can you write a command line example for me?

      Thanks,

      Comment

      • rhinoceros
        Senior Member
        • Apr 2013
        • 372

        #4
        savetherhino.org

        Comment

        • SDPA_Pet
          Senior Member
          • Apr 2013
          • 222

          #5
          Hi, if I only consider alignments with at least 200 positions, should I use "-num_alignments 200". If I set "-num_alignments 200", the result will give me the first 200 sequences close to my query sequences. OR BLASTN only blast my query sequence longer than 200 bp.

          I am not sure what is the function of "-num_alignments". Can any one explain it? I want to set "-max_target_seqs". However, I can use both "max_target_seqs" and "-num_alignments" in my blastn command line.

          Comment

          • GenoMax
            Senior Member
            • Feb 2008
            • 7142

            #6
            Originally posted by SDPA_Pet View Post
            Hi, if I only consider alignments with at least 200 positions, should I use "-num_alignments 200". If I set "-num_alignments 200", the result will give me the first 200 sequences close to my query sequences. OR BLASTN only blast my query sequence longer than 200 bp.

            I am not sure what is the function of "-num_alignments". Can any one explain it? I want to set "-max_target_seqs". However, I can use both "max_target_seqs" and "-num_alignments" in my blastn command line.
            "-num_alignments n" is going to report alignments for first "n" sequences that satisfy other search criteria you have set, not "n" positions in individual sequences

            As stated in the blast command manual: "max_target_seqs" is not compatible with num_descriptions or num_alignments.

            Comment

            • SDPA_Pet
              Senior Member
              • Apr 2013
              • 222

              #7
              Originally posted by GenoMax View Post
              "-num_alignments n" is going to report alignments for first "n" sequences that satisfy other search criteria you have set, not "n" positions in individual sequences

              As stated in the blast command manual: "max_target_seqs" is not compatible with num_descriptions or num_alignments.
              Thanks, do you know any settings can control the "n" positions in individual sequences (the length of sequences that I want to blast).

              Comment

              • GenoMax
                Senior Member
                • Feb 2008
                • 7142

                #8
                Originally posted by SDPA_Pet View Post
                Thanks, do you know any settings can control the "n" positions in individual sequences (the length of sequences that I want to blast).
                Can you clarify that? You want the target sequence to be "n" nucleotides or longer?

                Comment

                • SDPA_Pet
                  Senior Member
                  • Apr 2013
                  • 222

                  #9
                  I have a fasta file which has unaligned metagenomic contigs. For example, the length of contigs (sequences) in the file may vary from 50bp to 1000bp. Let's say, I would like to blast all the contigs that long than 100bp against nt database. I don't care about the sequences shorter than 100bp. Is it possible to do it.

                  Comment

                  • GenoMax
                    Senior Member
                    • Feb 2008
                    • 7142

                    #10
                    If you have not done the blast yet then you can filter your contigs file to exclude the small sequences by using a script such as: http://www.bioinformatics-made-simpl...ir-length.html or this http://bioinfofly.wordpress.com/2012.../binawk-f-nex/

                    If you have already completed the blast search then you should be able to parse the output file so that you select entries where the query would be longer than 100. e.g. http://www.bios.niu.edu/johns/bioinf...ast_parser.htm

                    Note: If your query file has fasta sequences that wrap around then look at this thread before using the scripts to filter the reads by size/length.
                    Last edited by GenoMax; 06-02-2013, 01:19 PM. Reason: Added info

                    Comment

                    Latest Articles

                    Collapse

                    • SEQadmin2
                      Advanced Sequencing Platforms Tackle Neuroscience’s Toughest Genomics Problems
                      by SEQadmin2



                      Genomics studies in neuroscience face a special challenge due to the brain’s complexity and scarcity of samples. Mapping changes in cell type and state using conventional next-generation sequencing methods remains challenging. Advances in technologies like single-cell sequencing, spatial transcriptomics, and long-read sequencing have opened the door to deeper studies of the brain and diseases like Alzheimer’s, amyotrophic lateral sclerosis (ALS), and schizophrenia.
                      ...
                      07-09-2026, 11:10 AM
                    • SEQadmin2
                      Cancer Drug Resistance: The Lingering Barrier to Rising Survival
                      by SEQadmin2



                      Cancer survival rates have significantly increased in the last few decades in the United States, reaching a combined 70% 5-year survival rate by 2021. Behind this number, there are years of research to find new therapies, drug targets, and early detection methods. But there is one core challenge that keeps slowing down these advances, and it’s about drug resistance.

                      There is no single reason why many patients don’t respond to treatment as expected. Cancer is...
                      07-08-2026, 05:17 AM
                    • GATTACAT
                      Reply to Nine Things a Sample Prep Scientist Thinks About Before Sequencing
                      by GATTACAT
                      Love this - good data definitely starts from good input, and poor input can only give relatively poor data. I particularly like the mention of Nanodrop/absorbance based methods for quantification. It's such a toss up if you'll get an accurate reading or what amounts to a randomly generated number, and a lot of library/sequencing related issues can be traced back to poor quant.
                      07-01-2026, 11:43 AM

                    ad_right_rmr

                    Collapse

                    News

                    Collapse

                    Topics Statistics Last Post
                    Started by SEQadmin2, 07-13-2026, 10:26 AM
                    0 responses
                    18 views
                    0 reactions
                    Last Post SEQadmin2  
                    Started by SEQadmin2, 07-09-2026, 10:04 AM
                    0 responses
                    30 views
                    0 reactions
                    Last Post SEQadmin2  
                    Started by SEQadmin2, 07-08-2026, 10:08 AM
                    0 responses
                    16 views
                    0 reactions
                    Last Post SEQadmin2  
                    Started by SEQadmin2, 07-07-2026, 11:05 AM
                    0 responses
                    34 views
                    0 reactions
                    Last Post SEQadmin2  
                    Working...