Fix KeyError

passes on KeyError caused when a contig is listed in a bam file but not in the contigs file