Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
my %HoA_total_hits=(); while(<>) { my @split_hit_total = split(/\s+/, $hit_total); my $pfam_ac_hit = $split_hit_total[1]; my $protein_ac = $split_hit_total[3]; my $iEvalue = $split_hit_total[12]; my $seq_start = $split_hit_total[19]; my $seq_end = $split_hit_total[20]; my $range_b=$seq_start.'-'.$seq_end; push @{ $HoA_total_hits{$protein_ac} }, $range_b; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: How can I add an entry in a has of arrays based on numeric comparison?
by AppleFritter (Vicar) on Jun 26, 2014 at 09:28 UTC | |
by Anonymous Monk on Jun 26, 2014 at 09:44 UTC | |
by AppleFritter (Vicar) on Jun 26, 2014 at 09:51 UTC | |
by Anonymous Monk on Jun 26, 2014 at 09:57 UTC | |
by AppleFritter (Vicar) on Jun 26, 2014 at 09:58 UTC | |
|
Re: How can I add an entry in a has of arrays based on numeric comparison?
by tobyink (Canon) on Jun 26, 2014 at 08:27 UTC | |
by Anonymous Monk on Jun 26, 2014 at 09:30 UTC |