Unconfigured Ad

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

    #1

    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

                    • kinpict.com
                      Reply to 16S/ITS Profiling vs. Shotgun Metagenomics: What Changes in Your Workflow?
                      by kinpict.com
                      The part about this topic feels surprisingly grounded, and the details on the page is the bit that made me slow down. I’d keep <a href="https://kinpict.com/">ai family photo generator</a> bookmarked for later.
                      Today, 06:37 PM
                    • SEQadmin2
                      16S/ITS Profiling vs. Shotgun Metagenomics: What Changes in Your Workflow?
                      by SEQadmin2





                      NGS has revolutionized clinical microbiology by offering new ways to identify and surveil pathogens without prior knowledge of the target. One popular approach is 16S rRNA and ITS amplicon sequencing, which targets specific microbial markers. But studies are increasingly incorporating shotgun metagenomics, a technique that sequences all DNA from a sample without targeting specific microbial markers. This approach allows more detailed taxonomic classification,...
                      10-30-2026, 06:46 AM

                    ad_right_rmr

                    Collapse

                    News

                    Collapse

                    Topics Statistics Last Post
                    Started by SEQadmin2, 11-12-2026, 07:59 AM
                    0 responses
                    27 views
                    0 reactions
                    Last Post SEQadmin2  
                    Started by SEQadmin2, 11-05-2026, 09:25 AM
                    0 responses
                    35 views
                    0 reactions
                    Last Post SEQadmin2  
                    Started by SEQadmin2, 11-03-2026, 11:54 AM
                    2 responses
                    56 views
                    0 reactions
                    Last Post kinpict.com  
                    Started by SEQadmin2, 10-28-2026, 09:57 AM
                    0 responses
                    175 views
                    0 reactions
                    Last Post SEQadmin2  
                    Working...