nf-core / eager

A fully reproducible and state-of-the-art ancient DNA analysis pipeline
https://nf-co.re/eager
MIT License
141 stars 80 forks source link

DSL2: Sex determination output sometimes listed on Sample, sometimes on library level #837

Open stschiff opened 2 years ago

stschiff commented 2 years ago

In Eager's multiqc-output, where the results from SexDetERRmine are listed, varies.

In cases where there are multiple libraries for a sample, the output is listed at the sample level (because it correctly analyses both libraries jointly). But when there is only a single library for a sample, the output is listed at the Library level.

This makes machine-processing of output files harder, and I think there is no good reason not always listing Sex-Determination at the Sample level.

jfy133 commented 2 years ago

After discussion with @TCLamnidis, this would not be fully trivial due to the merging logic required by a lot of other people.

We decided this would be easier to implement during refactoring of the pipeline into DSL2 so will do that then.