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

Commands for Singularity Bootstrap of Docker Image #114

Open
ilovesquishy opened this issue Aug 27, 2020 · 1 comment
Open

Commands for Singularity Bootstrap of Docker Image #114

ilovesquishy opened this issue Aug 27, 2020 · 1 comment

Comments

@ilovesquishy
Copy link

ilovesquishy commented Aug 27, 2020

Hello!
I'm trying to run the docker image via singularity bootstrap, since the HPC does not provide root access for docker. What would the command equivalent for -v, -t, and -i, -o in the Docker commands be, for Singularity?

singularity build optitype.simg docker://fred2/optitype

Trying
singularity exec -B path1:/data -B path2:/output optitype_fred2.simg -i /data:/bam.name -d -o /output/
Gives the error that -i is not a command for exec.

@jayon-lihm
Copy link

jayon-lihm commented Jan 22, 2021

Hi I had the same problem, and I recently figured it is needed to type the python script name to invoke Optitype as below:

singularity exec --bind $final_output_path:/data $opti_image OptiTypePipeline.py -i /data/sample_1_fished.fastq /data/sample_2_fished.fastq -d -v -o /data

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