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

kallisto: config for in2p3, add /usr/bin to path

parent 5aaa2669
Branches
No related tags found
No related merge requests found
...@@ -3,7 +3,7 @@ profiles { ...@@ -3,7 +3,7 @@ profiles {
docker.temp = 'auto' docker.temp = 'auto'
docker.enabled = true docker.enabled = true
process { process {
withName: index_fasta { withNamek index_fasta {
container = "kallisto:0.44.0" container = "kallisto:0.44.0"
cpus = 4 cpus = 4
} }
...@@ -36,7 +36,7 @@ profiles { ...@@ -36,7 +36,7 @@ profiles {
ccin2p3 { ccin2p3 {
process{ process{
withName: index_fasta { withName: index_fasta {
beforeScript = "PATH=/sps/lbmc/common/nextflow/src/singularity_modules/kallisto/0.44.0/:$PATH" beforeScript = "PATH=/sps/lbmc/common/nextflow/src/singularity_modules/kallisto/0.44.0/:/usr/bin:$PATH"
scratch = true scratch = true
stageInMode = "copy" stageInMode = "copy"
stageOutMode = "rsync" stageOutMode = "rsync"
......
...@@ -10,7 +10,6 @@ Channel ...@@ -10,7 +10,6 @@ Channel
process index_fasta { process index_fasta {
tag "$fasta.baseName" tag "$fasta.baseName"
publishDir "results/mapping/index/", mode: 'copy' publishDir "results/mapping/index/", mode: 'copy'
echo true
input: input:
file fasta from fasta_file file fasta from fasta_file
...@@ -21,7 +20,6 @@ process index_fasta { ...@@ -21,7 +20,6 @@ process index_fasta {
script: script:
""" """
pwd
kallisto index -k 31 --make-unique -i ${fasta.baseName}.index ${fasta} \ kallisto index -k 31 --make-unique -i ${fasta.baseName}.index ${fasta} \
2> ${fasta.baseName}_kallisto_report.txt 2> ${fasta.baseName}_kallisto_report.txt
""" """
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment