Add singularity usage to docs
See original GitHub issueGiven that academic HPCs do not have root privileges it is not possible to run docker and one needs to use singularity. I think it would helpful to your user-base if you added a section on singularity to either the deepvariant-quick-start.md
or README.md
.
I had never used containers before today so the following would have been very helpful for me getting your tool up-and-running quicker:
Download an existing container from Docker Hub
singularity build deepvariant.simg docker://google/deepvariant
Run Deep Variant with Singularity in one command
singularity -s exec -B /usr/lib/locale/:/usr/lib/locale/ \
deepvariant.simg \
/opt/deepvariant/bin/run_deepvariant \
--model_type=WGS \
--ref=${INPUT_DIR}/ucsc.hg19.chr20.unittest.fasta \
--reads=${INPUT_DIR}/NA12878_S1.chr20.10_10p1mb.bam \
--regions "chr20:10,000,000-10,010,000" \
--output_vcf=output.vcf.gz \
--output_gvcf=output.g.vcf.gz
Respectfully, Matthew
Issue Analytics
- State:
- Created 3 years ago
- Comments:6
Top Results From Across the Web
Quick Start — Singularity container 3.0 documentation
Singularity's command line interface allows you to build and interact with containers transparently. You can run programs inside a container as if they...
Read more >Singularity container - Read the Docs
A High Level View of Singularity ... The Singularity Usage Workflow ... Install a specific release · Install the development branch · Remove...
Read more >Singularity containers — Nextflow 21.10.6 documentation
Singularity is able to use existing Docker images, and pull from Docker ... For example you can add the following lines in the...
Read more >R – Packages with Singularity - FASRC DOCS
To run a R file using the Singularity container, you can use the command ... you can add your software installation in the...
Read more >Singularity - CC Doc
Should you wish to use Singularity on your own computer, ... e.g., you need to add --docker-login after the Singularity build or pull ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@moldach Actually, I think I might know the problem. Does your OUTPUT_DIR exist?
I suggest you add a line below:
to first ensure the directory is created.
Hi @moldach somehow your logs above have a lot of spaces in the middle, making it hard to read.
It seems like the last step was looking for
/scratch/moldach/bin/quickstart-output/output.vcf.gz
but couldn’t find it.I’ll walk through the steps again to see if I can reproduce your error, but meanwhile, can you try:
instead of
And see if it works for you? Thanks.