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
            Recent Advances in Sequencing Analysis Tools
            by seqadmin


            The sequencing world is rapidly changing due to declining costs, enhanced accuracies, and the advent of newer, cutting-edge instruments. Equally important to these developments are improvements in sequencing analysis, a process that converts vast amounts of raw data into a comprehensible and meaningful form. This complex task requires expertise and the right analysis tools. In this article, we highlight the progress and innovation in sequencing analysis by reviewing several of the...
            05-06-2024, 07:48 AM
          • seqadmin
            Essential Discoveries and Tools in Epitranscriptomics
            by seqadmin




            The field of epigenetics has traditionally concentrated more on DNA and how changes like methylation and phosphorylation of histones impact gene expression and regulation. However, our increased understanding of RNA modifications and their importance in cellular processes has led to a rise in epitranscriptomics research. “Epitranscriptomics brings together the concepts of epigenetics and gene expression,” explained Adrien Leger, PhD, Principal Research Scientist...
            04-22-2024, 07:01 AM

          ad_right_rmr

          Collapse

          News

          Collapse

          Topics Statistics Last Post
          Started by seqadmin, Today, 02:46 PM
          0 responses
          10 views
          0 likes
          Last Post seqadmin  
          Started by seqadmin, 05-07-2024, 06:57 AM
          0 responses
          13 views
          0 likes
          Last Post seqadmin  
          Started by seqadmin, 05-06-2024, 07:17 AM
          0 responses
          16 views
          0 likes
          Last Post seqadmin  
          Started by seqadmin, 05-02-2024, 08:06 AM
          0 responses
          23 views
          0 likes
          Last Post seqadmin  
          Working...
          X