Hi! I generated an nf-core module for a tool we ar...
# modules
k
Hi! I generated an nf-core module for a tool we are using in our pipeline (https://nf-co.re/tumourevo/dev/). Regarding the test data, all of it is tool-specific. I used the
test-datasets/data
from
tumourevo
to generate those tool-specific files (e.g.,
.tsv
,
.rds
). So far, I’ve tested the module locally with this data, and it has passed all tests. Could you please advise on the suitable place to publish these specific test files within the
test-datasets/modules
repository?
j
If they are very specific to that particular module (looks it) it would go unde
delete_me
in a tool specific directory - don't worry about the name
🫣 1
k
Should I create a separate directory for each module, or would it be better to create a single pipeline-specific directory that contains tool-specific files for all the modules we plan to publish on
nf-core
?
j
We do per tool, not per module. Test data for a particular pipeline must go on the dedicated pipeline branch - I don't recommend mixing module test data with pipeline test data for stability (so it's fine to duplicate it necessary). Just remember that the module test data does not need to make biological sense - the tool just needs to run without erroring. It's more important to have the data as small as possible do the test is as fast as possible.