diff --git a/fasta_checksum_utils/_contig.py b/fasta_checksum_utils/_contig.py index e214a8a..c69f690 100644 --- a/fasta_checksum_utils/_contig.py +++ b/fasta_checksum_utils/_contig.py @@ -21,6 +21,7 @@ def gen_sequence() -> Generator[bytes, None, None]: yield ( fh .fetch(contig_name, offset, min(offset + SEQUENCE_CHUNK_SIZE, contig_length)) + .upper() # See http://samtools.github.io/hts-specs/refget.html#checksum-calculation .encode("ascii") )