mbhall88 / rasusa

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

Question: there is a way to start from a bam file instead of a fastq? #62

Closed leone93 closed 12 months ago

leone93 commented 1 year ago

As in the title. If I have a huge bam file to subsample, passing to fastq require a lot of space. Is there a way to skip this passage on the go? Thanks

mbhall88 commented 12 months ago

Unfortunately, because rasusa requires two passes through the fastq it does not accept input from a pipe, so a fastq file is required.