cidgoh / nf-ncov-voc

A Nextflow wrapped workflow for generating the mutation profiles of SARS-CoV-2 genomes (Variants of Concern and Variants of Interest). Workflow is developed in collaboration with COVID-MVP (https://github.com/cidgoh/COVID-MVP) which can be used to visualize the mutation profiles and functional annotations.
MIT License
5 stars 5 forks source link

Solve code-stopping HGVS naming bug #154

Closed miseminger closed 7 months ago

miseminger commented 7 months ago

Issue was with incorrect use of apply().

Code should run as is (unless fillna("n/a") for nt_name and aa_name has broken something downstream I haven't anticipated). Delins nt-level names still need to be parsed into HGVS (I'll work on this after Oc/Or tomorrow); these and any other unrecognized names will be called "n/a" in the GVF for now.

The HGVS name translations for HV.1.6.annotated.vcf are captured in this Google Sheet, to be reviewed again in the morning.