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

Dev - Adding FastQC to the pipeline, with integration into MultiQC #121

Merged
merged 7 commits into from
Jul 5, 2022
Merged

Conversation

heylf
Copy link
Contributor

@heylf heylf commented Jun 29, 2022

PR checklist

  • This comment contains a description of changes (with reason).
  • If you've fixed a bug or added code that should be tested, add tests!
    • If you've added a new tool - have you followed the pipeline conventions in the contribution docs
    • If necessary, also make a PR on the nf-core/scrnaseq branch on the nf-core/test-datasets repository.
  • Make sure your code lints (nf-core lint).
  • Ensure the test suite passes (nextflow run . -profile test,docker --outdir <OUTDIR>).
  • Usage Documentation in docs/usage.md is updated.
  • Output Documentation in docs/output.md is updated.
  • CHANGELOG.md is updated.
  • README.md is updated (including new tool citations and authors/contributors).

Copy link
Member

@grst grst left a comment

Choose a reason for hiding this comment

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

Looks great! Just two small code questions...

Comment on lines 21 to 24
fastqc_zip = Channel.empty()
fastqc_html = Channel.empty()
fastqc_multiqc = Channel.empty()
fastqc_version = Channel.empty()
Copy link
Member

Choose a reason for hiding this comment

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

Is this necessary?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

no, some are obsolete, which came from old code.

ch_multiqc_fastqc = Channel.empty()
if (!params.skip_fastqc){
FASTQC_CHECK ( ch_fastq )
ch_versions = ch_versions.mix(FASTQC_CHECK.out.fastqc_version.first().ifEmpty(null))
Copy link
Member

Choose a reason for hiding this comment

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

is .first().ifEmpty(null) required?

We currently don't have it anywhere else for the versions and there should always be a version file emitted...

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I have removed it

@grst grst linked an issue Jun 29, 2022 that may be closed by this pull request
subworkflows/local/fastqc.nf Outdated Show resolved Hide resolved
@github-actions
Copy link

github-actions bot commented Jun 29, 2022

nf-core lint overall result: Passed ✅ ⚠️

Posted for pipeline commit 893ae78

+| ✅ 148 tests passed       |+
!| ❗   1 tests had warnings |!

❗ Test warnings:

  • readme - README did not have a Nextflow minimum version badge.

✅ Tests passed:

Run details

  • nf-core/tools version 2.4.1
  • Run at 2022-06-29 19:23:37

@apeltzer
Copy link
Member

@nf-core-bot fix linting

@apeltzer apeltzer merged commit abca10c into nf-core:dev Jul 5, 2022
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.

Add FastQC
4 participants