mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2024-12-22 11:08:17 +00:00
Fgbio tmpdir modification (#1890)
* Updated container versions for fgbio groupreadsbyumi and callmolecularconsensusreads * Corrected fgbio call container, trying to fix fgbio group tests * Removed incorrect line * Changed tmp-dir to . * Update modules/fgbio/groupreadsbyumi/main.nf Co-authored-by: FriederikeHanssen <Friederike.hanssen@qbic.uni-tuebingen.de> * Update modules/fgbio/fastqtobam/main.nf Co-authored-by: FriederikeHanssen <Friederike.hanssen@qbic.uni-tuebingen.de> * Added callmol and sortbam * fixed typo in callmol container Co-authored-by: FriederikeHanssen <Friederike.hanssen@qbic.uni-tuebingen.de>
This commit is contained in:
parent
1368164eb5
commit
6720d88f4e
4 changed files with 7 additions and 7 deletions
|
@ -22,6 +22,7 @@ process FGBIO_CALLMOLECULARCONSENSUSREADS {
|
||||||
def prefix = task.ext.prefix ?: "${meta.id}"
|
def prefix = task.ext.prefix ?: "${meta.id}"
|
||||||
"""
|
"""
|
||||||
fgbio \\
|
fgbio \\
|
||||||
|
--tmp-dir=. \\
|
||||||
CallMolecularConsensusReads \\
|
CallMolecularConsensusReads \\
|
||||||
-i $bam \\
|
-i $bam \\
|
||||||
$args \\
|
$args \\
|
||||||
|
|
|
@ -22,10 +22,9 @@ process FGBIO_FASTQTOBAM {
|
||||||
def args = task.ext.args ?: ''
|
def args = task.ext.args ?: ''
|
||||||
def prefix = task.ext.prefix ?: "${meta.id}"
|
def prefix = task.ext.prefix ?: "${meta.id}"
|
||||||
"""
|
"""
|
||||||
mkdir tmp
|
|
||||||
|
|
||||||
fgbio \\
|
fgbio \\
|
||||||
--tmp-dir=${PWD}/tmp \\
|
--tmp-dir=. \\
|
||||||
FastqToBam \\
|
FastqToBam \\
|
||||||
-i $reads \\
|
-i $reads \\
|
||||||
-o "${prefix}_umi_converted.bam" \\
|
-o "${prefix}_umi_converted.bam" \\
|
||||||
|
|
|
@ -24,10 +24,9 @@ process FGBIO_GROUPREADSBYUMI {
|
||||||
def prefix = task.ext.prefix ?: "${meta.id}"
|
def prefix = task.ext.prefix ?: "${meta.id}"
|
||||||
|
|
||||||
"""
|
"""
|
||||||
mkdir tmp
|
|
||||||
|
|
||||||
fgbio \\
|
fgbio \\
|
||||||
--tmp-dir=${PWD}/tmp \\
|
--tmp-dir=. \\
|
||||||
GroupReadsByUmi \\
|
GroupReadsByUmi \\
|
||||||
-s $strategy \\
|
-s $strategy \\
|
||||||
$args \\
|
$args \\
|
||||||
|
|
|
@ -2,10 +2,10 @@ process FGBIO_SORTBAM {
|
||||||
tag "$meta.id"
|
tag "$meta.id"
|
||||||
label 'process_medium'
|
label 'process_medium'
|
||||||
|
|
||||||
conda (params.enable_conda ? "bioconda::fgbio=1.3.0" : null)
|
conda (params.enable_conda ? "bioconda::fgbio=2.0.2" : null)
|
||||||
container "${ workflow.containerEngine == 'singularity' && !task.ext.singularity_pull_docker_container ?
|
container "${ workflow.containerEngine == 'singularity' && !task.ext.singularity_pull_docker_container ?
|
||||||
'https://depot.galaxyproject.org/singularity/fgbio:1.3.0--0' :
|
'https://depot.galaxyproject.org/singularity/fgbio:2.0.2--hdfd78af_0' :
|
||||||
'quay.io/biocontainers/fgbio:1.3.0--0' }"
|
'quay.io/biocontainers/fgbio:2.0.2--hdfd78af_0' }"
|
||||||
|
|
||||||
input:
|
input:
|
||||||
tuple val(meta), path(bam)
|
tuple val(meta), path(bam)
|
||||||
|
@ -22,6 +22,7 @@ process FGBIO_SORTBAM {
|
||||||
def prefix = task.ext.prefix ?: "${meta.id}"
|
def prefix = task.ext.prefix ?: "${meta.id}"
|
||||||
"""
|
"""
|
||||||
fgbio \\
|
fgbio \\
|
||||||
|
--tmp-dir=. \\
|
||||||
SortBam \\
|
SortBam \\
|
||||||
-i $bam \\
|
-i $bam \\
|
||||||
$args \\
|
$args \\
|
||||||
|
|
Loading…
Reference in a new issue