PacificBiosciences / pb-CpG-tools

Collection of tools for the analysis of CpG data
BSD 3-Clause Clear License
70 stars 6 forks source link

Fix parse for empty MM tag segment #24

Closed ctsa closed 2 years ago

ctsa commented 2 years ago

This branch primarily covers the additional case where the MM tag contains an empty basemod section, for instance "MM:Z:C+m;". It includes some additional unittest coverage for this case, and also reorganizes argument validation to check a few more cases that gave messy errors during recent test runs -- such as an giving the script an input bam file without an index.