Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix #961 #963

Merged
merged 2 commits into from
Mar 17, 2023
Merged

Fix #961 #963

merged 2 commits into from
Mar 17, 2023

Conversation

drpatelh
Copy link
Member

Closes #961

Copy link
Member

@maxulysse maxulysse left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I feel like the NfcoreTemplate.groovy lib is getting more and more specific to rnaseq and less TEMPLATy, should we move things out? and keep this one file only for TEMPLATE stuff?

@github-actions
Copy link

github-actions bot commented Mar 17, 2023

nf-core lint overall result: Passed ✅ ⚠️

Posted for pipeline commit 6c63436

+| ✅ 153 tests passed       |+
#| ❔   3 tests were ignored |#
!| ❗   2 tests had warnings |!

❗ Test warnings:

  • nextflow_config - Config manifest.version should end in dev: '3.11.0'
  • pipeline_todos - TODO string in methods_description_template.yml: #Update the HTML below to your prefered methods description, e.g. add publication citation for this pipeline

❔ Tests ignored:

  • files_unchanged - File ignored due to lint config: assets/email_template.html
  • files_unchanged - File ignored due to lint config: assets/email_template.txt
  • files_unchanged - File ignored due to lint config: lib/NfcoreTemplate.groovy

✅ Tests passed:

Run details

  • nf-core/tools version 2.7.2
  • Run at 2023-03-17 13:25:24

@drpatelh drpatelh merged commit eba7275 into nf-core:dev Mar 17, 2023
def samp_aln = ''
for (samp in fail_percent_mapped) {
samp_aln += " ${samp.value}%: ${samp.key}\n"
if (fail_mapped_count > 0 || fail_trimmed_count > 0 || fail_strand_count > 0) {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Samples that fail strandedness check are not skipped, they are still processed but a warning is printed in the multiqc report. For example a run with all 6 samples with the wrong strandedness specified in the sampelsheet, the below output is printed to terminal:

-[nf-core/rnaseq] Pipeline completed successfully with skipped sampl(es)- -[nf-core/rnaseq] Please check MultiQC report: 6/6 samples failed strandedness check.-

Can this be changed to only report 'skipped samp(les)' for samples that fail map or trim count and not strandedness. The message that samples failed strandedness check is sufficient.

A more helpful long-term solution would be to run a QC and strand check BEFORE the whole rnaseq run with alignment and counting is performed. This is more consistent with what researchers want in real life.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants