Skip to content
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

singularity - Error in value #161

Open
cathalgking opened this issue Feb 1, 2024 · 4 comments
Open

singularity - Error in value #161

cathalgking opened this issue Feb 1, 2024 · 4 comments

Comments

@cathalgking
Copy link

I successfully pulled the numbat container with singularity instead of Docker (our HPC only has singularity) with the following:

singularity pull docker://pkharchenkolab/numbat-rbase:main

That created a .sif file which contains all the neccessary files such as Eagle_v2.4.1, 1000G_hg38.zip etc.

When I try to run the pre-processing script (pileup_and_phase.R) I am met with an Error

Error in value[[3L]](cond) : Pileup failed
Calls: tryCatch -> tryCatchList -> tryCatchOne -> <Anonymous>
Execution halted

I am running this with

singularity exec numbat-rbase_main.sif Rscript /numbat/inst/bin/pileup_and_phase.R \
...

The output to the screen starts with:

Using genome version: hg38
Running pileup
[I::main] start time: 2024-02-01 10:57:51
[W::check_args] Max depth set to maximum value (2147483647)
[W::check_args] Max pileup set to maximum value (2147483647)
[I::main] global settings after checking:
	num of input files = 1
...

What could be causing this issue?
Thanks

@teng-gao
Copy link
Collaborator

teng-gao commented Feb 8, 2024

Hi, we haven't tested the container with singularity .. maybe attach the full output message on the screen?

@cathalgking
Copy link
Author

cathalgking commented Feb 8, 2024

@teng-gao
I believe singularity can operate on a Docker image in the same way. When I run some initial checks on the container it seems to contain all the necessary packages and data. The full output to the screen is shown below, when I try to prepare the allele data by running the pileup_and_phase.R numbat script.
Screenshot 2024-02-09 at 9 13 55 am

@cathalgking
Copy link
Author

Hi @teng-gao, just following up on this. Have you had any chance to take a look at this error? Thanks

@teng-gao
Copy link
Collaborator

Looks like the container doesn't have access to the SNP file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants