$/ = '//'; # input record separator print join( " ", grep { s/^DE\s+// } split /\n/ ), "\n" while <DATA>;
Output:
AC2-(EC 2.7.00.1) (Adaptor-associated protein 1). Serine/threonine-protein kinase (EC 2.7.99.1) (Tyrosine binding protei +n) (p35BP). Serine/threonine-aaaaaa kinase (Tyrosine kinase 1) (Apoptosis-associat +ed tyrosine kinase) (AATYK) (Brain binding protein) (p35BP).
is how I'd do it;)
In reply to Re: swissprot parsing DE
by FunkyMonk
in thread swissprot parsing DE
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |