
Hi Alex,
Structure files are encoded with the following dictionary (from the source code):
nuc_map['A'] = "1";
nuc_map['C'] = "2";
nuc_map['G'] = "3";
nuc_map['T'] = "4";
julian
From:
stacks...@googlegroups.com <stacks...@googlegroups.com> on behalf of Alex Sanchez <sany...@gmail.com>
Date: Monday, July 11, 2022 at 3:55 PM
To: Stacks <stacks...@googlegroups.com>
Subject: [stacks] VCF to structure exportation
Hello everyone,
I am currently working in SNP data pre-processing and I design for exporting vcf files in a structure format. I am using stacks v2.59 to validate the program, but the translation from the base (ACGT) to numbers (1,2,3,4) is not clear.
I concluded that stacks translate bases to numbers using the next dictionary
A:1, T:2, G:3, C:4
However, I find this situation
