Merge pull request #71 from drpatelh/versions

Update picard version command and default container
This commit is contained in:
Harshil Patel 2020-10-20 10:24:02 +01:00 committed by GitHub
commit 86dca6bfc2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 13 additions and 13 deletions

View file

@ -11,11 +11,11 @@ process PICARD_COLLECTMULTIPLEMETRICS {
mode: params.publish_dir_mode,
saveAs: { filename -> saveFiles(filename:filename, options:params.options, publish_dir:getSoftwareName(task.process), publish_id:meta.id) }
conda (params.enable_conda ? "bioconda::picard=2.23.6" : null)
conda (params.enable_conda ? "bioconda::picard=2.23.8" : null)
if (workflow.containerEngine == 'singularity' && !params.pull_docker_container) {
container "https://depot.galaxyproject.org/singularity/picard:2.23.6--0"
container "https://depot.galaxyproject.org/singularity/picard:2.23.8--0"
} else {
container "quay.io/biocontainers/picard:2.23.6--0"
container "quay.io/biocontainers/picard:2.23.8--0"
}
input:
@ -45,6 +45,6 @@ process PICARD_COLLECTMULTIPLEMETRICS {
OUTPUT=${prefix}.CollectMultipleMetrics \\
REFERENCE_SEQUENCE=$fasta
echo \$(picard CollectMultipleMetrics --version 2>&1) | awk -F' ' '{print \$NF}' > ${software}.version.txt
echo \$(picard CollectMultipleMetrics --version 2>&1) | grep -o 'Version.*' | cut -f2- -d: > ${software}.version.txt
"""
}

View file

@ -11,11 +11,11 @@ process PICARD_MARKDUPLICATES {
mode: params.publish_dir_mode,
saveAs: { filename -> saveFiles(filename:filename, options:params.options, publish_dir:getSoftwareName(task.process), publish_id:meta.id) }
conda (params.enable_conda ? "bioconda::picard=2.23.6" : null)
conda (params.enable_conda ? "bioconda::picard=2.23.8" : null)
if (workflow.containerEngine == 'singularity' && !params.pull_docker_container) {
container "https://depot.galaxyproject.org/singularity/picard:2.23.6--0"
container "https://depot.galaxyproject.org/singularity/picard:2.23.8--0"
} else {
container "quay.io/biocontainers/picard:2.23.6--0"
container "quay.io/biocontainers/picard:2.23.8--0"
}
input:
@ -44,6 +44,6 @@ process PICARD_MARKDUPLICATES {
OUTPUT=${prefix}.bam \\
METRICS_FILE=${prefix}.MarkDuplicates.metrics.txt
echo \$(picard MarkDuplicates --version 2>&1) | awk -F' ' '{print \$NF}' > ${software}.version.txt
echo \$(picard MarkDuplicates --version 2>&1) | grep -o 'Version:.*' | cut -f2- -d: > ${software}.version.txt
"""
}

View file

@ -11,11 +11,11 @@ process PICARD_MERGESAMFILES {
mode: params.publish_dir_mode,
saveAs: { filename -> saveFiles(filename:filename, options:params.options, publish_dir:getSoftwareName(task.process), publish_id:meta.id) }
conda (params.enable_conda ? "bioconda::picard=2.23.6" : null)
conda (params.enable_conda ? "bioconda::picard=2.23.8" : null)
if (workflow.containerEngine == 'singularity' && !params.pull_docker_container) {
container "https://depot.galaxyproject.org/singularity/picard:2.23.6--0"
container "https://depot.galaxyproject.org/singularity/picard:2.23.8--0"
} else {
container "quay.io/biocontainers/picard:2.23.6--0"
container "quay.io/biocontainers/picard:2.23.8--0"
}
input:
@ -43,12 +43,12 @@ process PICARD_MERGESAMFILES {
$options.args \\
${'INPUT='+bam_files.join(' INPUT=')} \\
OUTPUT=${prefix}.bam
echo \$(picard MergeSamFiles --version 2>&1) | awk -F' ' '{print \$NF}' > ${software}.version.txt
echo \$(picard MergeSamFiles --version 2>&1) | grep -o 'Version:.*' | cut -f2- -d: > ${software}.version.txt
"""
} else {
"""
ln -s ${bam_files[0]} ${prefix}.bam
echo \$(picard MergeSamFiles --version 2>&1) | awk -F' ' '{print \$NF}' > ${software}.version.txt
echo \$(picard MergeSamFiles --version 2>&1) | grep -o 'Version:.*' | cut -f2- -d: > ${software}.version.txt
"""
}
}