eda: look into the variant allele issue that caused Ajit's script to break

This commit is contained in:
2025-08-21 17:27:37 +02:00
parent dfe19fa611
commit 68ae6746e0
3 changed files with 122 additions and 0 deletions

13
cmds.sh Normal file
View File

@@ -0,0 +1,13 @@
# create the translation table after fixing the issue with the variant allele encoding
python /home/darren/Documents/2_repos/serenomica/pgx-engine/scripts/pharmvar_to_translation_table.py \
data/NAT2-6.2.15/GRCh38/NAT2.NC_000008.11.haplotypes.tsv \
"NAT2" \
"chr8"
# create the json (needed to change the saving location)
python /home/darren/Documents/2_repos/serenomica/pgx-engine/scripts/translation_to_json.py \
temp_NAT2_translation_table.tsv \
"NAT2" \
"chr8" \
"GRCh38" \
"NC_000008.11"