EddyRivasLab / easel

Sequence analysis library used by Eddy/Rivas lab code
Other
46 stars 26 forks source link

Fix ReadBlock()'s handling of "//" delimiter in embl files #48

Closed traviswheeler closed 3 years ago

traviswheeler commented 4 years ago

This PR is in conjunction with HMMER PR https://github.com/EddyRivasLab/hmmer/pull/200, and is thus associated with issue https://github.com/EddyRivasLab/hmmer/issues/195

When provided with a multi-block embl file, nhmmer's multithreaded ReadBlock-based sequence reader would fail when starting to read the second block, because the reader failed to skip past the "//" conclusion of the final sequence of the first block. Fixed here.