Entering edit mode
4.0 years ago
Harijay
▴
60
While writing a new sequence to a genbank file . I am using code like
_seqrecord = SeqRecord.SeqRecord(Seq.Seq(seq,generic_dna),name=name, id=seqID, description=self.description)
SeqIO.write(_seqrecord,handle=outfile ,format="genbank")
Is there a way to set the topology of the sequence to circular ?
I could see something in the source code about setting topology in a FeatureConsumer, but am still confused as to how I can set the topology or residue type to circular DNA during output of a seqrecord.