Open fabienkst opened 2 years ago
@fabienkst Not sure why. But when I search this issue online, it seems that there is an issue with conda. The solution in https://github.com/conda/conda/issues/10361#issuecomment-731085866 works for some people.
Hello again !
Thank you @liuqianhn for your answer. I followed the instructions with the link that you provided, and it works now.
Now, I have another question, but regarding the usage of RepeatHMM.
When I use the BAMinput way, one of the required parameters is obviously the hg file. However, it seems that on my computer, it says that there is no pa file:
python bin/repeatHMM.py BAMinput --Onebamfile /Volumes/data/MinION/DPNNI/DPNNI_2022/FRAXA/Famille_704/CAS9_704-DIA1_202110291700/Longshot_WH_704-DIA1/704-DIA1.phased.bam --repeatName FMR1 --hgfile ../hg19.fa
('No pa file ', '/Users/fabien/miniconda3/envs/repeathmmenv/lib/python2.7/site-packages/RepeatHMM/reference_sts//hg38/hg38.predefined.pa')
As you can see on this code chunk, it states that there is no pa file for hg38, even though I ask to use the hg19 file.
Is it an issue with my installation, or something else ?
Furthermore, when I try to find the pa file, I can't find it with the mentionned path:
'/Users/fabien/miniconda3/envs/repeathmmenv/lib/python2.7/site-packages/RepeatHMM/reference_sts//hg38/hg38.predefined.pa'
Instead, I find it here:
/Users/fabien/tools/RepeatHMM/bin/reference_sts/hg38/hg38.predefined.pa
I wonder if it's normal ?
@fabienkst I am glad that the instructions can solve the issue. Thank you for update.
Regarding PA file, there is a default setting (--hg
) for the default pa file. But if you specify your own repeat information using --UserDefinedRepeat
, this has no effect on the results. To avoid this issue, you can use --Patternfile /Users/fabien/tools/RepeatHMM/bin/reference_sts/hg38/hg38.predefined.pa
or --Patternfile /Users/fabien/tools/RepeatHMM/bin/reference_sts/hg19/hg19.predefined.pa
(please make sure hg19.predefined.pa exists).
Please note that there will be issues ONLY IF you use the predefined repeats in pa file.
Hello !
I have some issues installing the RepeatHMM script. At first I had trouble creating the conda environment. When I first tried, it stated that multiple packages couldn't be found:
Then I tried bypassing these packages by first creating the conda env without them, and adding them afterwards It worked fine until I tried to run the py file (python bin/repeatHMM.py). Now, it states this error:
If anyone has an idea on how to fix this, that would be really helpful :)