- nf-core tools:
module load cellgen/nf-core/3.3.2
This will show all all the modules available in the repository.
nf-core modules -g https://github.com/cellgeni/nf-modules.git list remoteThis will show all the subworkflows available in the repository.
nf-core subworkflows -g https://github.com/cellgeni/nf-modules.git list remoteThis will install a subworkflow, along with the used modules, from the repository.
so, you shouldn't manually install modules from the repository unless is not used in a subworkflow.
nf-core subworkflows -g https://github.com/cellgeni/nf-modules.git install <subworkflow_name>If the module is not used in a subworkflow, you can install it directly from the repository.
nf-core modules -g https://github.com/cellgeni/nf-modules.git install <module_name>This will show all the modules installed in your local repository.
nf-core modules -g https://github.com/cellgeni/nf-modules.git list localIf you want to remove a module, you can do it with the following command:
nf-core modules -g https://github.com/cellgeni/nf-modules.git remove <module_name>This will show all the subworkflows installed in your local repository.
nf-core subworkflows -g https://github.com/cellgeni/nf-modules.git list localIf you want to remove a subworkflow, you can do it with the following command:
nf-core subworkflows -g https://github.com/cellgeni/nf-modules.git remove <subworkflow_name>Modules can declare what they do with an optional top-level operations list in meta.yml.
Values are operation ids from the bioimage-task-vocabulary (op:<id>), listed in the order the module performs them.
keywords:
- segmentation
operations:
- "op:crop" # read the tile given by x_min/x_max/y_min/y_max
- "op:detect" # Image -> instance Label
- "op:vectorize" # instance Label -> outlines (WKT)- Use only ids defined in
vocabulary/operations.yaml; the module catalog warns about unknown ids and lets you filter modules by operation. - List every operation the module performs on the data, including secondary ones such as
op:cropfor a tile given byx_min/x_max/y_min/y_max. Do not list incidental steps such as writingversions.ymlor staging files. - List operations that run by default or that a declared module input switches on (for example flatfield maps passed as an input). Do not list steps that only a tool flag in
ext.argsenables. - Leave the field out when no operation fits. That gap is worth raising in the vocabulary repository.
- The field is not part of the nf-core meta schema. That schema does not set
additionalProperties: false, so the extra key passes schema validation.nf-core modules lint --fixkeeps unknown keys but moves them to the end ofmeta.yml.