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 bismark --ignore and --ignore_3prime options #311

Closed
wants to merge 3 commits into from

Conversation

helenxl
Copy link

@helenxl helenxl commented May 25, 2023

  1. Bismark methylation extractor has four flags to ignore bases. This PR adds two (--ignore and --ignore_3prime) that were missing.
  2. --fasta flag is ignored when bismark aligner is used. This PR makes --fasta as a not required flag when params.aligner is bismark.

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/methylseq 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

This comment was marked as resolved.

@helenxl helenxl changed the base branch from master to dev May 25, 2023 21:56
@helenxl

This comment was marked as resolved.

@helenxl helenxl changed the title Plumb bismark options Add bismark --ignore and --ignore_3prime options May 25, 2023
@helenxl
Copy link
Author

helenxl commented May 26, 2023

@ewels Does this generally look good? How do I trigger a rerun of the "nf-core branch protection" check?
Thanks!

meta.single_end ? '' : (params.ignore_r2 > 0 ? "--ignore_r2 ${params.ignore_r2}" : ""),
meta.single_end ? '' : (params.ignore_3prime_r2 > 0 ? "--ignore_r2 ${params.ignore_3prime_r2}": "")
meta.single_end ? '' : (params.ignore_3prime_r2 > 0 ? "--ignore_3prime_r2 ${params.ignore_3prime_r2}": "")
Copy link
Member

Choose a reason for hiding this comment

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

Oops, this was a bug? 😰

Copy link
Contributor

Choose a reason for hiding this comment

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

looks like it

Copy link
Contributor

Choose a reason for hiding this comment

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

i think #299 is linked to this

nextflow_schema.json Outdated Show resolved Hide resolved
@sateeshperi sateeshperi requested a review from ewels May 30, 2023 20:03
@sateeshperi
Copy link
Contributor

@helenxl i believe its currently your github token permissions that are failing the tests but, I have a fix for this in #315

you can either update your github token permissions to write for pull_requests or I can roll these changes of yours into that maintenance PR if you like. let me know. looking forward to getting this merged

@sateeshperi
Copy link
Contributor

hi @helenxl I have rolled in your changes into this PR . Thanks for finding the bug and additions. I have updated bismark tests too post the update. kindly review the PR and we can close this one after.

@helenxl
Copy link
Author

helenxl commented Jun 1, 2023

@sateeshperi Thanks! Your PR looks great. I will close this now.

@helenxl helenxl closed this Jun 1, 2023
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.

3 participants