Skip to content

Commit

Permalink
change prefix for decontaminated reads
Browse files Browse the repository at this point in the history
  • Loading branch information
KateSakharova committed May 20, 2024
1 parent ba1d0e7 commit e0db239
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 27 deletions.
1 change: 1 addition & 0 deletions conf/modules.config
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ process {
cpus = { check_max( 2 * task.attempt, 'cpus' ) }
memory = { check_max( 12.GB * task.attempt, 'memory' ) }
time = { check_max( 4.h * task.attempt, 'time' ) }
ext.prefix = "decontaminated"
}

withName: 'SPADES' {
Expand Down
2 changes: 1 addition & 1 deletion modules/ebi-metagenomics/samtools/bam2fq/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ process SAMTOOLS_BAM2FQ {

script:
def args = task.ext.args ?: ''
def prefix = task.ext.prefix ?: "${meta.id}"
def prefix = task.ext.prefix ? "decontaminated_${meta.id}": "${meta.id}"

if (split) {
"""
Expand Down
22 changes: 0 additions & 22 deletions modules/local/compress_pigz.nf

This file was deleted.

8 changes: 4 additions & 4 deletions workflows/miassembler.nf
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,10 @@ workflow MIASSEMBLER {
isMetatranscriptomic
)

FASTQC_AFTER (
READS_QC.out.qc_reads
)

/*
Single end reads // paired end reads distinction
We need to split single-end and paired-end reads.
Expand All @@ -134,10 +138,6 @@ workflow MIASSEMBLER {
print(qc_reads)
ch_versions = ch_versions.mix(READS_QC.out.versions)

FASTQC_AFTER (
READS_QC.out.qc_reads
)

/* Assembly */
/* -- Clarification --
At the moment, the pipeline only processes one set of reads at a time.
Expand Down

0 comments on commit e0db239

Please sign in to comment.