The point is that I would like to have a single sequence (for each individual) where heterozygous positions should be coded according to the IUPAC nucleotide ambiguity codes.
Input example (.ped)
AUT-DBA 1 0 0 0 -9 C C C C G C G G
AUT-DBA 2 0 0 0 -9 C C C C C A G G
Expected output (fasta code)
>AUT-DBA 1
CCSG
>AUT-DBA 2
CCMG