roibrodo has asked for the wisdom of the Perl Monks concerning the following question:
Hello,
I have downloaded some large RefSeq files (Genbank format, i.e. both sequence and annotations; e.g. http://www.ncbi.nlm.nih.gov/nuccore/NC_002945.
I want to get a part of that sequence along with its annotations - exactly as I do online using the "Change region shown" window on the right - then dump this as a (smaller) Genbank file. Very simple... but I couldn't figure out how to do that.
Thanks!
UPDATE: RESOLVED
one way of achieving this is using seqret from emboss: e.g. seqret -sformat1 gb -sequence "in_seq.genbank" -sbegin 10000 -send 50000 -feature -outseq out_seq.genbank.genbank -osformat2 gb
Thanks to vinnana from the bioperl community!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Bioperl or ncbi: parsing refseq files
by BioLion (Curate) on Jun 14, 2010 at 15:45 UTC | |
by roibrodo (Sexton) on Jun 15, 2010 at 09:30 UTC | |
|
Re: Bioperl or ncbi: parsing refseq files
by david_lyon (Sexton) on Jun 14, 2010 at 18:33 UTC | |
by roibrodo (Sexton) on Jun 15, 2010 at 09:36 UTC |