Hmmer2: Fixed a subtle bug where values set by a first HSP, that
commit1525f6f27a6a77bd70f104118cd10834f2ebb4fc
authorFrancisco J. Ossandon <fco.j.ossandon@gmail.com>
Fri, 10 Jan 2014 15:17:01 +0000 (10 12:17 -0300)
committerFrancisco J. Ossandon <fco.j.ossandon@gmail.com>
Fri, 10 Jan 2014 15:17:01 +0000 (10 12:17 -0300)
tree13f03d77fa281ad070ca1b7bb291ef06ed0282a5
parent2647b0706d1956a3ff95e2c278d0779459cd44f8
Hmmer2: Fixed a subtle bug where values set by a first HSP, that
were not defined in the second HSP (like "$hsp->{QUERY_LENGTH}"),
were not recalculated but copied over (modified a little
"t/data/hmmpfam.out" to highlight this in its Query length
consistency check). Now "end_element" method from hmmer2.pm
flushes the corresponding values from $self->{_values} buffer
to avoid this. Tests pass.
Bio/SearchIO/hmmer2.pm
t/SearchIO/hmmer.t
t/data/hmmpfam.out