Skip to content
Snippets Groups Projects
Verified Commit 8b7e3616 authored by Laurent Modolo's avatar Laurent Modolo
Browse files

working config and daemon job for in2p3

parent e0b48dea
No related branches found
No related tags found
No related merge requests found
#! /usr/local/bin/bash -l
#####################################
# job script example with GE options
#####################################
#$ -q demon
#$ -l demon=1
#$ -P P_lbmc
#$ -N nf_pipe
#$ -o /sps/lbmc/lmodolo/logs/ # change to your username !
#$ -e /sps/lbmc/lmodolo/logs/ # change to your username !
#$ -r n # relaunch y/n
#$ -M laurent.modolo@ens-lyon.fr # change to your mail !
#$ -m be ## send an email when the job starts and ends
#$ -l os=cl7 ## choose OS
#$ -l sps=1 ## acces /sps directory
#####################################
#!/bin/sh
NF_VERSION=19.10
NF=/pbs/throng/lbmc/cl7/nextflow/${NF_VERSION}/nextflow
# change to your username
SCRATCH=/sps/lbmc/lmodolo/
# change to your project / pipeline !
PIPELINE=${SCRATCH}/nextflow/src/training_dataset.nf
# change to your project / pipeline !
CONFIG=${SCRATCH}/nextflow/src/training_dataset.config
#SBATCH --job-name=nextflow
${NF} ${PIPELINE} -c ${CONFIG} -profile ccin2p3 \
--fasta "${SCRATCH}/nextflow/data/tiny_dataset/fasta/tiny_v2.fasta" \
--fastq_single "${SCRATCH}/nextflow/data/tiny_dataset/fastq/tiny2_S.fastq.gz" \
--chromosome "X" --start 5305683 --stop 5333928 -resume \
-w "${SCRATCH}"
#SBATCH --ntasks=1
#SBATCH --output=results/nextflow_%j.log
#SBATCH --licenses=sps
####################################
# change to your path
SCRATCH=/sps/lbmc/lmodolo/nextflow
NXF_TEMP=/sps/lbmc/lmodolo/nextflow/tmp/
mkdir -p ${NXF_TEMP}
${SCRATCH}/nextflow run ${SCRATCH}/src/solution_RNASeq.nf -profile ccin2p3 \
--fastq "${SCRATCH}/data/tiny_dataset/fastq/*_R{1,2}.fastq" \
--fasta "${SCRATCH}/data/tiny_dataset/fasta/tiny_v2.fasta" \
--bed "${SCRATCH}/data/tiny_dataset/annot/tiny.bed" \
-ansi-log \
-w "${SCRATCH}/work/"
wait
......@@ -125,8 +125,8 @@ profiles {
}
ccin2p3 {
singularity.enabled = true
singularity.cacheDir = "$baseDir/.singularity_in2p3/"
singularity.runOptions = "--bind /pbs,/sps,/scratch"
singularity.cacheDir = "$baseDir/../bin/"
singularity.runOptions = "--bind /pbs,/sps,/scratch,/tmp"
process{
maxRetries = 3
withLabel: big_mem_mono_cpus {
......@@ -134,39 +134,40 @@ profiles {
stageInMode = "copy"
stageOutMode = "rsync"
executor = "slurm"
clusterOptions = "--partition=htc --licenses=sps"
clusterOptions = "--licenses=sps"
cpus = 1
memory = "8GB"
queue = "htc"
}
withLabel: big_mem_multi_cpus {
container = "lbmc/urqt:d62c1f8"
scratch = true
stageInMode = "copy"
stageOutMode = "rsync"
executor = "slurm"
clusterOptions = "--partition=htc --licenses=sps"
clusterOptions = "--licenses=sps"
cpus = 1
memory = "8GB"
queue = "huge"
queue = "htc"
}
withLabel: small_mem_mono_cpus {
scratch = true
stageInMode = "copy"
stageOutMode = "rsync"
executor = "slurm"
clusterOptions = "--partition=htc --licenses=sps"
clusterOptions = "--licenses=sps"
cpus = 1
memory = "8GB"
queue = "htc"
}
withLabel: small_mem_multi_cpus {
container = "lbmc/urqt:d62c1f8"
scratch = true
stageInMode = "copy"
stageOutMode = "rsync"
executor = "slurm"
clusterOptions = "--partition=htc --licenses=sps"
clusterOptions = "--licenses=sps"
cpus = 1
memory = "8GB"
queue = "htc"
}
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment