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

Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
4cb85c7
update vcf2cytosure input logic
ramprasadn Apr 22, 2025
d3f43ef
Update date in CHANGELOG.md
ramprasadn Apr 24, 2025
29e48af
concatenate calls
ramprasadn Apr 29, 2025
91ce5e4
update ci
ramprasadn Apr 29, 2025
d354c05
Update CHANGELOG.md
ramprasadn Apr 29, 2025
aff6910
Template update for nf-core/tools version 3.2.1
nf-core-bot Apr 30, 2025
eab8ca7
Merge remote-tracking branch 'origin/nf-core-template-merge-3.2.1' in…
ramprasadn May 5, 2025
938330d
Merge branch 'patch' of github.com:nf-core/raredisease into patch
ramprasadn May 5, 2025
35358f8
review suggestion
ramprasadn May 5, 2025
221b125
Merge branch 'concat_mt_genome' of github.com:nf-core/raredisease int…
ramprasadn May 5, 2025
290a162
Merge branch 'patch' into concat_mt_genome
ramprasadn May 5, 2025
ffab51c
Merge pull request #699 from nf-core/concat_mt_genome
ramprasadn May 5, 2025
76f155a
lint
ramprasadn May 5, 2025
b60aab2
update version
ramprasadn May 5, 2025
a516f0f
update link
ramprasadn May 5, 2025
2ed8a9e
add verifybamid
ramprasadn May 5, 2025
d4055b2
update module with stub
ramprasadn May 6, 2025
4300637
update metromaps
ramprasadn May 7, 2025
b03d134
update docs & add module to multiqc report
ramprasadn May 7, 2025
bbbbf6e
updatae changelog
ramprasadn May 7, 2025
a6f08a6
review suggestions
ramprasadn May 7, 2025
11b3d73
fix lint
ramprasadn May 7, 2025
793fe48
update parameter name
ramprasadn May 8, 2025
cb97ec0
add citations
ramprasadn May 8, 2025
0ca26c1
Merge pull request #701 from nf-core/verifybamid2
ramprasadn May 8, 2025
537e71e
add mitochondria-mode arg to filtermutect2
ramprasadn May 8, 2025
b39add1
Update postprocess_MT_calls.config
ramprasadn May 8, 2025
58be010
change prefix for cram files
ramprasadn May 9, 2025
44a1449
update login in cytosure swf
ramprasadn May 18, 2025
608a2e6
update date
ramprasadn May 22, 2025
d76e82b
Merge branch 'patch' of github.com:nf-core/raredisease into bumpversion
ramprasadn May 23, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
41 changes: 10 additions & 31 deletions .github/workflows/awsfulltest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,44 +4,23 @@ name: nf-core AWS full size tests
# It runs the -profile 'test_full' on AWS batch

on:
pull_request:
branches:
- main
- master
workflow_dispatch:
pull_request_review:
types: [submitted]
release:
types: [published]

jobs:
run-platform:
name: Run AWS full tests
# run only if the PR is approved by at least 2 reviewers and against the master branch or manually triggered
if: github.repository == 'nf-core/raredisease' && github.event.review.state == 'approved' && github.event.pull_request.base.ref == 'master' || github.event_name == 'workflow_dispatch'
# run only if the PR is approved by at least 2 reviewers and against the master/main branch or manually triggered
if: github.repository == 'nf-core/raredisease' && github.event.review.state == 'approved' && (github.event.pull_request.base.ref == 'master' || github.event.pull_request.base.ref == 'main') || github.event_name == 'workflow_dispatch'
runs-on: ubuntu-latest
steps:
- name: Get PR reviews
uses: octokit/[email protected]
if: github.event_name != 'workflow_dispatch'
id: check_approvals
continue-on-error: true
with:
route: GET /repos/${{ github.repository }}/pulls/${{ github.event.pull_request.number }}/reviews?per_page=100
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Check for approvals
if: ${{ failure() && github.event_name != 'workflow_dispatch' }}
run: |
echo "No review approvals found. At least 2 approvals are required to run this action automatically."
exit 1

- name: Check for enough approvals (>=2)
id: test_variables
if: github.event_name != 'workflow_dispatch'
- name: Set revision variable
id: revision
run: |
JSON_RESPONSE='${{ steps.check_approvals.outputs.data }}'
CURRENT_APPROVALS_COUNT=$(echo $JSON_RESPONSE | jq -c '[.[] | select(.state | contains("APPROVED")) ] | length')
test $CURRENT_APPROVALS_COUNT -ge 2 || exit 1 # At least 2 approvals are required
echo "revision=${{ (github.event_name == 'workflow_dispatch' || github.event_name == 'release') && github.sha || 'dev' }}" >> "$GITHUB_OUTPUT"

