public final class PrintReadsExample extends Object
java -cp dist/htsjdk-2.1.1.jar htsjdk.samtools.example.PrintReadsExample in.bam false a.bam
Arguments:
- the first argument is the input file (SAM or BAM)
- the second argument is a boolean (true or false) that indicates whether reads are to be eagerly decoded (useful for benchmarking)
- the third argument is optional and is the name of the output file (nothing gets written if this argument is missing)public static void main(String[] args) throws IOException
IOException