RabadanLab/arcasHLA

hla.p.json error

JiguuP opened this issue · 1 comments

When I installed arcasHLA through conda and ran the code, the following error occurred.

(JS) seokjune@workstation:~/JSP$ arcasHLA genotype -t 8 -o arcas_RE-P220-T --log log.arcas_RE-P220-T.txt /home/seokjune/JSP/RE-P002-T-3_1.fastq.gz /home/seokjune/JSP/RE-P002-T-3_2.fastq.gz [reference] Error: dat/IMGTHLA/hla.dat empty or corrupted.

After executing 'git lfs install', which was listed as a solution to a similar error, I tried again, but the following error occurred.

(JS) seokjune@workstation:~/JSP$ git lfs install Git LFS initialized. (JS) seokjune@workstation:~/JSP$ arcasHLA genotype -t 8 -o arcas_RE-P220-T --log log.arcas_RE-P220-T.txt /home/seokjune/JSP/RE-P002-T-3_1.fastq.gz /home/seokjune/JSP/RE-P002-T-3_2.fastq.gz Traceback (most recent call last): File "/home/seokjune/anaconda3/envs/JS/share/arcas-hla-0.5.0-1/scripts/genotype.py", line 707, in <module> with open(hla_json, 'r') as file: FileNotFoundError: [Errno 2] No such file or directory: '/home/seokjune/anaconda3/envs/JS/share/arcas-hla-0.5.0-1/scripts/../dat/ref/hla.p.json'

There was no hla.p.json in the subfolder, but the following files.

(JS) seokjune@workstation:~/anaconda3/envs/JS/share/arcas-hla-0.5.0-1/dat/ref$ ls allele_groups.json cDNA.json cDNA.single.json GRCh38.all.noHLA.fasta GRCh38.chr6.HLA.fasta GRCh38.chr6.noHLA.fasta hla.convert.json hla_transcripts.json

This seems to be linked to issue #97. After running arcasHLA reference --version 3.34.0, the issue goes away.