set_locus#
- biotite.sequence.io.genbank.set_locus(gb_file: GenBankFile, name: str, length: int, mol_type: str | None = None, is_circular: bool = False, division: str | None = None, date: str | None = None) None[source]#
Set the LOCUS field of a GenBank file.
- Parameters:
- gb_fileGenBankFile
The GenBank file to be edited.
- namestr
The locus name.
- lengthint
Sequence length.
- mol_typestr, optional
The molecule type. Usually one of
'DNA','RNA','Protein'or''.- is_circularbool, optional
True, if the sequence is circular, false otherwise.
- divisionstr, optional
The GenBank division to which the file belongs.
- datestr, optional
The date of last modification.