Hmmer2: Now "$result->query_length" and "$hit->length" methods
commitde6fe016cb4a23ca89d76d3f339ce161a829b664
authorFrancisco J. Ossandon <fco.j.ossandon@gmail.com>
Sat, 11 Jan 2014 15:39:39 +0000 (11 12:39 -0300)
committerFrancisco J. Ossandon <fco.j.ossandon@gmail.com>
Sat, 11 Jan 2014 15:39:39 +0000 (11 12:39 -0300)
tree2f80a0a840c8440350d3490d23ba137612c8a7d2
parent9461ef98982bfe5fef45c19720d644675bb1ca99
Hmmer2: Now "$result->query_length" and "$hit->length" methods
will return the correct length instead of 0 if "Parsed for domains:"
line shows a coverage of '.]' or '[]', which means that the alignment
runs until the end of the hmm or sequence. In this case, the END
position is inferred as the length of the sequence and the
information is added accordingly. Added more tests.
Bio/SearchIO/hmmer2.pm
t/SearchIO/hmmer.t