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

Add Dockerfile #55

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

nathanweeks
Copy link

This PR suggests a Dockerfile for HybPiper. This riffs on what @joelnitta did in #10 (and essentially includes #53), and takes advantage of newer dependencies now available in Ubuntu 20.04 + installs R dependencies for gene_recovery_heatmap_ggplot.R (gene_recovery_heatmap.R was not included, as its dependency heatmap.plus appears to be unmaintained---though maybe it just achieved a state of perfection years ago...).

All scripts are installed in /usr/local/bin in the container image, and gene_recovery_heatmap_ggplot.R modified to accept command-line arguments.

docker2singularity can be used to generate a Singularity image for use on a multi-tenant HPC cluster. I've only tested the functionality exercised by run_tests.sh (and generated a heatmap using gene_recovery_heatmap_ggplot.R), so caveat emptor:

singularity exec --cleanenv hybpiper.sif ./run_tests.sh
...
singularity exec --cleanenv hybpiper.sif gene_recovery_heatmap_ggplot.R test_seq_lengths.txt

Ensure all python scripts executable & have shebang lines

Allow gene_recovery_heatmap_ggplot.R to use command-line arguments
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

Successfully merging this pull request may close these issues.

1 participant