Using nf-core resources outside nf-core
While we highly recommend and promote contributing to existing nf-core pipelines, in some cases this may not be possible or appropriate. In this case we hope that it will be helpful to use parts of nf-core best practices for your own non-nf-core pipeline. This tutorial describes how to use nf-core code without making official nf-core pipelines.
Acknowledging nf-core
If you use any form of nf-core code or infrastructure, we kindly ask that you acknowledge the nf-core initiative by adding the following markdown to your README.md
and pipeline documentation.
Removing nf-core only branding
Most of the following suggestions refer to when you have started your pipeline using the nf-core template.
General
-
Replace all references to the pipeline name that include the
nf-core/
suffix.WarningIf you still wish to use the
nf-core tools
linting functionality, this may result in a lot of linting failures. You can create a.nf-core.yml
file that allows you to ignore or skip certain lint tests. You can find more information on how to do this here. One example is thepipeline_name_conventions
README
To ensure users do not get confused, we suggest removing the following components of the main pipeline README
:
-
Remove (or replace) the nf-core logo (see below)
-
Slack badge for help messages.
-
Replace all references of the https://nf-co.re website to the location of your own documentation
-
Remove reference to the nf-core Slack workspace under `Contributions and Support
-
Replace the
Citations
section with the following markdown:
Optional:
- Reference to nf-core/configs in
Quick Start
- Note in many cases it is still reasonable to use these configs for non-nf-core pipelines as they typically only modify generic Nextflow options
docs/
- Replace the nf-core logo under
docs/images
with your own one.- You will also have to change the filename/path at the top the main repository README
docs/usage.md
: remove reference to documentation being viewable on the nf-co.re websitedocs/usage.md
: remove reference to the nf-core Slack workspace
Optional:
- Reference to nf-core/configs in
-profile
- Note in many cases it is still reasonable to use these configs for non-nf-core pipelines as they typically only modify generic Nextflow options
.github/
PULL_REQUEST_TEMPLATE.md
: Remove reference to the nf-core/tests-datasets repositoryCONTRIBUTING.md
: remove references to the nf-core Slack workspaceworkflows/
: remove nf-core specific GitHub actions YAMLspush_dockerhub*
ci.yml
: rename to the name of your pipeline rather thannf-core CI tests
ISSUE_TEMPLATE/
Remove references to nf-core website in all templates and config files
Optional:
CONTRIBUTING.md
: remove references to the nf-core/tools linting testsworkflows/
: remove the nf-core linting tests under (Note: you can alternatively keep linting and configure to ignore certain tests)linting.yml
linting_comment.yml
workflows/
: remove the AWS test GitHub action workflows