Seqanswers Leaderboard Ad

Collapse

Announcement

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

  • Basic question about local BLASTP

    Hello.

    I am using local BLASTP program to blast my protein sequences (around 600 sequences) against other organism's whole proteome database. What I want to do is to filter the output by some parameters. I have applied a reciprocal best_hit strategy, and the parameters were set as 'max identity > 30%', e<1e-10 and best_hit_overhang 0.25). However, in some cases, for example, the max identity between one best-hit set of query and subject sequence was as high as 40%, the query coverage was only 2%. Therefor, I want to exclude the best-hit sequences like that by setting a parameter like 'query coverage > 30%'.

    The web based blast on NCBI could show the query coverage, but I do not know what is the command line for local BLASTP to output "query coverage". Please give me some ideas to resolve this problem. Thanks!
    Last edited by Tsuyoshi; 04-22-2013, 05:18 PM.

  • #2
    You can try this:

    Update to the newest BLAST+ package.
    Use
    Code:
    -outfmt
    , which allows the output to be in custom format. You can find documentation on custom output format here (BLAST Command Line Applications User Manual, Appendix C, option 'outfmt'). From what I see the values to use are
    Code:
    -outfmt 6 qcovs
    , which should add query coverage per sequence value at the end of each output line and save it in tab-delimited format.

    Comment


    • #3
      Originally posted by mknut View Post
      You can try this:

      Update to the newest BLAST+ package.
      Use
      Code:
      -outfmt
      , which allows the output to be in custom format. You can find documentation on custom output format here (BLAST Command Line Applications User Manual, Appendix C, option 'outfmt'). From what I see the values to use are
      Code:
      -outfmt 6 qcovs
      , which should add query coverage per sequence value at the end of each output line and save it in tab-delimited format.
      Thank you mknut.

      I tried adding qcovs, however, the output files did not contain the qcovs information. For example, if I input the command as outfmt "qacc sacc evalue bitscore qcovs", the output files only contained qacc sacc evalue bitoscore. I am thinking whether qcovs is only available for blast but not for blastp.

      Comment


      • #4
        Originally posted by Tsuyoshi View Post
        I am thinking whether qcovs is only available for blast but not for blastp.
        The manual seems to indicate that those options are available for all blast+ programs. Have you tried 'std qcovs'?

        Or perhaps the command needs to be (note: single quotes):

        Code:
        -outfmt 6 [COLOR="Red"]'[/COLOR]qcovs[COLOR="Red"]'[/COLOR]
        Last edited by GenoMax; 04-23-2013, 04:47 AM.

        Comment


        • #5
          Table C1: Options common to all BLAST+ search applications.
          So yes, it seems that this command should be applicable to BLASTp. It also seems that the proper syntax to use is with double quotes, containing numerical argument as well as the rest (single quotes might work) so:
          Code:
          -outfmt "6 qcovs"
          If this does not work, you might want to think about calculating the coverage % with a script, taking query lenght from your BLASTp query and alignment length from 'length' of BLASTp output.

          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:55 AM
          0 responses
          8 views
          0 likes
          Last Post seqadmin  
          Started by seqadmin, 10-02-2024, 04:51 AM
          0 responses
          105 views
          0 likes
          Last Post seqadmin  
          Started by seqadmin, 10-01-2024, 07:10 AM
          0 responses
          113 views
          0 likes
          Last Post seqadmin  
          Started by seqadmin, 09-30-2024, 08:33 AM
          1 response
          117 views
          0 likes
          Last Post EmiTom
          by EmiTom
           
          Working...
          X