fgpyo icon indicating copy to clipboard operation
fgpyo copied to clipboard

feat: Support reading Picard-style metrics files with comments above the header

Open msto opened this issue 11 months ago • 5 comments

It would be helpful if Metric.read could parse metrics files with comments above the header, such as those produced by Picard. I've updated Metric.read to use the read_header() method introduced in #124 , and also simplified the typing on io.to_reader() and io.to_writer() (per Clint's suggestion)


note I want to keep this separate from the MetricWriter feature branch, but it's dependent on the Metric._read_header method introduced in that branch.

I am waiting to merge until #123 is merged.

msto avatar Mar 15 '24 16:03 msto