Unconfigured Ad

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • clarissaboschi
    Member
    • Apr 2010
    • 63

    How to output 5 top hits using standalone blast

    I am using blast, and I would like to filter my results, not based on the best hit, but the top 5 hits.

    I do not want to use the option "-max_target_seqs" because it does not result in the correct number, and also it was reported some issues with this option.

    Any suggestions?
    My output is: -outfmt '7 qseqid sseqid pident evalue bitscore stitle length'

    thanks
  • GenoMax
    Senior Member
    • Feb 2008
    • 7142

    #2
    Adding "-num_alignments 5" will work.
    Last edited by GenoMax; 09-08-2017, 09:21 AM.

    Comment

    • clarissaboschi
      Member
      • Apr 2010
      • 63

      #3
      GenoMax, I tried to use -num_alignments 5 and did not work...I got many hits.

      Comment

      • SylvainL
        Senior Member
        • Feb 2012
        • 180

        #4
        Originally posted by clarissaboschi View Post
        GenoMax, I tried to use -num_alignments 5 and did not work...I got many hits.
        Are you sure all these hits do not have the same score?

        Comment

        • GenoMax
          Senior Member
          • Feb 2008
          • 7142

          #5
          You are probably getting more than one HSP per "accession hit". If you strictly want to limit that to one HSP per accession then you could try adding "-max_hsp 1". Keep in mind that adding these restrictions may cause you to miss some important hits.

          Comment

          Latest Articles

          Collapse

          • 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
          • SEQadmin2
            Nine Things a Sample Prep Scientist Thinks About Before Sequencing
            by SEQadmin2


            I’m not a sequencing expert. I’m a purification scientist who uses NGS to evaluate workflows my group develops. With this perspective, we think about the sample first and the NGS workflow second. The sequencer is an exceptionally honest reporter, but it can only report on what you give it, so whether you get clean, interpretable data from an NGS workflow is largely determined before you begin.

            Here are nine questions we think about, in roughly the order they matter, before...
            06-18-2026, 07:11 AM

          ad_right_rmr

          Collapse

          News

          Collapse

          Topics Statistics Last Post
          Started by SEQadmin2, Yesterday, 11:05 AM
          0 responses
          7 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 07-02-2026, 11:08 AM
          0 responses
          28 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 06-30-2026, 05:37 AM
          0 responses
          27 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 06-26-2026, 11:10 AM
          0 responses
          26 views
          0 reactions
          Last Post SEQadmin2  
          Working...