Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re^3: How to select specific lines from a file

by monkey_boy (Curate)
on Apr 29, 2014 at 21:29 UTC ( #1084400=note: print w/ replies, xml ) Need Help??


in reply to Re^2: How to select specific lines from a file
in thread How to select specific lines from a file

Although in the example shown here split would be fine, the fields in these types of file (PDB) are not always defined (e.g. sometimes the chain is blank) so substr or unpack is preferable. See the PDB documentation for more info http://www.wwpdb.org/documentation/format33/sect9.html#ATOM



This is not a Signature...


Comment on Re^3: How to select specific lines from a file

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1084400]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (13)
As of 2014-12-19 16:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (88 votes), past polls