pipeline.nextflow
pipeline.nextflow
Run Nextflow workflows in local and HPC environments.
- init(output, pipeline_name=‘pipeline’, **kwargs) Initialize the launch directory by copying the system default config files.
- run(nextfile_path=None, nextflow_args=None, mode=“local”, pipeline_name=None, debug=False, hpc_options={}) Run a Nextflow workflow.
Functions
Name | Description |
---|---|
init | Initialize the launch directory by copying the system default config files |
run | Run a Nextflow workflow |
init
='pipeline') pipeline.nextflow.init(output, repo_base, pipeline_name
Initialize the launch directory by copying the system default config files
run
pipeline.nextflow.run(
nextfile_path,='local',
mode=False,
force_all=None,
pipeline_name=None,
nextflow_args=False,
debug=get_hpc(),
hpc )
Run a Nextflow workflow
Parameters
Name | Type | Description | Default |
---|---|---|---|
nextfile_path | str | Path to the Nextflow file. | required |
nextflow_args | list | Additional Nextflow arguments. Defaults to an empty list. | None |
mode | str | Execution mode. Defaults to “local”. | 'local' |
Raises
Name | Type | Description |
---|---|---|
ValueError | If mode is ‘slurm’ but no HPC environment was detected. |