Hi ,
I'm the beginner in PERL, As a Bioinformatician Student I'm doing one project, & I got stuck at one point, Can any one help me....I want to extract genes from the GenBank format file...using PERL program
Thanks in advance.
You are much more likely to get help when you describe your problem as specifically as possible. There are lots of people who do Gene research in the forums these days asking how to parse files. But we need more information if we are to help you, and you should at least attempt to learn as much on your own before turning for a black box solution from here.
Fortunately, you're describing a very simple project. I would suggest that you start by writing out a specification sheet, if you don't already have one. It doesn't have to be very long. It could be something as simple as describing explicitly what format your records (lines of the file) are. What the placement of each piece of information is, and whether they are delimitted by commas, spaces, or some other format. Then all you need to do is describe what you want to do with this information. Are you attempting to transform it in some way. Are you looking up information in it based off of a specific query string. There are many potential uses for your data, and we are going to be unable to really assertain what help you need without a better description.
Then simply look at many of the examples of file operations in this forum and others. Most likely they could be easily adapted to your use. Obviously the biggest block is your understanding of perl and file operations, but the easiest way to learn is to simply jump in and start coding. If you don't already have a perl reference book, I use, http://perldoc.perl.org/ pretty much all the time.
Good luck, and feel free to post back any specific questions once you run into a block.