Lint a module
Run the nf-core modules lint
command to check modules in the current working directory (pipeline or nf-core/modules clone) against nf-core guidelines.
- Use the
--all
flag to run linting on all modules found. - Use
--dir <pipeline_dir>
to specify another directory than the current working directory. - Use the
--fix
flag to fix all possible linting errors:- Write the correct input and output channels and channel structure. This will try to reuse the information existing in your
meta.yml
, and only change the structure of the file if needed. Make sure to check that the added changes are correct and updatedescription
,pattern
andtype
values accordingly. - Add the missing ontology entries to the input and output entries in
meta.yml
. It will add the proper ontology entries based on the specifiedpattern
. Make sure to add any missing ontology URLs. - Add a
bio.tools
identifier for the tool.
- Write the correct input and output channels and channel structure. This will try to reuse the information existing in your