Summarise ancient DNA pyDamage results per bin and add to bin summary table #963
Summarise ancient DNA pyDamage results per bin and add to bin summary table #963
Conversation
|
…with Zenodo (props to @dialvarezs for fix)
… errors with Zenodo (props to @dialvarezs for fix)" This reverts commit b59884f.
…ning-and-simplify-code' into merge-binqc-pydamage-2
prototaxites
left a comment
There was a problem hiding this comment.
With the caveat that I don't have the energy to look at the Python code right now... 🥲
This looks good in general, but my main concern is the issue you raise with --binning_map_mode. I don't understand why you would get different sets of BAM files on resume - that seems concerning to me as I would assume this should be deterministic?
Co-authored-by: Jim Downie <[email protected]>
I think this is to do with maybe a brittle implementation of support for co-binning that was added a while ago: mag/subworkflows/local/ancient_dna/main.nf Lines 20 to 21 in ccfb744 I suspect the order of the BAM files in that channel are not stable across resumes when in I don't have the time to look deeper/experiment with this now at all though, and I only noticed it because the default in the test profile was set to 'group' (aDNA people normally will just set with So it's something I Can come back to in the future if it becomes a big problem..., but otherwise I really need this functioanlity with the common aDNA usecase merged in 3 months ago 😅 |
dialvarezs
left a comment
There was a problem hiding this comment.
Looks perfect to me!
None of my comments is blocking.
Co-authored-by: Diego Alvarez S. <[email protected]>
To close #833
Supersedes Nextflow only version in #835 (which was having problems with data-flow consistency) with a python script only method.
Essentially:
Additional minor changes:
versions.ymlalongside the actual resultsmag.nfbased on language serverPR 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).