5 open I
, "-|", "bcftools view tigers.bcgv.bcf";
10 my @line = split /\t/;
11 next if $line[7] =~ /^INDEL/;
12 next if $line[5] < 20;
13 my @JHHgt = split /:/, $line[9];
14 next if $JHHgt[4] < 20;
15 my ($Ja1, $Ja2) = split /\//, $JHHgt[0];
17 my @ANYgt = split /:/, $line[$_];
18 next if $ANYgt[4] < 20;
19 my ($Aa1, $Aa2) = split /\//, $ANYgt[0];
35 open O
, ">", "maternity.log";
37 print O
"#\tGZXJ03\tGZXJ05\tGZXJ26\tGZXJ27\tGZXJ28\tGZXJ29\tGZXJ30\tGZXJ33\tBHX011\tBHX019\tGZXJ04\tGZXJ06\tGZXJ31\tGZXJ32\tGZXJ36\tGZXJ37\tGZXJ38\n";
39 print O
join "\t", @isMom;
41 print O
join "\t", @noMom;