Seqanswers Leaderboard 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

                    • seqadmin
                      New Genomics Tools and Methods Shared at AGBT 2025
                      by seqadmin


                      This year’s Advances in Genome Biology and Technology (AGBT) General Meeting commemorated the 25th anniversary of the event at its original venue on Marco Island, Florida. While this year’s event didn’t include high-profile musical performances, the industry announcements and cutting-edge research still drew the attention of leading scientists.

                      The Headliner
                      The biggest announcement was Roche stepping back into the sequencing platform market. In the years since...
                      03-03-2025, 01:39 PM
                    • seqadmin
                      Investigating the Gut Microbiome Through Diet and Spatial Biology
                      by seqadmin




                      The human gut contains trillions of microorganisms that impact digestion, immune functions, and overall health1. Despite major breakthroughs, we’re only beginning to understand the full extent of the microbiome’s influence on health and disease. Advances in next-generation sequencing and spatial biology have opened new windows into this complex environment, yet many questions remain. This article highlights two recent studies exploring how diet influences microbial...
                      02-24-2025, 06:31 AM

                    ad_right_rmr

                    Collapse

                    News

                    Collapse

                    Topics Statistics Last Post
                    Started by seqadmin, Today, 05:03 AM
                    0 responses
                    11 views
                    0 reactions
                    Last Post seqadmin  
                    Started by seqadmin, Yesterday, 07:27 AM
                    0 responses
                    11 views
                    0 reactions
                    Last Post seqadmin  
                    Started by seqadmin, 03-18-2025, 12:50 PM
                    0 responses
                    14 views
                    0 reactions
                    Last Post seqadmin  
                    Started by seqadmin, 03-03-2025, 01:15 PM
                    0 responses
                    185 views
                    0 reactions
                    Last Post seqadmin  
                    Working...