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

Bowtie2 local to global alignment for ancient DNA mode for BOWTIE2_ASSEMBLY_ALIGN #345

Merged
merged 2 commits into from
Oct 19, 2022

Conversation

maxibor
Copy link
Member

@maxibor maxibor commented Oct 18, 2022

After some testing, I realized that the local alignemnt mode of bowtie2 in the ancient mode is posing problem as it soft-trim the ends of the reads, thus preventing the damage detection.
Going to global alignment mode solves this issue.

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!
  • Make sure your code lints (nf-core lint).
  • Ensure the test suite passes (nextflow run . -profile test,docker --outdir <OUTDIR>).
  • CHANGELOG.md is updated.

@github-actions
Copy link

github-actions bot commented Oct 18, 2022

nf-core lint overall result: Passed ✅ ⚠️

Posted for pipeline commit 099a502

+| ✅ 156 tests passed       |+
#| ❔   1 tests were ignored |#
!| ❗   1 tests had warnings |!

❗ 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.6
  • Run at 2022-10-18 21:17:37

@maxibor
Copy link
Member Author

maxibor commented Oct 18, 2022

With local alignment mode --very-sensitive-local (bad, soft-clipping removes damage on reads ends)
image

With global alignment mode --very-sensitive (good, the typical ancient DNA damage pattern is still observable)
image

@maxibor maxibor requested a review from jfy133 October 18, 2022 21:19
@maxibor maxibor requested a review from d4straub October 19, 2022 09:25
Copy link
Collaborator

@d4straub d4straub left a comment

Choose a reason for hiding this comment

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

LGTM

@jfy133 jfy133 merged commit 00cccfe into nf-core:dev Oct 19, 2022
@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.

3 participants