Slowly weeding out unneeded functions in old samtools files