Replacing SNP positions with IUPAC code in FASTA
0
1
Entering edit mode
9.1 years ago
hpapoli ▴ 140

Hello,

I have called SNPs from pooled data so my genotypes are in the form of a tetraploid or hexaploid such as 0/0/0/1. I want to replace the position of the SNPs with the IUPAC code in the fasta file. I wanted to use the GATK FastaAlternateReferenceMaker but it requires the genotypes to be diploid, how could I solve this problem?

Thanks in advance,

SNP fasta iupac • 2.7k views
ADD COMMENT
0
Entering edit mode

what's your input format ? how us teh file. Are all your variants real SNPs ? (no indel)

ADD REPLY
0
Entering edit mode

My input format is a typical vcf format, and a typical fasta format. However, after searching a lot, I have decided to write my own python script now as then I can use a simple tab separated file for my SNPs instead of the vcf format.

ADD REPLY
0
Entering edit mode

Oh, Yes, all variants are SNPs, no indels.

ADD REPLY

Login before adding your answer.

Traffic: 1552 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6