Skip to content

Commit

Permalink
Added pfr profile and params
Browse files Browse the repository at this point in the history
  • Loading branch information
GallVp committed Feb 28, 2024
1 parent 0d85347 commit 8aefa66
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 0 deletions.
Empty file added pfr/params.json
Empty file.
12 changes: 12 additions & 0 deletions pfr/profile.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
profiles {
pfr {
process {
executor = 'slurm'
}

apptainer {
envWhitelist = "APPTAINER_BINDPATH,APPTAINER_BIND"
cacheDir = "/workspace/assemblyqc/singularity"
}
}
}
24 changes: 24 additions & 0 deletions pfr_assemblyqc
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
#!/bin/bash -e

#SBATCH --job-name ASMQC
#SBATCH --time=7-00:00:00
#SBATCH --nodes=1
#SBATCH --ntasks=1
#SBATCH --cpus-per-task=1
#SBATCH --output pfr_assemblyqc.stdout
#SBATCH --error pfr_assemblyqc.stderr
#SBATCH --mem=4G

ml unload perl
ml apptainer/1.1
ml nextflow/23.04.4

export TMPDIR="/workspace/$USER/tmp"
export APPTAINER_BINDPATH="$APPTAINER_BINDPATH,$TMPDIR:$TMPDIR,$TMPDIR:/tmp"

nextflow \
main.nf \
-c pfr/profile.config \
-profile pfr,apptainer \
-resume \
--params-file pfr/params.json

0 comments on commit 8aefa66

Please sign in to comment.