Support BAM reading from input stream, and VCF files