Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Perl script that will read two pdb files with different line numbers and will replace the chain letter from the first to the second file

by Laurent_R (Canon)
on Jun 22, 2018 at 12:09 UTC ( [id://1217183]=note: print w/replies, xml ) Need Help??


in reply to Perl script that will read two pdb files with different line numbers and will replace the chain letter from the first to the second file

In addition to hippo's comments, please note that nested loops are likely to crucify performances if your files are even moderately large.

You should probably store the values of interest of the first file into a hash and then lookup the hash when reading the second file. This will be faster and easier to implement.

  • Comment on Re: Perl script that will read two pdb files with different line numbers and will replace the chain letter from the first to the second file

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (4)
As of 2024-04-19 06:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found