Seqanswers Leaderboard Ad

Collapse

Announcement

Collapse
No announcement yet.
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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

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

    Comment


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

      Comment


      • #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


        • #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

          • seqadmin
            Non-Coding RNA Research and Technologies
            by seqadmin




            Non-coding RNAs (ncRNAs) do not code for proteins but play important roles in numerous cellular processes including gene silencing, developmental pathways, and more. There are numerous types including microRNA (miRNA), long ncRNA (lncRNA), circular RNA (circRNA), and more. In this article, we discuss innovative ncRNA research and explore recent technological advancements that improve the study of ncRNAs.

            Nobel Prize for MicroRNA Discovery
            This week,...
            10-07-2024, 08:07 AM
          • seqadmin
            Recent Developments in Metagenomics
            by seqadmin





            Metagenomics has improved the way researchers study microorganisms across diverse environments. Historically, studying microorganisms relied on culturing them in the lab, a method that limits the investigation of many species since most are unculturable1. Metagenomics overcomes these issues by allowing the study of microorganisms regardless of their ability to be cultured or the environments they inhabit. Over time, the field has evolved, especially with the advent...
            09-23-2024, 06:35 AM

          ad_right_rmr

          Collapse

          News

          Collapse

          Topics Statistics Last Post
          Started by seqadmin, Today, 06:35 AM
          0 responses
          7 views
          0 likes
          Last Post seqadmin  
          Started by seqadmin, Yesterday, 02:44 PM
          0 responses
          7 views
          0 likes
          Last Post seqadmin  
          Started by seqadmin, 10-11-2024, 06:55 AM
          0 responses
          15 views
          0 likes
          Last Post seqadmin  
          Started by seqadmin, 10-02-2024, 04:51 AM
          0 responses
          111 views
          0 likes
          Last Post seqadmin  
          Working...
          X