Re: regex parsing-Beginner

2007-12-05 Thread Gunnar Hjalmarsson
minky arora wrote: There is one thing I need to figure out.The last step: So,what I need to do is,for the gene names where the difference in range is not zero,I need to report the lines at the end of the file(The sequence of strings) that contain that range. So, you keep reformulating the prob

Re: regex parsing-Beginner

2007-12-05 Thread minky arora
Hi, Thanks evryone you helped me with this problem.I have reported all parts of the file as was needed.There is one thing I need to figure out.The last step: So,what I need to do is,for the gene names where the difference in range is not zero,I need to report the lines at the end of the file(The

Re: Fwd: regex parsing-Beginner

2007-12-04 Thread Gunnar Hjalmarsson
minky arora wrote: Gunnar Hjalmarsson wrote: minky arora wrote: I have been able to retrive all the info i need and in the format that I want. Would you mind letting us know about that format? Doing so might help us help you with your next question... Sure, If i understand correctly,I am

Re: Fwd: regex parsing-Beginner

2007-12-04 Thread minky arora
Sure, If i understand correctly,I am pasting a part of the file to give you a better idea of wat I am trying to do: gene410..1750 /gene="dnaA" /db_xref="EMBL:2632267" CDS 410..1750 /gene="dnaA"

Re: Fwd: regex parsing-Beginner

2007-12-04 Thread Gunnar Hjalmarsson
minky arora wrote: Got it.Thanks.I have been able to retrive all the info i need and in the format that I want. Would you mind letting us know about that format? Doing so might help us help you with your next question... I have range1..range1 range2..range2 The start of all the 2

Fwd: regex parsing-Beginner

2007-12-04 Thread minky arora
Got it.Thanks.I have been able to retrive all the info i need and in the format that I want. Now I need some light on the following. Here is a snippet again: gene410..1750 > > /gene="dnaA" > > /db_xref="EMBL:2632267" > > CDS

Re: regex parsing-Beginner

2007-12-04 Thread minky arora
Thanks PAul, That solves half my problem.I am working on it.If I need more help,I will post it up. -Min On 12/4/07, Paul Lalli <[EMAIL PROTECTED]> wrote: > On Dec 4, 11:06 am, [EMAIL PROTECTED] (Minky Arora) wrote: > > I am quite new to perl so pls bear with me.I am trying to do some > > Bioinf

Re: regex parsing-Beginner

2007-12-04 Thread Gunnar Hjalmarsson
minky arora wrote: .A part of my file looks like this: gene410..1750 /gene="dnaA" /db_xref="EMBL:2632267" CDS 410..1750 /gene="dnaA" /function="initiation of chromosome replication (D

Re: regex parsing-Beginner

2007-12-04 Thread Paul Lalli
On Dec 4, 11:06 am, [EMAIL PROTECTED] (Minky Arora) wrote: > I am quite new to perl so pls bear with me.I am trying to do some > Bioinformatics Analysis.A part of my file looks like this: > > gene410..1750 > /gene="dnaA" > /db_xref="EMBL:2632267

regex parsing-Beginner

2007-12-04 Thread minky arora
Hi All, I am quite new to perl so pls bear with me.I am trying to do some Bioinformatics Analysis.A part of my file looks like this: gene410..1750 /gene="dnaA" /db_xref="EMBL:2632267" CDS 410..1750 /gene=