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

Add skip_clipping parameter to skip fastp or adapterremoval #361

Merged
merged 8 commits into from
Dec 16, 2022
Merged

Add skip_clipping parameter to skip fastp or adapterremoval #361

merged 8 commits into from
Dec 16, 2022

Conversation

prototaxites
Copy link
Contributor

Adds a parameter to skip read QC using either fastp or adapterremoval, to allow the user to jump in straight to assembly if they have pre-processed reads. Also adds a check so that if clipping is skipped, keep_phix is true, and no host fasta or genome is specified, FASTQC_TRIMMED does not run - have also fixed the multiqc call so it can run in this case.

I've added a new test profile (test_no_clipping.config), and have tested all combinations of skip_clipping, keep_phix and host_fasta. The other tests (test.config and test_host_rm.config) still operate as they should.

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/mag 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).

@github-actions
Copy link

github-actions bot commented Nov 30, 2022

nf-core lint overall result: Failed ❌

Posted for pipeline commit 53c9844

+| ✅ 148 tests passed       |+
#| ❔   1 tests were ignored |#
!| ❗   1 tests had warnings |!
-| ❌   7 tests failed       |-

❌ Test failures:

❗ Test warnings:

  • 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: lib/NfcoreTemplate.groovy

✅ Tests passed:

Run details

  • nf-core/tools version 2.7.1
  • Run at 2022-12-15 11:19:49

@jfy133 jfy133 self-requested a review December 1, 2022 08:30
@jfy133
Copy link
Member

jfy133 commented Dec 1, 2022

@nf-core-bot fix linting

Copy link
Member

@jfy133 jfy133 left a comment

Choose a reason for hiding this comment

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

Overall looks OK to me (one question about FASTQC_TRIMMEd but that's it)

workflows/mag.nf Show resolved Hide resolved
@prototaxites
Copy link
Contributor Author

@d4straub This one is now also failing because of linting (I wasn't sure what the etiquette around merging was!) - would it be possible to merge it also?

@d4straub
Copy link
Collaborator

After approval, the PR author may merge the PR, sometimes some comments are still open but we trust that this is fixed.
I'll merge it.

@d4straub d4straub merged commit c3a0ef3 into nf-core:dev Dec 16, 2022
@prototaxites prototaxites deleted the skip_qc branch December 16, 2022 10:38
@jfy133 jfy133 mentioned this pull request Feb 27, 2023
10 tasks
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.

4 participants