Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@fa2k
Copy link
Contributor

@fa2k fa2k commented May 6, 2024

This PR solves a problem (#544 ), that not all alleles at a multiallelic indel site get a CADD score. The issue is that all indels aren't selected by bcftools view .... --types indels even though they are indels. Only the first indel at a position is selected by bcftools view and therefore scored. The PR includes the "other" variant type in the selection of variants for CADD. It doesn't seem to include a large number of additional variants, so I don't think it will slow down the pipeline significantly.

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!
    (Not possible to test CADD due to the huge database size)
  • 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/raredisease branch on the nf-core/test-datasets repository.
  • Make sure your code lints (nf-core lint).
    There are warnings & errors, but they seem unrelated.
  • Ensure the test suite passes (nextflow run . -profile test,docker --outdir <OUTDIR>).
    CADD is disabled in these tests. I've run a test on a bigger dataset.
  • Ensure the test suite passes (nextflow run . -profile test_one_sample,docker --outdir <OUTDIR>).
    Fails in GENMOD, seems unrelated.
  • Check for unexpected warnings in debug mode (nextflow run . -profile debug,test,docker --outdir <OUTDIR>).
  • Usage Documentation in docs/usage.md is updated.
  • Output Documentation in docs/output.md is updated.
  • CHANGELOG.md is updated.
    (Will be updated after I get the pull request link)
  • README.md is updated (including new tool citations and authors/contributors).

@github-actions
Copy link

github-actions bot commented May 6, 2024

nf-core lint overall result: Passed ✅ ⚠️

Posted for pipeline commit 9465bc8

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

❗ Test warnings:

  • pipeline_todos - TODO string in awsfulltest.yml: You can customise AWS full pipeline tests as required

❔ Tests ignored:

  • files_exist - File is ignored: conf/modules.config
  • files_unchanged - File ignored due to lint config: .github/CONTRIBUTING.md
  • files_unchanged - File ignored due to lint config: .github/PULL_REQUEST_TEMPLATE.md
  • files_unchanged - File ignored due to lint config: assets/nf-core-raredisease_logo_light.png
  • files_unchanged - File ignored due to lint config: docs/images/nf-core-raredisease_logo_light.png
  • files_unchanged - File ignored due to lint config: docs/images/nf-core-raredisease_logo_dark.png
  • modules_config - modules_config

✅ Tests passed:

Run details

  • nf-core/tools version 2.14.1
  • Run at 2024-05-14 15:13:15

@fa2k fa2k marked this pull request as ready for review May 6, 2024 17:50
@ramprasadn
Copy link
Collaborator

Could you sync your changes with the latest dev @fa2k ? Hopefully, that will fix the lint error.

@fa2k
Copy link
Contributor Author

fa2k commented May 14, 2024

@ramprasadn This seems to have worked :)

Copy link
Collaborator

@ramprasadn ramprasadn left a comment

Choose a reason for hiding this comment

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

LGTM!

@fa2k fa2k merged commit fe5d362 into nf-core:dev May 14, 2024
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.

2 participants