mbhall88 / rasusa

Randomly subsample sequencing reads or alignments
https://doi.org/10.21105/joss.03941
MIT License
207 stars 17 forks source link

Calculate genome size from an index file #31

Closed mbhall88 closed 3 years ago

mbhall88 commented 3 years ago

From https://github.com/mbhall88/rasusa/issues/14#issuecomment-902586579

Allow --genome-size to take a faidx file and sum the lengths of all contigs in that index to calculate the genome size.

tomazberisa commented 3 years ago

Nice addition, thank you! 👍