Skip to content
This repository has been archived by the owner on Apr 19, 2023. It is now read-only.

Commit

Permalink
Merge pull request #320 from vib-singlecell-nf/vsc_cellranger_profile
Browse files Browse the repository at this point in the history
Move cellranger container path to cellranger config
  • Loading branch information
cflerin authored Mar 22, 2021
2 parents 58ac25f + 0788654 commit c66b380
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 12 deletions.
13 changes: 5 additions & 8 deletions conf/vsc.config
Original file line number Diff line number Diff line change
@@ -1,14 +1,11 @@
params {
sc {
cellranger {
container = 'file:///staging/leuven/res_00001/software/vsn_containers/vibsinglecellnf-cellranger-5.0.1.img'
}
}
}

singularity {
enabled = true
autoMounts = true
runOptions = '--cleanenv -H $PWD -B /ddn1,/staging,/data,${VSC_SCRATCH}'
cacheDir = '/staging/leuven/res_00001/software/vsn_containers/'
}

vsc {
enabled = true
}

10 changes: 6 additions & 4 deletions nextflow.config
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ profiles {
vpcx {
includeConfig 'conf/vpcx.config'
}
vsc {
includeConfig 'conf/vsc.config'
}
min {
includeConfig 'conf/min.config'
}
Expand Down Expand Up @@ -479,10 +482,6 @@ profiles {
includeConfig 'conf/test__compute_resources.config'
}

vsc {
includeConfig 'conf/vsc.config'
}

}


Expand All @@ -505,4 +504,7 @@ dag {
min {
enabled = false
}
vsc {
enabled = false
}

10 changes: 10 additions & 0 deletions src/cellranger/conf/base.config
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,16 @@ params {
}
}

if(vsc && vsc.enabled) {
params {
sc {
cellranger {
container = 'file:///staging/leuven/res_00001/software/vsn_containers/vibsinglecellnf-cellranger-5.0.1.img'
}
}
}
}

// define computing resources via process labels
process {
withLabel: 'compute_resources__cellranger_mkfastq' {
Expand Down

0 comments on commit c66b380

Please sign in to comment.