Alphabets

Alphabet and MolType

MolType instances have an Alphabet.

Alphabet instances have a MolType.

Creating tuple alphabets

You can create a tuple alphabet of, for example, dinucleotides or trinucleotides.

Convert a sequence into integers

Convert integers to a sequence

or