EddyRivasLab / hmmer

HMMER: biological sequence analysis using profile HMMs
http://hmmer.org
Other
317 stars 70 forks source link

hmmbuild -n (assign name to HMM) option doesn't have any effect #60

Closed traviswheeler closed 7 years ago

traviswheeler commented 7 years ago

ID h50 TITLE hmmbuild -n (assign name to HMM) option doesn't have any effect STATUS CLOSED XREF - REPORTED_BY Benjamin Schuster-B�ckler benjamin.schuster@crg.es OPENED_DATE SRE, Tue Apr 28 13:10:48 2009 CLOSED_DATE SRE, Tue Apr 28 14:04:24 2009 DESCRIPTION
hmmbuild -n doesn't work. % hmmbuild -n myname foo.hmm fn3.sto should result in foo.hmm being assigned "myname".

Fixed: rewrote hmmbuild.c::set_msa_name(), and added cfg->nnamed to enable testing for another situation where first MSA has no name.

Wrote i5-hmmbuild-naming to test for this and any related bugs. % cd testsuite % ./i5-hmmbuild-naming.pl ../src/hmmbuild . ../tutorial foo