Port old test-data guide to new layout#4283
Open
jfy133 wants to merge 4 commits into
Open
Conversation
✅ Deploy Preview for nf-core-main-site ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
✅ Deploy Preview for nf-core-docs ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Contributor
|
As mentioned on Slack, it looks good to me! Cheers! |
mashehu
reviewed
Jul 10, 2026
Comment on lines
+102
to
+103
| 3. Upload to the dedicated pipeline branch in a suitable location. | ||
| - (Recommended) Use the GitHub website upload function. |
Contributor
There was a problem hiding this comment.
why the recommendation for using the web GUI?
Member
Author
There was a problem hiding this comment.
So you don't have to clone the repo 😅
christopher-hakkaart
approved these changes
Jul 12, 2026
christopher-hakkaart
left a comment
Member
There was a problem hiding this comment.
I've added some very low-level suggestions. Consider them optional. Otherwise I think it looks good.
| weight: 2 | ||
| --- | ||
|
|
||
| nf-core has a central repository on [nf-core/test-datasets](https://github.com/nf-core/test-datasets) containing small data files for testing of nf-core components and pipelines. |
Member
There was a problem hiding this comment.
Suggested change
| nf-core has a central repository on [nf-core/test-datasets](https://github.com/nf-core/test-datasets) containing small data files for testing of nf-core components and pipelines. | |
| nf-core maintains a central repository on [nf-core/test-datasets](https://github.com/nf-core/test-datasets), which contains small data files for testing nf-core components and pipelines. |
| For example, if you need to test a new bioinformatic short-read aligner that requires a genome file index, use an existing `genome.fasta` file on nf-core/test-datasets to generate the index, rather than using your own reference genome. | ||
|
|
||
| :::danger | ||
| Do not clone the nf-core/test-datasets repository: it is extremely large and will take a long time to download. |
Member
There was a problem hiding this comment.
Suggested change
| Do not clone the nf-core/test-datasets repository: it is extremely large and will take a long time to download. | |
| Do not clone the nf-core/test-datasets repository. It is extremely large and will take a long time to download. |
| Avoid adding test data of new organisms as far as possible, and reuse existing files. | ||
|
|
||
| SARS-CoV-2 and _Homo sapiens_ (Chr 21) are the best supported organisms and should be used where possible. | ||
| If a new organism is absolutely required for a tool, first propose the addition on the [#test-data](https://nfcore.slack.com/archives/C02L5UB4Y9G) Slack channel. |
Member
There was a problem hiding this comment.
Suggested change
| If a new organism is absolutely required for a tool, first propose the addition on the [#test-data](https://nfcore.slack.com/archives/C02L5UB4Y9G) Slack channel. | |
| If a new organism is absolutely required for a tool, propose the addition on the [#test-data](https://nfcore.slack.com/archives/C02L5UB4Y9G) Slack channel. |
| - Include as much information as possible that could allow reconstruction of the file (for example, original source accession numbers or URLs, tool name and versions used to generate). | ||
| 5. Open a pull request and request a review on the nf-core [#request-review](https://nfcore.slack.com/archives/CQY2U5QU9) Slack channel. | ||
|
|
||
| ## Related documentation |
Member
There was a problem hiding this comment.
Suggested change
| ## Related documentation | |
| ## Learn more |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
As reported on Slack by @pmoris , we are missing the old guide for nf-test datasets.
It was inadvertently dropped from the original porting as it was clustered in a big batch of files that we decided against porting for completeness reasons.
I have retrieved this specific file and tried to clean it up as far as possible to remove more 'specifications' like text and kept it strictly as a guide, including against the style guide.
I placed it in the existing 'testing' section because even if it's not necessarily nf-test related, it is intrinsically involved and I feel it would be the most likely place a user would look to find information bout it.
(Already LLM-assisted reviewed against style guide by Claude Haiku 4.5)
@netlify /docs/developing/testing/test-data