RitchieLabIGH / IRFinder

MIT License
13 stars 10 forks source link

`minimap2` not found in singularity image #43

Closed Perugolate closed 1 week ago

Perugolate commented 1 week ago

when trying to use Long mode using the singularity image:

./IRFinder Long -t 8 -r REF/gencode/ -d subtest sub1.fastq

I get the following error:

minimap2 not found ( executable: minimap2 ). To use the RunMode Long, install it: https://github.com/lh3/minimap2

If I shell into the image, then minimap2 seems to exist:

singularity shell IRFinder
Apptainer> echo $PATH
/Utils/bin/:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
Apptainer> ls /Utils/bin/minimap2
/Utils/bin/minimap2
Perugolate commented 1 week ago

so the following works:

singularity exec -e ./IRFinder IRFinder Long -t 8 -r REF/gencode/ -d subtest05 sub1.fastq

whereas the following gets an error message:

./IRFinder Long -t 8 -r REF/gencode/ -d subtest06 sub1.fastq

minimap2 not found ( executable: minimap2 ). To use the RunMode Long, install it: https://github.com/lh3/minimap2

Other steps work for me without singularity exec -e ./IRFinder e.g. the following works:

./IRFinder BAM -l ...