Create genbank files by plasmid
0
0
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?

genbank biopython • 1.2k views
ADD COMMENT
0
Entering edit mode

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

ADD REPLY

Login before adding your answer.

Traffic: 1564 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6