Conversation
|
|
I realised the reason why the test didn't work as expected is because I Forgot to supply a reference genome in the test confrig, so it tried to download instead 🤦♂️. I've requested a small test dataset on the hostile reop in the meantime (bede/hostile#70), but also can try again but supplying the small reference genome we use for host removal explicitly and let it be built on the fly, rather than testing download |
|
As requested by James I've added a new mitochondrial index to Hostile's storage bucket to facilitate testing requested here |
|
Started adding tests thanks to @bede ! I need to clean up the code logic a bit, in particular work out what validation to do (reference genome vs index name etc) |
|
FYI I've renamed the human mitochondrial hostile (and deacon indexes) to |
|
Just waiting for @bede to address bede/hostile#71 and then this is ready for review! |
Sorted I think, please reopen if not :-) |
sofstam
left a comment
There was a problem hiding this comment.
A few comments and would be nice to update to the latest hostile modules.
| custom_adapters = params.longread_qc_adapterlist ? file(params.longread_qc_adapterlist, checkIfExists: true) : [] | ||
|
|
||
| if (params.hostremoval_reference) { | ||
| if (params.shortread_hostremoval_tool == 'bowtie2' || params.longread_hostremoval_tool == 'bowtie2') { |
There was a problem hiding this comment.
Do you mean minimap2 for the long read?
There was a problem hiding this comment.
In case helpful, while Hostile does support using Minimap2 for short reads and Bowtie2 for long reads, this is not recommended, and the CLI defaults steer users away from doing this. If this PR is not doing so already, I strongly suggest setting minimap2 as the aligner for long reads and bowtie2 for short reads, stopping users from making bad choices.
There was a problem hiding this comment.
params.longread_hostremoval_tool == 'bowtie2'
I am referring to this statement
There was a problem hiding this comment.
Oops, I think that might be a copy paste error!
There was a problem hiding this comment.
Indeed the longread_hostremoval_tool parameter does not support bowtie2 at all:
taxprofiler/nextflow_schema.json
Line 367 in c2ce5c9
There was a problem hiding this comment.
We apply samtools stats for minimap2. Shall we do the same for hostile?
There was a problem hiding this comment.
Same here for the samtools stats
|
Warning Newer version of the nf-core template is available. Your pipeline is using an old version of the nf-core template: 3.5.2. For more documentation on how to update your pipeline, please see the nf-core documentation and Synchronisation documentation. |
Transferred from #646
TODO:
PR checklist
nf-core pipelines lint).nextflow run . -profile test,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).