The Bio.SeqLoc
modules in seqloc
are designed to represent positions and locations (ranges of positions) on sequences, particularly nucleotide sequences. My original motivation for writing these packages was handing the locations of genes in eukaryotic genomes.
Handle sequence locations for bioinformatics http://www.ingolia-lab.org/seqloc-tutorial.html