Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fgbio tmpdir modification #1890

Merged
merged 14 commits into from
Jul 15, 2022
Merged
Show file tree
Hide file tree
Changes from 12 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions modules/fgbio/callmolecularconsensusreads/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ process FGBIO_CALLMOLECULARCONSENSUSREADS {
def prefix = task.ext.prefix ?: "${meta.id}"
"""
fgbio \\
--tmp-dir=. \\
CallMolecularConsensusReads \\
-i $bam \\
$args \\
Expand Down
3 changes: 1 addition & 2 deletions modules/fgbio/fastqtobam/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,9 @@ process FGBIO_FASTQTOBAM {
def args = task.ext.args ?: ''
def prefix = task.ext.prefix ?: "${meta.id}"
"""
mkdir tmp

fgbio \\
--tmp-dir=${PWD}/tmp \\
--tmp-dir=. \\
FastqToBam \\
-i $reads \\
-o "${prefix}_umi_converted.bam" \\
Expand Down
3 changes: 1 addition & 2 deletions modules/fgbio/groupreadsbyumi/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,9 @@ process FGBIO_GROUPREADSBYUMI {
def prefix = task.ext.prefix ?: "${meta.id}"

"""
mkdir tmp

fgbio \\
--tmp-dir=${PWD}/tmp \\
--tmp-dir=. \\
GroupReadsByUmi \\
-s $strategy \\
$args \\
Expand Down
7 changes: 4 additions & 3 deletions modules/fgbio/sortbam/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ process FGBIO_SORTBAM {
tag "$meta.id"
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 ?
'https://depot.galaxyproject.org/singularity/fgbio:1.3.0--0' :
'quay.io/biocontainers/fgbio:1.3.0--0' }"
'https://depot.galaxyproject.org/singularity/fgbio:2.0.2--0' :
'quay.io/biocontainers/fgbio:2.0.2--0' }"
WackerO marked this conversation as resolved.
Show resolved Hide resolved

input:
tuple val(meta), path(bam)
Expand All @@ -22,6 +22,7 @@ process FGBIO_SORTBAM {
def prefix = task.ext.prefix ?: "${meta.id}"
"""
fgbio \\
--tmp-dir=. \\
SortBam \\
-i $bam \\
$args \\
Expand Down