- name: Launch workflow via Seqera Platform
uses: seqeralabs/action-tower-launch@v2
Expand All @@ -51,12 +30,12 @@ jobs:
workspace_id: ${{ secrets.TOWER_WORKSPACE_ID }}
access_token: ${{ secrets.TOWER_ACCESS_TOKEN }}
compute_env: ${{ secrets.TOWER_COMPUTE_ENV }}
revision: ${{ github.sha }}
workdir: s3://${{ secrets.AWS_S3_BUCKET }}/work/raredisease/work-${{ github.sha }}
revision: ${{ steps.revision.outputs.revision }}
workdir: s3://${{ secrets.AWS_S3_BUCKET }}/work/raredisease/work-${{ steps.revision.outputs.revision }}
parameters: |
{
"hook_url": "${{ secrets.MEGATESTS_ALERTS_SLACK_HOOK_URL }}",
"outdir": "s3://${{ secrets.AWS_S3_BUCKET }}/raredisease/results-${{ github.sha }}"
"outdir": "s3://${{ secrets.AWS_S3_BUCKET }}/raredisease/results-${{ steps.revision.outputs.revision }}"
}
profiles: test_full

Expand Down
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,5 +67,6 @@ jobs:
uses: jlumbroso/free-disk-space@54081f138730dfa15788a46383842cd2f914a1be # v1.3.1

- name: "Run pipeline with test data ${{ matrix.NXF_VER }} | ${{ matrix.test_name }} | ${{ matrix.profile }}"
continue-on-error: ${{ matrix.NXF_VER == 'latest-everything' }}
run: |
nextflow run ${GITHUB_WORKSPACE} -profile ${{ matrix.test_name }},${{ matrix.profile }} -stub --outdir ./results
4 changes: 2 additions & 2 deletions .nf-core.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ lint:
- docs/images/nf-core-raredisease_logo_light.png
- assets/nf-core-raredisease_logo_light.png
modules_config: false
nf_core_version: 3.2.0
nf_core_version: 3.2.1
repository_type: pipeline
template:
author: Clinical Genomics Stockholm
Expand All @@ -18,4 +18,4 @@ template:
name: raredisease
org: nf-core
outdir: .
version: 2.5.0dev
version: 2.6.0dev
34 changes: 33 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## 2.5.0dev - Cacofonix [XXXX-XX-XX]
## 2.6.0dev - Cacofonix [XXXX-XX-XX]

### `Added`

Expand Down Expand Up @@ -52,6 +52,38 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
| add_most_severe_consequence | 1.0 | 1.1 |
| add_most_severe_pli | 1.0 | 1.1 |

## v2.5.0 - Fulliautomatix [2025-05-22]

### `Added`

