How to get the maximum number of hits in BLAST 2.2.31+?
1
1
Entering edit mode
8.4 years ago
Neha shri ▴ 30

Hi,

I have a locally created database which contains thousands of protein sequences . I want to check the positive substitutions in every sequence with reference to the target protein as random substitutions were made in every sequence. The format specifier I am using is "positive -Number of positive-scoring matches".

The command line used-

Blastp -query -db -outfmt "7 ssequid  mismatch  positive  ppos "

Query is "Whenever I am running BLAST , it generates only 500 hits, which is may be the default, How can I get the output for all the sequences.

I am new to using command line BLAST. Any help will really be appreciated.

blast alignment • 3.5k views
ADD COMMENT
2
Entering edit mode
8.4 years ago
Protostome ▴ 50

Use either of the following flags (taken from blastp -help)

 -max_target_seqs <Integer, >=1>
   Maximum number of aligned sequences to keep 
   Not applicable for outfmt <= 4
   Default = `500'

OR:

 -num_descriptions <Integer, >=0>

   Number of database sequences to show one-line descriptions for
   Not applicable for outfmt > 4
   Default = `500'
    * Incompatible with:  max_target_seqs
 -num_alignments <Integer, >=0>
   Number of database sequences to show alignments for
   Default = `250'
ADD COMMENT
0
Entering edit mode

Thank you so much :) I am able to do it now.

Could you please also tell me a way to get the full fasta sequences in the output instead of only their sequence ids?

ADD REPLY

Login before adding your answer.

Traffic: 1978 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6