new file: cell2loc.py
[GalaxyCodeBases.git] / perl / etc / WoodyMiaoLin / Tiger / sort.pl
blobddbbdc65ade2a3ab4ff5d0a5b21ef49fa7bd4d42
1 #!/usr/bin/perl
2 use strict;
3 use warnings;
5 my %align;
6 while (<>) {
7 my @a = split /\t/;
8 $align{$a[1]}{$a[6]}{$a[8]} = $_;
11 foreach my $c (sort keys %align) {
12 foreach my $d (sort {$a <=> $b} keys %{$align{$c}}) {
13 foreach my $e (sort {$a <=> $b} keys %{$align{$c}{$d}}) {
14 print $align{$c}{$d}{$e};