how can we extract a gene from Genbank file using the e-utilities of ncbi in perl not bioperl? ?
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?
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?
it's download the genbank file for a particular gene from ncbi
@DK yes that's it
BioPerl has extensive e-utilities capabilities:
I need it in just perl
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.
yep it's a homework ..
so, what did you try so far ?
@pierr Lindenbaum I'm searching the ncbi e-utilites
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 ;-).
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
Login before adding your answer.
Use of this site constitutes acceptance of our User Agreement and Privacy