This is a test version of Biostars. For the public version, visit https://www.biostars.org.
What happens to heterozygous sites when you go from reference sequence to sequence modified by variants?

In a previous post, it was recommended to use either vcftools or FastaAlternateReferenceMaker if you have a reference sequence and a variant file, and you to get a new FASTA file.

However, with the 1000 genomes data, the data is phased. So at heterozygous sites, should the ALT allele be substituted or should the REF allele be left in the sequence?

Thanks in advance

sequence snp

1 answer

FastaAlternateReferenceMaker's --useIUPAC option will place the IUPAC code wherever there is heterozygous state.

What happens if you don't put that option, what is the default behaviour?

Log in to answer this question.