nf-core-utils plugin

The nf-core-utils plugin provides utility functions used by nf-core pipelines.

Features

Building

To build the plugin:

make assemble

Testing with Nextflow

The plugin can be tested without a local Nextflow installation:

  1. Build and install the plugin to your local Nextflow installation: make install
  2. Run a pipeline with the plugin: nextflow run hello -plugins nf-core-utils@0.1.0

Package, Upload, and Publish

Following these step to package, upload and publish the plugin:

  1. In build.gradle make sure that:

    • version matches the desired release version,
    • github.repository matches the repository of the plugin,
    • github.indexUrl points to your fork of the plugins index repository.
  2. Create a file named $HOME/.gradle/gradle.properties, where $HOME is 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.
  3. Update the changelog.

  4. Build and publish the plugin to your GitHub repository:

    make release
  5. Create a pull request against the nextflow-io/plugins repository to make the plugin publicly accessible.

Downloads

---
config:
    xyChart:
        width: 900
        height: 600
    themeVariables:
        xyChart:
            titleColor: "#ff0000"
            plotColorPalette: "green"
---
xychart-beta
    title "Top 3 Downloads for nf-core-utils"    
    x-axis [0.1.0, 0.2.0, 0.3.0]
    y-axis "Downloads" 0 --> 188
    bar [, 39, 188]