Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
Hi all, I have a Swissprot flat file and I want to parse the DE row such that +it all comes into one single line..... I have written a code for that but it seems its nor parsing the multip +le lines..........well I am also a bit new to perl .... I am posting the structure of the file, which I have to parse.. AB AAAA_BBBBB DE AC2-(EC 2.7.00.1) (Adaptor-associated DE protein 1). // ID CCCCC_DDDDD DE Serine/threonine-protein kinase (EC 2.7.99.1) (Tyrosine DE binding protein) (p35BP). PR AAAAAAAAAAAAAAAAAAAAAAA. // ID RRRRR_GGGGG AC Q6Q8; DE Serine/threonine-aaaaaa kinase (Tyrosine DE kinase 1) (Apoptosis-associated tyrosine kinase) (AATYK) (Brain DE binding protein) (p35BP). PR xxxxxxxxxxxxxx. CD zzzzzzzzzzzzzz. // thanks KK
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: swissprot parsing DE
by Corion (Patriarch) on May 31, 2007 at 06:57 UTC | |
|
Re: swissprot parsing DE
by monkey_boy (Priest) on May 31, 2007 at 08:47 UTC | |
|
Re: swissprot parsing DE
by BrowserUk (Patriarch) on May 31, 2007 at 08:37 UTC | |
|
Re: swissprot parsing DE
by FunkyMonk (Bishop) on May 31, 2007 at 08:54 UTC | |
|
Re: swissprot parsing DE
by citromatik (Curate) on May 31, 2007 at 10:13 UTC |