FRED-2 / OptiType

Precision HLA typing from next-generation sequencing data

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Commands for Singularity Bootstrap of Docker Image

ilovesquishy opened this issue · comments

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.

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