Hello,
I have a question about doing the following in perl:
I have a file (a protein pdb file) thatt, for various (and unchangeable)
reasons look like this:
ATOM
1
N
ALA
1
41.744
64.901
30.842
1.00
47.38
2CDV
83
ATOM
2
CA
ALA
1
41.676
63.465
31.165
1.00
47.22
2CDV
84
...and so on. What I would like to do is to get everything to look like
this:
ATOM 1 N ALA 1 41.744 64.901 30.842 1.00 47.38
2CDV 83
ATOM 2 CA ALA 1 41.676 63.465 31.165 1.00 47.22
2CDV 84
ie. get everything that is sitting between two ATOM-identifiers to occur
on the same line. How can I achieve this?
Cheers
/Per Larsson
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>