Blastp all sequences agains all sequences, missing comparisons
1
0
Entering edit mode
9.3 years ago
Swatchpuppy ▴ 50

I am running blastp locally with the following commands:

makeblastdb -in sequences.fasta -dbtype prot -out sequences
blastp -db sequences -query sequences.fasta -outfmt 6 -out sequences.tsv -num_threads 4

But not all sequences comparisons figure in the output. Which I was trying to use to cluster the sequences.

Any idea on how to force all comparisons to be made?

blast • 1.9k views
ADD COMMENT
2
Entering edit mode
9.3 years ago
IsmailM ▴ 110

BLAST is a local alignment tool and is a not a global alignment tool - which is what I suspect you are trying to do based on your question...

BLAST is a good tool if you have a small set of sequences and are looking for potential homologs from a larger dataset.

If you want to align all sequences against all sequence, you need a different alignment program (e.g. mafft).

mafft --maxiterate 1000 --thread 4 sequences.fasta --clustalout > sequences.fasta.out

To install mafft, see this link

Let me know if you need any more help.

On a side note, I would suggest using SequenceServer for running blast (it sets up everything for you and is easier to run).

ADD COMMENT
0
Entering edit mode

Is there any way for mafft to output the similarity between each sequence pairs? Blast outputs in a table format with that information.

ADD REPLY

Login before adding your answer.

Traffic: 1294 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