-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add documentation for running without Internet access #389
Conversation
This PR is against the
|
|
Sorry I forgot something. Hold on for the next commit please. Edit: I've amended the first commit and pushed this. |
docs/usage.md
Outdated
Here is an example command to download pipeline version 1.1.0 with singularity images: | ||
|
||
``` | ||
nf-core download \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When I run that command with the latest version of nf-core
(v2.9), I get:
No such option: --container (Possible options: --container-cache-index, --container-library, │
│ --container-system)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry about that. Seems they have changed the CLI since I downloaded nf-core tools
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would just refer to the general docs on the website
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok, makes sense. I will remove the example.
docs/usage.md
Outdated
id '[email protected]' | ||
} | ||
``` | ||
This should go in your Nexflow confgiguration file, specified with `-c <YOURCONFIG>` when running the pipeline. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should go in your Nexflow confgiguration file, specified with `-c <YOURCONFIG>` when running the pipeline. | |
This should go in your Nextflow configuration file, specified with `-c <YOURCONFIG>` when running the pipeline. |
docs/usage.md
Outdated
``` | ||
For running offline, you of course have to make all the reference data available locally, and specify `--fasta`, etc., see [above](#reference-files-and-parameters). | ||
|
||
Contrary to the paragraph about Nextflow on the nf-core tools page, it is not possible to use the "-all" packaged version of Nextflow. The online version of nextflow is necessary to support the nextflow plugins used for this pipeline. Download instead the file called just `nextflow`. Nextflow will download its dependencies when it is run. Additionally, you need to download the nf-validation plugin explicitly: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure which homepage and packages you are referring to there. Perhaps you mean https://nf-co.re/tools ?
I didn't find any "paragraph about Nextflow" on https://nf-co.re/tools
EDIT: Perhaps you're referring to https://nf-co.re/docs/usage/offline#nextflow ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've added another link, hope it makes sense like that
Co-authored-by: Ramprasad Neethiraj <[email protected]>
Sorry about all these problems, and thanks for the suggestions. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice work, @fa2k! Thanks for adding this!
LGTM! 🚀
This change adds a section to usage.md to describe running offline, including how to get nf-validation working. #387
I have run nf-core lint and there aren't any issues with usage.md.
PR checklist
nf-core lint
).nextflow run . -profile test,docker --outdir <OUTDIR>
).nextflow run . -profile test_one_sample,docker --outdir <OUTDIR>
).docs/usage.md
is updated.docs/output.md
is updated.CHANGELOG.md
is updated.README.md
is updated (including new tool citations and authors/contributors).