get_moltype#

get_moltype(name: Literal['dna', 'rna', 'protein', 'protein_with_stop', 'text'] | None) MolType[str]#
get_moltype(name: Literal['bytes']) MolType[bytes]
get_moltype(name: MolType[TStrOrBytes]) MolType[TStrOrBytes]

returns the moltype with the matching name attribute