9 print "perl $0 <In_file> <Out_File> <ChrID>\n";
13 open I
,'<',$ARGV[0] or die $!;
14 open O
,'>',$ARGV[1] or die $!;
17 print O
"#ChrID\tPos\t$t";
20 my ($Pos,$D)=split /\s+/,$_,2;
27 next if $cvg < @Dat * $minCOV;
28 ($cvg)=sort {$a<=>$b} values %cnt;
29 next if $cvg < @Dat * $minMAF;
30 print O
"$ARGV[2]\t$Pos\t$D\n"
35 ./fmt.pl ./p15/Chr01 Chr01
.15 Chr01
36 cat chrorder
| while read a
; do ./fmt.pl ./p15/$a $a.15 $a;done
&