Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Urgent : Biological problem

by pvaldes (Chaplain)
on Aug 23, 2011 at 11:17 UTC ( [id://921869]=note: print w/replies, xml ) Need Help??


in reply to Urgent : Biological problem
in thread Urgent help needed! regarding a Biological problem

Well, I'm trying also to understand the problem

Although this is not directly related with your question, it looks to me that is the same problem as to find an unique name to each seedling of each seed tray in a greenhouse, all cells must be different, so you have a matrix for each plate, and them you need a parent hash covering all matrixes.

You could have either a "parent" hash with samples=Keys and cells=values or either want a hash when plate cells will be keys and values = sample tags. I think the former is better cause you can't repeat a sample tag, but you can have four cells named B5 in different trays

So if I'm not wrong this is a problem related with

1- to assign tags according some rules to each key/element of a hash of hashes. Something like to identify the sample_BXC35 (key) with its hash value "i'm-the-cell-AF23-in-the-fourth-small-sized-plate"

2 - to print a tridimensional hash, a hash of hashes covering all your "seed-trays"

I suggest to read about tridimensional hashes and maybe also you will find useful to read about the Data::Dumper module

Replies are listed 'Best First'.
Re^2: Urgent : Biological problem
by pvaldes (Chaplain) on Aug 23, 2011 at 11:52 UTC

    And now the samples,

    maybe we could see easier graphically

    Distribution of the first sample "x"

    BIG plate 24x16 cells.
    A B C D E ... M N O P 1 x1 . x2 . x3 ... x7 . x8 . 2 ---------------------------------------- # row of separation 3 x9 . x10 . x11 ... x15 . x16 . 4 ---------------------------------------- 5 x17 . x18 . ...etc 6 ---------------------------------------- ... 24

    Distribution of the second sample "y": first you fill the spaces between the first sample, ok

    A B C D E F ... N O P 1 . y1 . y2 . y3 ... y7 . y8 2 ---------------------------------------- # row of separation 3 . 4 ---------------------------------------- # row of separation 5 y9 24
    and then, all seems too random and confusing to me, y9 should be in B2, but you say this is in A5. Can you explain better this? (Forget the complicated names, call the samples simply: first, second, third and fourth or w,x,y and z if you prefer)

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (6)
As of 2024-04-24 06:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found