GenBankLocus#
- class biotite.sequence.io.genbank.GenBankLocus(name: str, length: int, mol_type: str | None = None, is_circular: bool = False, division: str | None = None, date: str | None = None)[source]#
Bases:
objectThe content of the LOCUS field of a GenBank or GenPept file.
- Attributes:
- namestr
The locus name.
- lengthint
Sequence length.
- mol_typestr or None, optional
The molecule type. Usually one of
'DNA','RNA','Protein'or''.None, if the molecule type is not given.- is_circularbool, optional
True, if the sequence is circular, false otherwise.
- divisionstr or None, optional
The GenBank division to which the file belongs.
None, if the division is not given.- datestr or None, optional
The date of last modification.
None, if the date is not given.