Is there an alternative to samtools quickcheck? I need to perform a check some bam files in order to verify that they're not truncated. Nevertheless, I can't use samtools since in the linux machine where I have the data I can't install the suite.
In the past I've checked the EOF of bam files (1f8b08040000000000ff0600424302001b0003000000000000000000), but I can see that quickcheck also verifies that beginning of the file contains a valid header (all formats) containing at least one target sequence. Which are these valid header formats?