75bea92d3554ea57e4ace4af908b074c01832e63 lrnassar Wed Oct 9 13:42:03 2024 -0700 Adding UTF language var for the cronjob. diff --git src/hg/utils/otto/clinGen/makeClinGenCspec.sh src/hg/utils/otto/clinGen/makeClinGenCspec.sh index 9b75e44..0a06037 100755 --- src/hg/utils/otto/clinGen/makeClinGenCspec.sh +++ src/hg/utils/otto/clinGen/makeClinGenCspec.sh @@ -1,17 +1,20 @@ #! /bin/bash +export LANG=en_US.UTF-8 +export LC_ALL=en_US.UTF-8 + cd /hive/data/outside/otto/clinGen/clinGenCspec wget -q -O svis.json https://cspec.genome.network/cspec/api/svis wget -q http://purl.obolibrary.org/obo/mondo.json wget -q -O geneToDisease.csv https://search.clinicalgenome.org/kb/gene-validity/download bigBedToBed /gbdb/hg38/hgnc/hgnc.bb hgnc.bed oldCountHg38=$(bigBedInfo clinGenCspecHg38.bb | grep -i "itemCount") oldCountHg19=$(bigBedInfo clinGenCspecHg19.bb | grep -i "itemCount") python3 - << END | sort -k1,1 -k2,2n > cspec.bed import json import re import sys