telatin / covtobed

⛰ covtobed | Convert the coverage track from a BAM file into a BED file
MIT License
43 stars 3 forks source link

JOSS tracking #3

Closed brentp closed 4 years ago

brentp commented 4 years ago

re: https://github.com/openjournals/joss-reviews/issues/2119

grammar

benchmarking

Thanks for the clear and reproducible benchmark scripts. (I have used this to reproduce your results and evaluate recent changes to mosdepth).

general

In summary, this tool seems to nicely fill a niche--streaming coverage analysis of target gene panels (when the data is in bam format and no knobs for mapping quality or flags, etc are needed). It would be nice to expand on how covtobed is unique to that niche (relative to samtools depth and an awk one-liner to convert to bed). Additional explanation of how this works: algorithm, filtering, etc will also be helpful.

telatin commented 4 years ago

Thank you for the prompt feedback, it's much appreciated! We will work to address all the questions

brentp commented 4 years ago

a couple more things:

I see now the mapping quality flag.

The automated tests don't seem to test the actual output, just the line counts. Would be nice to see some that check actual coverage.

Also, I think adding more obvious notes on strand, physical coverage etc. could make the specific, unique use-cases for this tool more apparent.

telatin commented 4 years ago

Thank you for the updates!

Before answering, I’d like to share a preamble:

To address some points:

brentp commented 4 years ago

Excellent. Thank you for explaining and updating.

There is a C++ htslib wrapper that is compatible with the bamtools API: https://github.com/38/HTSLibXX which would enable cram support. That's just a point of interest, not needed for the JOSS submission; you have addressed all my points.

telatin commented 4 years ago

Thank again for your contributions. I further expanded the wiki and the benchmark page with a first whole genome test and more details are about to be added.

We plan to try integrating HTSLibXX for a future update.