set_annotation#
- biotite.sequence.io.gff.set_annotation(gff_file, annotation, seqid=None, source=None, is_stranded=True)[source]#
Write an
Annotationobject into a GFF3 file.Each feature will get one entry for each location it has.
Featureobjects with multiple locations require theIDqualifier in itsFeature.qualattribute.- Parameters:
- gff_fileGFFFile
The GFF3 file to write into.
- annotationAnnotation
The annoation which is written to the GFF3 file.
- seqidstr, optional
The content for the seqid column.
- sourcestr, optional
The content for the source column.
- is_strandedbool, optional
If true, the strand of each feature is taken into account. Otherwise the strand column is filled with ‘
.’.