Use a hash with the gene names as keys. You can then put all the data in one structure,

my %gene = ( gene_name_1 => { start=>'start_1', stop=>'stop_1', chr=>'chr_1'}, # ... );
You could add the score data there, too, unless it's more dynamic than that and is generated elsewhere.

After Compline,
Zaxo


In reply to Re: More efficient way to lookup with 2 AoA's. by Zaxo
in thread More efficient way to lookup with 2 AoA's. by BioGeek

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":