Entering edit mode
6.9 years ago
So I want to make a genbank file in biopython , but I want it done by each plasmid in a cluster, as opposed to one big cluster genbank file . This is my code now :
gbfile_name="test.gb"
output_file = open(os.path.join("", gbfile_name), "w")
SeqIO.write(record, output_file, 'genbank')
any ideas?
Can you make it clearer what you mean? What are the 'plasmid clusters'? If you need to split genbanks up from a multiple, to individual ones, you can have a look at my code in this answer: A: How do can I use Biopython and SeqIO to parse out multiple genes from several NC