Skip to content

Add Dockerfile - #55

Open
nathanweeks wants to merge 1 commit into
mossmatters:masterfrom
harvardinformatics:docker
Open

Add Dockerfile#55
nathanweeks wants to merge 1 commit into
mossmatters:masterfrom
harvardinformatics:docker

Conversation

@nathanweeks

Copy link
Copy Markdown

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