Skip to content

Commit

Permalink
Fixed pipeline to work with template update
Browse files Browse the repository at this point in the history
  • Loading branch information
CarsonJM committed Feb 27, 2024
1 parent acd9658 commit 7086a7e
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 19 deletions.
4 changes: 2 additions & 2 deletions modules/local/metaphlan/sgbtogtdbprofile/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ process METAPHLAN_SGBTOGTDBPROFILE {

conda "${moduleDir}/environment.yml"
container "${ workflow.containerEngine == 'singularity' && !task.ext.singularity_pull_docker_container ?
'https://depot.galaxyproject.org/singularity/metaphlan:4.0.6--pyhca03a8a_0' :
'biocontainers/metaphlan:4.0.6--pyhca03a8a_0' }"
'https://depot.galaxyproject.org/singularity/metaphlan:4.1.0--pyhca03a8a_0' :
'biocontainers/metaphlan:4.1.0--pyhca03a8a_0' }"

input:
tuple val(meta), path(metaphlan_profile)
Expand Down
4 changes: 2 additions & 2 deletions modules/nf-core/metaphlan/makedb/main.nf

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions modules/nf-core/metaphlan/mergemetaphlantables/main.nf

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions modules/nf-core/metaphlan/metaphlan/main.nf

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion nextflow_schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
"type": "string",
"format": "file-path",
"exists": true,
"schema": "assets/schema_input.json",
"mimetype": "text/csv",
"pattern": "^\\S+\\.csv$",
"schema": "assets/schema_input.json",
Expand Down
17 changes: 7 additions & 10 deletions workflows/biobakerymgx/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -25,16 +25,16 @@ include { paramsSummaryMap } from 'plugin/nf-validation'
//
// MODULE: Installed directly from nf-core/modules
//
include { FASTQC } from '../modules/nf-core/fastqc/main'
include { FASTQC } from '../../modules/nf-core/fastqc/main'
include { CAT_FASTQ } from '../../modules/nf-core/cat/fastq/main'
include { MULTIQC } from '../modules/nf-core/multiqc/main'
include { MULTIQC } from '../../modules/nf-core/multiqc/main'

//
// SUBWORKFLOWS: Installed directory from nf-core/subworkflows
//
include { paramsSummaryMultiqc } from '../subworkflows/nf-core/utils_nfcore_pipeline'
include { softwareVersionsToYAML } from '../subworkflows/nf-core/utils_nfcore_pipeline'
include { methodsDescriptionText } from '../subworkflows/local/utils_nfcore_biobakerymgx_pipeline'
include { paramsSummaryMultiqc } from '../../subworkflows/nf-core/utils_nfcore_pipeline'
include { softwareVersionsToYAML } from '../../subworkflows/nf-core/utils_nfcore_pipeline'
include { methodsDescriptionText } from '../../subworkflows/local/utils_nfcore_biobakerymgx_pipeline'



Expand All @@ -45,9 +45,6 @@ include { methodsDescriptionText } from '../subworkflows/local/utils_nfcore_biob
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
*/

// Info required for completion email and summary
def multiqc_report = []

workflow BIOBAKERYMGX {

take:
Expand All @@ -63,7 +60,7 @@ workflow BIOBAKERYMGX {
-----------------------------------------------------------------------------------*/
if ( !params.skip_runmerging ) {

ch_reads_for_cat_branch = fastq_gz
ch_reads_for_cat_branch = ch_samplesheet
.map {
meta, reads ->
def meta_new = meta - meta.subMap('replicate')
Expand Down Expand Up @@ -91,7 +88,7 @@ workflow BIOBAKERYMGX {
ch_versions = ch_versions.mix(CAT_FASTQ.out.versions)

} else {
ch_reads_runmerged = fastq_gz
ch_reads_runmerged = ch_samplesheet
}

//
Expand Down

0 comments on commit 7086a7e

Please sign in to comment.