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

🔥🍏 Remove duplicate standard slurm profiles #195

Merged
merged 8 commits into from
Dec 2, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,19 @@
# Required
version: 2

build:
os: "ubuntu-20.04"
tools:
python: "3.9"

# Build documentation in the docs/ directory with Sphinx
sphinx:
configuration: docs/source/conf.py

# Optionally build your docs in additional formats such as PDF and ePub
formats: all

# install dependencies using requirements file
python:
install:
- requirements: docs/requirements.txt
3 changes: 3 additions & 0 deletions docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
sphinx==4.2.0
sphinx_rtd_theme==1.0.0
readthedocs-sphinx-search==0.1.1
2 changes: 1 addition & 1 deletion modules/local/diamond_blastp.nf
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ process DIAMOND_BLASTP {
tag "Aligning ORFS in ${meta.id} against ${diamond_database}"
label 'process_high'
// Old diamond manual suggested *NOT* running in parallel... so we are setting maxForks to 1 here.
// TODO: There appears to be features for multiprocessing availabe now
// TODO: There appears to be features for multiprocessing available now
// See: https://github.com/bbuchfink/diamond/wiki/6.-Distributed-computing
maxForks 1
publishDir "${params.interim_dir_internal}",
Expand Down
32 changes: 7 additions & 25 deletions nextflow.config
Original file line number Diff line number Diff line change
Expand Up @@ -128,34 +128,10 @@ try {
}



profiles {

standard {
// https://www.nextflow.io/docs/latest/executor.html#local
// simple profile that runs all processess locally

process.executor = "local"
}

slurm {
// https://www.nextflow.io/docs/latest/executor.html#slurm
// simple profile for running jobs on slurm

process.executor = "slurm"

// queue is the slurm partition to use.
// Set SLURM partition with queue directive.
process.queue = "queue"

}

}


profiles {
debug { process.beforeScript = 'echo $HOSTNAME' }
standard {
process.executer = "local"
docker.enabled = true
docker.userEmulation = true
singularity.enabled = false
Expand All @@ -164,12 +140,18 @@ profiles {
charliecloud.enabled = false
}
slurm {
process.executer = "slurm"
// NOTE: You can determine your slurm partition (e.g. process.queue) with the `sinfo` command
chasemc marked this conversation as resolved.
Show resolved Hide resolved
process.queue = "queue"
docker.enabled = true
docker.userEmulation = true
singularity.enabled = false
podman.enabled = false
shifter.enabled = false
charliecloud.enabled = false
executor {
queueSize = 8
}
}
conda {
params.enable_conda = true
Expand Down