Skip to content

Create profiles #27

@genericdata

Description

@genericdata

Within nextflow.confg, we'll create profiles. In order to do so, we'll have to remove mention of module, conda, python, etc. in main.nf. The env will be defined in each profile.

For example, here's the multiqc process in hpc-modules and singularity profiles.

profiles {

    hpc-modules {
        process {
            withName: 'multiqc' {
                module = params.multiqc_module
            }
        }
    }

    singularity {
        singularity.enabled = true

        process {
            withName: 'multiqc' {
                container = 'docker://multiqc/multiqc:v1.31'
            }
        }
    }
}

This will make the nextflow.config long, but we can also separate the config into multiple configs I believe.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions