Ncbi Database Extract A Gene From Gene Bank Perl
3
1
Entering edit mode
13.1 years ago
Freemira ▴ 20

how can we extract a gene from Genbank file using the e-utilities of ncbi in perl not bioperl? ?

perl genbank ncbi homework • 4.9k views
ADD COMMENT
0
Entering edit mode

Do you mean you want to extract the sequence from a genebank file that you've obtained using the NCBI e-utilities. And you want to extract the sequence using perl?

ADD REPLY
0
Entering edit mode

Please improve this question. When you say "extract gene from Genbank file", it implies that you want to parse a file and extract information, such as a sequence. When you say "using e-utilities", it sounds as though you want to download the Genbank file for a particular gene from NCBI. So which is it?

ADD REPLY
0
Entering edit mode

it's download the genbank file for a particular gene from ncbi

ADD REPLY
0
Entering edit mode

@DK yes that's it

ADD REPLY
1
Entering edit mode
13.1 years ago

BioPerl has extensive e-utilities capabilities: http://www.bioperl.org/wiki/HOWTO:EUtilities_Cookbook

ADD COMMENT
1
Entering edit mode

I need it in just perl

ADD REPLY
0
Entering edit mode

Why "just perl"? The point of libraries like BioPerl is to make your life easier by not "reinventing the wheel". Unless of course this is a homework problem.

ADD REPLY
0
Entering edit mode

yep it's a homework ..

ADD REPLY
0
Entering edit mode

so, what did you try so far ?

ADD REPLY
0
Entering edit mode

@pierr Lindenbaum I'm searching the ncbi e-utilites

ADD REPLY
1
Entering edit mode
13.1 years ago
Pablacious ▴ 630

Given that this is a homework I'll only give you a tip: NCBI eBot.

Find it and try to use it, I'm sure it will give you something useful ;-).

ADD COMMENT
1
Entering edit mode
13.0 years ago

http://www.ncbi.nlm.nih.gov/books/NBK25501/, particularly the efetch part.

This is roughly one page to read. I suggest you do it yourself (there is even a url-encoded example).

I'm sure the Perl part is sufficiently covered in your lecture slides. You could also use pablacious' suggestion to cheat ;-)

edit: oh, and if you have further problems please post your code, so we can see that you actually tried

ADD COMMENT

Login before adding your answer.

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