Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ac91
    Member
    • Aug 2015
    • 13

    #1

    Blastx_Nhits and MinIdentity

    Hi,

    I´m running blastx but I don´t known how to get only results for 100 best hits per query and a minimum of 50% of identity. What are the options that allows me to do that?

    thanks!
  • jonfoox
    Junior Member
    • May 2017
    • 3

    #2
    Hi ac91,

    To limit your search to 100 best hits per query, use -max_target_seqs 100.
    Note that this is different from -max_hsps, which can be used to limit the number of High Scoring Pairs (HSPs) for any given query/match.

    When you say 50% identity, do you mean with respect to the query sequence? If so, you can use -qcov_hsp_perc 50.

    Please note that that this is taken from the latest version of BLAST+ (2.6.0). If you are using an older version, these flags may be different (and I think -qcov_hsp_perc was only recently introduced).

    In general, you can use blastx -help to get a detailed description of every flag at your disposal.

    Happy BLASTing!

    Comment

    • ac91
      Member
      • Aug 2015
      • 13

      #3
      Thanks for the reply!

      I´m using -max_target_seqs 100 but I have more than 100 hits per query.
      I believe that max_target_seqs doesn't specify the maximum number of hits per query, but the maximum number of target sequences per query.

      Comment

      • jonfoox
        Junior Member
        • May 2017
        • 3

        #4
        My guess is that your query is being matched to 100 unique hits. But for every hit, there are multiple HSPs being reported. So in total >100 matches are reported.

        If you want to limit the output to just the top HSP between any given query/hit, try -max_hsps 1 (again I think the syntax for this flag changed in more recent versions of BLAST+; it used to be -max_hsps_per_subject).

        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
        26 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...