Biopython Examples For Writing Genbank Files?
0
1
Entering edit mode
11.9 years ago
Richard ▴ 590

Hi gang,

I have some sequences in Seq objects, and each has a corresponding list of interesting regions that I want to annotate in genbank format.

I imagine I need to use a SeqRecord object for each of my sequences if I want to write them (with annotations) to a genbank file.

Does anyone have a good example of how to properly setup a SeqRecord object such that I can easily create a genbank format file from it?

biopython genbank • 4.1k views
ADD COMMENT
3
Entering edit mode

Yes, I would probably recommend creating a SeqRecord object (perhaps by loading a FASTA file), and adding a SeqFeature for each feature to appear in the GenBank feature table (from loading your list of regions).

Are you dealing with nice simple genes (e.g. bacteria) without introns? That makes life much easier.

ADD REPLY
0
Entering edit mode

Thanks Peter. I don't think I'm quite that lucky. I'm looking at antibody V,D,J assignment, so I'll need to annotate the parts of my sequence that are in the reference set (ie. pre-recombination).

ADD REPLY
1
Entering edit mode

May the program Sequin help you?

ADD REPLY

Login before adding your answer.

Traffic: 2002 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