The nf-core-utils plugin provides utility functions used by nf-core pipelines.
To build the plugin:
make assembleThe plugin can be tested without a local Nextflow installation:
- Build and install the plugin to your local Nextflow installation:
make install - Run a pipeline with the plugin:
nextflow run hello -plugins [email protected]
Following these step to package, upload and publish the plugin:
-
In
build.gradlemake sure that:versionmatches the desired release version,github.repositorymatches the repository of the plugin,github.indexUrlpoints to your fork of the plugins index repository.
-
Create a file named
$HOME/.gradle/gradle.properties, where$HOMEis your home directory. Add the following properties:github_username: The GitHub username granting access to the plugin repository.github_access_token: The GitHub access token required to upload and commit changes to the plugin repository.github_commit_email: The email address associated with your GitHub account.
-
Update the changelog.
-
Build and publish the plugin to your GitHub repository:
make release
-
Create a pull request against the nextflow-io/plugins repository to make the plugin publicly accessible.