This toolkit was made to subset and downsample BAM files. This toolkit will allow developers to input BAM files to the workflow and output a subsetted BAM file that uses a smaller amount of disk space. The purpose of this is to give developers another tool they can use to generate quick, testable data in the BAM format.
For a toolkit that takes cram files, converts them to bam files, then downsamples/subsets, then converts back to a cram file, take a look at my
This is a companion discussion topic for the original entry at github.com/nivasquez/toolkitForSubsetDownsampleBam/toolkitForSubsetDownsampleBam