-
Notifications
You must be signed in to change notification settings - Fork 10
15 implement cancer predisposition sequencing reporter #68
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
Merged
famosab
merged 28 commits into
dev
from
15-implement-cancer-predisposition-sequencing-reporter
Mar 9, 2026
Merged
Changes from all commits
Commits
Show all changes
28 commits
Select commit
Hold shift + click to select a range
271c486
first commit for CPGR module
009526a
update vcf_preprocessing to split output into somatic and germline
7f7e545
update workflow to include the cpsr module
b3aa83a
first commit for modules.config for cpsr
e3040ee
Merge branch 'dev' into 15-implement-cancer-predisposition-sequencing…
famosab 712f0ed
Add cpsr test
famosab 027853b
Add cpsr test
famosab e92065e
add snap
famosab 40039ac
update snaps
famosab 725f919
remove unstable files
famosab e198c38
enhance docs and use more callers for test
famosab 75e9b60
investigate md5sum mismatch
famosab a05fa0c
update full size
famosab 42c1680
revert lib changes
famosab 1e0641f
revert lib changes
famosab 5ad39af
Add concat of germline vcfs
famosab 8b13de5
Add concatenation
famosab 206929a
update docs
famosab ea2032f
Add handling for one vs multiple vcfs
famosab dec50c6
try combined container
famosab 02a22eb
remove germline preprocessing add note in docs
famosab 312d1ee
update snap
famosab 6753083
fix linting
famosab 574bccb
Changelog and full-test
famosab 9b21a8a
Fix output docs
famosab 26b8d3a
Update modules/local/cpsr/run/main.nf
famosab fc52a0d
Merge branch 'dev' into 15-implement-cancer-predisposition-sequencing…
famosab 5f29f19
fix: add check for unique ids
famosab File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| channels: | ||
| - pcgr | ||
| - conda-forge | ||
| - bioconda | ||
| dependencies: | ||
| - pcgr::pcgr=2.2.1 | ||
| - pcgr::r-pcgrr=2.2.1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,48 @@ | ||
| process CPSR_RUN { | ||
| tag "${meta.patient}.${meta.sample}" | ||
| label 'process_medium' | ||
|
|
||
| conda "${moduleDir}/environment.yml" | ||
| container "${workflow.containerEngine == 'singularity' && !task.ext.singularity_pull_docker_container | ||
| ? 'docker.io/sigven/pcgr:2.2.1' | ||
| : 'docker.io/sigven/pcgr:2.2.1'}" | ||
|
|
||
| input: | ||
| tuple val(meta), path(vcf), path(tbi) | ||
| path pcgr_dir | ||
| path vep_cache | ||
|
|
||
| output: | ||
| tuple val(meta), path("${prefix}"), emit: cpsr_reports | ||
| tuple val("${task.process}"), val('cpsr'), eval("cpsr --version | sed 's/cpsr //g'"), topic: versions, emit: versions_cpsr | ||
|
|
||
| when: | ||
| task.ext.when == null || task.ext.when | ||
|
|
||
| script: | ||
| def genome = task.ext.genome ?: '' | ||
| def args = task.ext.args ?: '' | ||
| prefix = task.ext.prefix ?: "${meta.id}" | ||
| """ | ||
| export XDG_CACHE_HOME=/tmp | ||
| export XDG_DATA_HOME=/tmp | ||
| export QUARTO_PRINT_STACK=true | ||
|
|
||
| mkdir -p ${prefix} | ||
|
|
||
| cpsr \\ | ||
| --input_vcf ${vcf} \\ | ||
| --vep_dir ${vep_cache} \\ | ||
| --refdata_dir ${pcgr_dir} \\ | ||
| --output_dir ${prefix} \\ | ||
| --genome_assembly ${genome} \\ | ||
| --sample_id ${prefix} \\ | ||
| ${args} | ||
| """ | ||
|
|
||
| stub: | ||
| prefix = task.ext.prefix ?: "${meta.id}" | ||
| """ | ||
| mkdir -p ${prefix} | ||
| """ | ||
| } | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.