Would you use HMMSCAN or HMMSEARCH when the query is much larger than the database?
1
0
Entering edit mode
2.7 years ago
O.rka ▴ 710

I have an HMM database of 83 HMMs.

I want to use this to pull out all of the hits in NR so there are many millions of sequences here.

Would I use hmmsearch or hmmscan for this?

nr hmmsearch hmmer hmm hmmscan • 1.4k views
ADD COMMENT
2
Entering edit mode
2.7 years ago
Mensur Dlakic ★ 27k

See here for previous discussions on this issue. It isn't difficult to figure this out on your own: make a small database in lieu of nr, say 1000 proteins, and do both kinds of searches. It should be pretty obvious what works better for your purposes.

If you use a tabular output and the same database size (the -Z switch), you will get identical results with either approach, but hmmsearch will be at least 2-3x faster, possibly even 10x.

If you want the alignments, with hmmsearch you will get results that are easier to inspect. Basically you will have 83 chunks of results in the output, where for each HMM the hits will be listed and aligned. With hmmscan you will get 300+ million chunks, because each individual sequence from nr will be searched and aligned against all your HMMs. I would not want to do that. Given that hmmsearch is also faster, to me that's a clear winner.

I would use hmmscan only for a relatively small number of sequences, for example to annotate a proteome of a single species against the Pfam database.

ADD COMMENT
0
Entering edit mode

Thank you, this is what I was looking for.

ADD REPLY

Login before adding your answer.

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