Update saltshaker reports#856
Conversation
|
fellen31
left a comment
There was a problem hiding this comment.
Nice work! And I think good to have all the HTML generation in one process.
Since you are writing code that groups together one or more samples into one process, I would really like to encourage you to add a test beforehand (preferably in a separate PR) to CALL_SV_MT with multiple samples so you can be confident that your changes work not only with one sample. If not a test with real data, then at least a stub test.
…nto saltshaker_reports
…nto saltshaker_reports
…nto saltshaker_reports
Co-authored-by: Peter Pruisscher <57712924+peterpru@users.noreply.github.com>
fellen31
left a comment
There was a problem hiding this comment.
Since you are writing code that groups together one or more samples into one process, I would really like to encourage you to add a test beforehand (preferably in a separate PR) to
CALL_SV_MTwith multiple samples so you can be confident that your changes work not only with one sample. If not a test with real data, then at least a stub test.
Nice with new tests, would it be possible for you to add it in a separate PR to make it easier to see that it didn't work before, and that your new changes now work?
- use updated saltshaker modules, which allows saltshaker to run even with empty input, so no logic is required after running mitosalt.
- add customer ID to samples' saltshaker classification reports (previously they had no identifier at all, and customer ID is preferred by customers over sample ID).
- display individual reports as tabs in the final html (previously were just printed one after the other).
- remove find/concatenate module, previously used to concatenate sample reports.
As an exercise, which of these could have been added in separate PRs to simplify the reviewing and the complexity of the code changes? Tests in one PR? Saltshaker module updates in one? Customer ID in one?
Also wonder if this PR should be made towards dev or master?
PR checklist
nf-core pipelines lint).nextflow run . -profile test,docker --outdir <OUTDIR>).nextflow run . -profile test_singleton,docker --outdir <OUTDIR>).nextflow run . -profile debug,test,docker --outdir <OUTDIR>).docs/usage.mdis updated.docs/output.mdis updated.CHANGELOG.mdis updated.README.mdis updated (including new tool citations and authors/contributors).