Closed cwarden45 closed 11 months ago
I believe that I found the issue is that I should install HISAT-genotype within my home directory (or another location where permissions will not be an issue).
While the location was not exactly the same, I believe that is consistent with the installation instructions here.
This is the revised command that ran without error (and was consistent with my results with other methods):
export PATH=/opt/samtools:/opt/hisat2-2.2.1:$PATH
export PYTHONPATH="$PYTHONPATH:/home/cwarden/Ref/hisat-genotype/hisatgenotype_modules"
python3 /home/cwarden/Ref/hisat-genotype/hisatgenotype --base hla --locus-list A,B,C,DRB1,DQA1,DQB1 -1 $R1 -2 $R2 -p $THREADS --out-dir $OUTDIR
Hi,
I am trying to test running hisat-genotype with some of my Illumina Whole Genome Seuquencing data.
I slightly modified the setup script (described here), and I am currently using the following command:
However, I am receiving an error message related to
PermissionError: [Errno 13] Permission denied: '/opt/hisat-genotype/indicies/hla.locus'
. I have attached the full log output:2023-08-05_hisat-genotype.log
I found two other tickets that I believe mention this file. For #11, I think the creation of the files is different than expected, and I am not if that means that I am misunderstanding something about how the program is being run.
For #15, it looks like this file should exist in the same folder as the _genotypegenome reference sequence.
I have downloaded some HLA files, but they are located within
/opt/hisat-genotype/indicies/hisatgenotype_db/HLA
(on my file system). There is also not ahla.locus
file on that location.Instead, these are the contents that I have with my installation:
So, these are my questions:
1) If this is an additional reference file that should be prepared before running the method, can you please provide me instructions on how to create this file (and I can potentially change the access to the file once created)?
2) If this is supposed to be an output file, then is there a reason why it is not being created within what I specify with
--out-dir $OUTDIR
? The Sequencing.com_HISAT-genotype folder is being created, and I don't want to create output files for a particular sample within /opt.I see that there is a genotype_genome.locus file, which could be more consistent with 1). However, I have not used this particular method before.
Thank you very much!
Sincerely, Charles