- or download this
$VAR1 = {
'A2M' => [
'C972Y',
...
'A219V'
]
};
- or download this
gene total x
A2M 2 0
A4GALT 4 1
- or download this
my %hash;
while(<INFILE>)
...
my ($key, @val) = split /\t/, $line, 2;
push @{ $hash{$key} }, @val;
}
- or download this
my $totalcount = 0;
my $xcount = 0;
...
print $k . "\t" . $totalcount . "\t" . $xcount . "\n";