5 open I
, "<", "scaffold75_1458SNP.16.gt";
6 open O
, ">", "scaffold75_1458.16.inp";
10 my @id = split /\t/, $id;
17 my @b = split /\//, $a[$_];
26 print O
"$num_indi\n";
27 print O
"$num_loci\n";
28 print O
(join " ", "P", @pos), "\n";
29 print O
("S" x
$num_loci), "\n";
31 print O
$id[$_], "\n";
32 print O
$gt[$_][0], "\n";
33 print O
$gt[$_][1], "\n";