in reply to Re: Population of HoAoA based on file contents
in thread Population of HoAoA based on file contents
I'm hoping you've come to understand why you don't want to use the shift in:$data{HG00554}[162] = (0 0, 0 0, ... , 0 0 )
Assuming so, you could do something like:$data{$individual}[ [ shift @snp_bins ] ] = $snp;
I hope this is helpful, I'm still not convinced I'm understanding what exactly you're needing.for my $index ( 0 .. $#snp_bins ){ push( @{$data{HG00554}[$snp_bins[$index]]}, $snps[$index] ); }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Population of HoAoA based on file contents
by iangibson (Scribe) on May 11, 2012 at 17:27 UTC |