Closed softminus closed 1 year ago
Oh interesting, the 23andme data I have doesn't have any single letter genotypes. I put the check there just as a sanity check. Does skipping if a single letter genotype is found sound good?
I believe this is solved now.
from https://github.com/snpeek/snpeek.github.io/blob/main/src/index.ts#L303-L310
Having the
isNucleotide
check after the length check causes total failure (no results reported, "Invalid genotype" error in the JS console), I believe due to lines that look like this in 23andme data:It's possible that reordering the checks still causes issues since it would still cause an error with the single-letter genotypes, of which there are some, at least in my V5 23andme file.
I was able to get past this by removing the
if (genotype.length !== 2)
check in the minified JS.For reference, the header of the 23andme file looks like:
and the file name is
genome_[redacted]_[redacted]_v5_Full_20230505152752.txt