Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re: How to add missing part in a Hash of Array

by BillKSmith (Monsignor)
on May 01, 2014 at 16:15 UTC ( [id://1084647]=note: print w/replies, xml ) Need Help??


in reply to How to add missing part in a Hash of Array

I suspect that we have all misunderstood your data structure. The only code that you provided does indeed reference a "hash of arrays". It associates an array consisting of one position and the name of one amino acid with each protein. (All the responses so far assume that you hve an array of these arrays for each protein). It would be easier to work with a hash of hashes which associates an amino acid with its protein and its position.
Bill
  • Comment on Re: How to add missing part in a Hash of Array

Replies are listed 'Best First'.
Re^2: How to add missing part in a Hash of Array
by Anonymous Monk on May 01, 2014 at 18:27 UTC
    Indeed, I fixed it with Hash of Hashes!
    Thank you all for your help guys!

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (2)
As of 2024-04-26 00:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found