- A new parameter `concatenate_snv_calls` to generate a concatenated VCF file containing unannotated nuclear & mitochondrial SNV calls [#699](https://github.com/nf-core/raredisease/pull/699)
- Functionality to check contamination in samples using VerifyBamID2 [#701](https://github.com/nf-core/raredisease/pull/701)
- New parameters `verifybamid_svd_bed`, `verifybamid_svd_mu`, and `verifybamid_svd_ud` to supply reference files for VerifyBamID2 [#701](https://github.com/nf-core/raredisease/pull/701)

### `Changed`

- Default to remove mitochondrial variants with FILTER status not equal to PASS [#697](https://github.com/nf-core/raredisease/pull/697)

### `Fixed`

- Sort the input files before vcf2cytosure is invoked [#697](https://github.com/nf-core/raredisease/pull/697)
- Use '--mitochondria-mode' by default when running Gatk4 FilterMutectCalls on mitochondrial variants[#697](https://github.com/nf-core/raredisease/pull/697)

### Parameters

| Old parameter | New parameter |
| ------------- | --------------------- |
| | concatenate_snv_calls |
| | verifybamid_svd_bed |
| | verifybamid_svd_mu |
| | verifybamid_svd_ud |

### Tool updates

| Tool | Old version | New version |
| ------------ | ----------- | ----------- |
| VerifyBamID2 | | 2.0.1 |

## 2.4.0 - Vitalstatistix [2025-02-24]

### `Added`
Expand Down
4 changes: 4 additions & 0 deletions CITATIONS.md
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,10 @@

> Pedersen BS, Layer RM, Quinlan AR. Vcfanno: fast, flexible annotation of genetic variants. Genome Biol. 2016;17(1):118. doi:10.1186/s13059-016-0973-5

- [VerifyBamID2]()

> Zhang F, Flickinger M, Taliun SAG, Consortium IPG, Abecasis GR, Scott LJ, McCaroll SA, Pato CN, Boehnke M, & Kang HM. (2020). Ancestry-agnostic estimation of DNA sample contamination from sequence reads. Genome Research, 30(2), 185–194. https://doi.org/10.1101/gr.246934.118

## Software packaging/containerisation tools

- [Anaconda](https://anaconda.com)
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ On release, automated continuous integration tests run the pipeline on a full-si
- [Qualimap](http://qualimap.conesalab.org/)
- [Sentieon's WgsMetricsAlgo](https://support.sentieon.com/manual/usages/general/)
- [TIDDIT's cov](https://github.com/J35P312/)
- [VerifyBamID2](https://github.com/Griffan/VerifyBamID)

**2. Alignment:**

Expand Down
14 changes: 7 additions & 7 deletions assets/multiqc_config.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,10 @@
custom_logo: "nf-core-raredisease_logo_light.png"
custom_logo_url: https://github.com/nf-core/raredisease/
custom_logo_title: "nf-core/raredisease"

report_comment: >2

This report has been generated by the <a href="https://github.com/nf-core/raredisease/tree/dev"
target="_blank">nf-core/raredisease</a> analysis pipeline. For information about
how to interpret these results, please see the <a href="https://nf-co.re/raredisease/dev/docs/output"
target="_blank">documentation</a>.
report_comment: >
This report has been generated by the <a href="https://github.com/nf-core/raredisease/releases/tag/2.5.0" target="_blank">nf-core/raredisease</a>
analysis pipeline. For information about how to interpret these results, please see the
<a href="https://nf-co.re/raredisease/2.5.0/docs/output" target="_blank">documentation</a>.

report_section_order:
"nf-core-raredisease-methods-description":
Expand All @@ -28,6 +25,7 @@ run_modules:
- mosdepth
- ngsbits
- peddy
- verifybamid
- custom_content

module_order:
Expand All @@ -49,6 +47,8 @@ module_order:
name: "ngsbits"
- peddy:
name: "Peddy"
- verifybamid:
name: "VerifyBamID2"

extra_fn_clean_exts:
- "_sorted_md"
Expand Down
2 changes: 1 addition & 1 deletion conf/modules/align.config
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ process{

withName: '.*ALIGN:SAMTOOLS_VIEW' {
ext.args = { '--output-fmt cram --write-index' }
ext.prefix = { "${meta.id}_sorted_md" }
ext.prefix = { "${meta.id}_sort_md" }
publishDir = [
path: { "${params.outdir}/alignment" },
mode: params.publish_dir_mode,
Expand Down
11 changes: 11 additions & 0 deletions conf/modules/call_snv.config
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,15 @@ process {
saveAs: { filename -> filename.equals('versions.yml') ? null : filename }
]
}

withName: '.*CALL_SNV:BCFTOOLS_CONCAT' {
ext.args = { "--write-index=tbi" }
ext.prefix = { "${meta.id}_mt_and_nuclear_snvs" }
publishDir = [
enabled: params.concatenate_snv_calls,
path: { "${params.outdir}/call_snv/concatenated_calls" },
mode: params.publish_dir_mode,
saveAs: { filename -> filename.equals('versions.yml') ? null : filename }
]
}
}
2 changes: 2 additions & 0 deletions conf/modules/call_snv_MT.config
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ process {
}

withName: '.*CALL_SNV_MT:GATK4_FILTERMUTECTCALLS_MT' {
ext.args = '--mitochondria-mode'
ext.prefix = { "${meta.id}_filtered" }
}

Expand All @@ -46,6 +47,7 @@ process {
}

withName: '.*CALL_SNV_MT_SHIFT:GATK4_FILTERMUTECTCALLS_MT' {
ext.args = '--mitochondria-mode'
ext.prefix = { "${meta.id}_filtered_shifted" }
}

Expand Down
2 changes: 1 addition & 1 deletion conf/modules/postprocess_MT_calls.config
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ process {
}

withName: '.*POSTPROCESS_MT_CALLS:BCFTOOLS_ANNOTATE' {
ext.args = "-c CHROM,FROM,TO,FOUND_IN --output-type z"
ext.args = "-c CHROM,FROM,TO,FOUND_IN --output-type z --include FILTER='\"PASS\"'"
ext.prefix = { "${meta.id}_mitochondria" }
publishDir = [
path: { "${params.outdir}/call_snv/mitochondria" },
Expand Down
Binary file modified docs/images/raredisease_metromap_dark.pdf
Binary file not shown.
Binary file modified docs/images/raredisease_metromap_dark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2,545 changes: 1,302 additions & 1,243 deletions docs/images/raredisease_metromap_dark.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/images/raredisease_metromap_light.pdf
Binary file not shown.
Binary file modified docs/images/raredisease_metromap_light.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Loading