aquaskyline / Clairvoyante

Clairvoyante: a multi-task convolutional deep neural network for variant calling in Single Molecule Sequencing

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Applying full support for the IUPAC nucleotide code standard for better robustness?

yjx1217 opened this issue · comments

Hello,

I am got the following error when testing clairvoyante on my data. By examining where the error occurs, I guess this error could be solved by applying full support to the IUPAC nucleotide code standard? Thanks in advance!

Loading model ...
Traceback (most recent call last):
File "/home/jxyue/Projects/Varathon/build/conda_clairvoyante_env/bin/dataPrepScripts/ExtractVariantCandidates.py", line 312, in
main()
File "/home/jxyue/Projects/Varathon/build/conda_clairvoyante_env/bin/dataPrepScripts/ExtractVariantCandidates.py", line 308, in main
MakeCandidates(args)
File "/home/jxyue/Projects/Varathon/build/conda_clairvoyante_env/bin/dataPrepScripts/ExtractVariantCandidates.py", line 169, in MakeCandidates
pileup[pos][base] += 1
KeyError: 'Y'

Best,
Jia-Xing

@chaklim Fix to be included in Clairvoyante 2. The proposed solution is to convert any IUPAC code in the reference input to the first matching alphabetical base pair as recommended in the VCF 4.3 specification

Hi @aquaskyline ,

Thanks for the instant reply and information! Is there an expected release schedule for Clairvoyante 2 ?

Best,
Jia-Xing

Resolved in Clair.