minor
now reading chrom len and ids from bam/sam headers