-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AnnotSV Singularity on an HPC Error command not found
#184
Comments
Singularity is affected by your local environment, so it can be a bit finicky. Try using Beyond that, it seems like it might be trying to run the tcl file with bash. Can you post the Singularity definition file? It's usually at |
Thanks Tor for helping @yr542 |
How would I do that I can only tell you that I downloaded it? |
and the error continues. |
Ah, I see now. You're calling the configfile, which the image tries to interpret using singularity exec --cleanenv "$singularity_container" AnnotSV \
-SVinputFile "$file" \
-genomeBuild GRCh38 \
-hpo "HP:0001249" |
Attempt 1: Running the command you gave above When I did that I got this error Attempt 2: Adding the Attempt 3: Adding the But I get the error:
when the path definitely exists. |
Can you try to bind your
|
When I do this I get the following error repeatedly
For the script there are 2 variables that have been defined:
the script was modified according to your specifications and the modified version is placed below: Attempt 1: Following you suggestion
Attempt 2: Modifying the path fed to Below is only the singularity command modified in the same for loop # Run AnnotSV via Singularity with the base name as output prefix
singularity exec --bind /usr/local/share/AnnotSV/Annotations_Human \
--cleanenv "$singularity_container" AnnotSV -SVinputFile "$file" \
-genomeBuild GRCh38 \
-annotationsDir "$singularity_container" /usr/local/share/AnnotSV/Annotations_Human \
-hpo "HP:0001249" \
-outputFile "$output_file" However, it results in the same errors in the Attempt 3: Adding back the phenotype_to_genes path where phenotype_to_genes.txt has been zipped and renamed refGene.txt with the The for loop stayed the same except this section was modified shown below:
However, it resulted in yet again the same error. Attempt 4: Trying cleaning with the phenotype_to_genes.txt has been zipped and renamed refGene.txt again I only modified the following inside the for loop
And I got the following error when the file definitely exists:
It took the path to the directory I gave it and then tried to go to I do not believe I can use the singularity container path in the |
If your SIF file works fine,, Please let me know the working command and Please provide Singularity DEF file for it |
I got the singularity file for AnnotSV when I did this |
Oohh I See.. Biggest issue with Docker / Singularity when we pull,, there isnt any instructions on how to use its executables,, i also have had similar issues when i pull docker imager through singularity but then No idea how to use it |
Usually it goes with |
Hi can you try binding the directory with your input files and annotations directory to the container? This can be done with |
I do not believe this AnnotSV singularity works for HPO does anyone have a working example using this Singularity? |
I'm using it in a nextflow pipeline on an HPC cluster and it works perfectly for me... |
Could I have the code you used? As it does not seem to work for me? |
Nextflow arranges the execution of singularity containers internally, so I'm not sure it'll help you, but here is the code that does the execution of AnnotSV: https://github.com/CenterForMedicalGeneticsGhent/nf-cmgg-structural/blob/add-expansionhunter/modules/nf-core/annotsv/annotsv/main.nf |
Did anyone able to run above annotsv with singularity |
I couldn't get it to work. If anyone has a specific example of how AnnotSV works could they please post it? The Nextflow link to code is a bit complicated and I was just looking for code specific to AnnotSV. |
Sorry, I never evaluated AnnotSV via Singularity ;o( |
I'm not sure either why it's not working for everyone else. I didn't create the container myself (it's automatically generated via bioconda). Maybe you could ask more info on the bioconda gitter? |
I think this means that the AnnotSV does not work with Singularity? |
Have you tried converting the docker container to a singularity image? maybe this could work? |
I can only put a Singularity on the cluster. Is there a way to use the Github repository and then a phenotype to genes file to make HPO terms? |
I am trying to use AnnotSV on my Illumina Manta vcf outputs specifically the diploid vcfs. However, I cannot seem to make it work with a HPO in Singularity.
There are 2 input variables:
singularity_container
="/path/to/annotsv-3.3.4--py311hdfd78af_0.sif"input_dir
="path/to/Illumina_Manta_outputsThe code I used:
Yet I get the error:
but when I try to not define a path in the Singularity it tells me that it cannot find a refGene.txt. What do I do for it to get to work for my HPO. My HPO will change based on what is required.
The text was updated successfully, but these errors were encountered: