-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update Singularity version to Singularity/3.5.2-GCC-5.4.0-2.26, as pr…
…evious (Singularity/2.6.1-GCC-5.4.0-2.26) was erroring out on ```singularity: "docker://ewels/multiqc:dev"``` Also improved syntax message in ./install.sh
- Loading branch information
1 parent
3252f90
commit 8ebbe1d
Showing
2 changed files
with
46 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
#%Module1.0##################################################################### | ||
## | ||
## snakemakeslurm | ||
## | ||
## https://github.com/rusalkaguy/snakemake-slurm-module | ||
## | ||
################################################################################ | ||
set components [ file split [ module-info name ] ] | ||
set prog [ lindex $components 0 ] | ||
set snakemake-version [ lindex [ split [ lindex $components 1 ] - ] 0 ] | ||
set script_version [ lindex [ split [ lindex $components 1 ] - ] 1 ] | ||
set version ${snakemake-version}-${script_version} | ||
set modroot /share/apps/ngs-ccts/${prog}/${prog}-${version} | ||
set url https://github.com/rusalkaguy/snakemake-slurm-module | ||
|
||
proc ModulesHelp { } { | ||
global version modroot | ||
puts stderr "\tsnakemakeslurm - have snakemake submit jobs via slurm to cheaha" | ||
puts stderr "\n\tComponents $components\n" | ||
puts stderr "\n\tVersion $version\n" | ||
puts stderr "\n\tmodroot $modroot\n" | ||
} | ||
module-whatis "Loads snakemakeslurm environment with Anaconda and Singularity support." | ||
|
||
# load required modules | ||
# UAB-HPC old module naming convention | ||
# #module load rc/snakemake/${snakemake-version} | ||
module load snakemake/${snakemake-version}-foss-2018b-Python-3.6.6 | ||
# snakemake 4.8.0 doesn't work with Anaconda3/5.3.0 | ||
# snakemake 5.2.4 DOES work with Anaconda3/5.3.1 - | ||
module load Anaconda3/5.3.1 | ||
module load Singularity/3.5.2-GCC-5.4.0-2.26 | ||
# only one version at a time | ||
#conflict multiqc | ||
|
||
# | ||
# | ||
# Make the directories available | ||
prepend-path PATH $modroot/ | ||
#prepend-path MANPATH $modroot/share/man | ||
#prepend-path PYTHONPATH odroot/lib/python2.7/site-packages |