Skip to content

Commit

Permalink
Merge pull request nf-cmgg#31 from nf-cmgg/final-fixes
Browse files Browse the repository at this point in the history
Final fixes
  • Loading branch information
ToonRosseel authored Dec 12, 2024
2 parents 9bb0ed7 + 4a3d3ea commit d748611
Show file tree
Hide file tree
Showing 18 changed files with 216 additions and 57 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## v1.2.1dev

### `Improvements`

- Added a `WES` profile to make it easier to run the pipeline on our infrastructure
- Pin the VEP version to v105

### `Bug Fixes`

- Fixed an issue where the bedgovcf yaml wasn't being given
Expand Down
4 changes: 2 additions & 2 deletions conf/test.config
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@ params {
roi_auto = "https://raw.githubusercontent.com/nf-cmgg/test-datasets/exomecnv/data/genomics/homo_sapiens/genome/roi/Homo_sapiens.GRCh38.105.chr21_protein_coding_basic_sorted_merged_autosomal.bed"
roi_chrx = "https://raw.githubusercontent.com/nf-cmgg/test-datasets/exomecnv/data/genomics/homo_sapiens/genome/roi/Homo_sapiens.GRCh38.105.chrX_protein_coding_basic_sorted_merged.bed"

yamlconfig = "${projectDir}/assets/exomedepth.yaml"
exomedepth = true

igenomes_ignore = true
genomes_ignore = true

// VEP options
annotate = false
Expand Down
12 changes: 12 additions & 0 deletions conf/wes.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
/*
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Nextflow config file for running the pipeline on the CMGG infrastructure
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
*/

params {
exomedepth = true
annotate = true
roi_auto = "${params.genomes_base}/Hsapiens/GRCh38/regions/Homo_sapiens.GRCh38.105.chr_protein_coding_basic_sorted_merged_autosomal.bed"
roi_chrx = "${params.genomes_base}/Hsapiens/GRCh38/regions/Homo_sapiens.GRCh38.105.chrX_protein_coding_basic_sorted_merged.bed"
}
5 changes: 3 additions & 2 deletions main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,9 @@
// from igenomes.config using `--genome`
include { getGenomeAttribute } from './subworkflows/local/utils_nfcore_exomecnv_pipeline'

params.fasta = getGenomeAttribute('fasta')
params.fai = getGenomeAttribute('fai')
params.fasta = getGenomeAttribute('fasta')
params.fai = getGenomeAttribute('fai')
params.vep_cache = getGenomeAttribute('vep_cache')

/*
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Expand Down
3 changes: 2 additions & 1 deletion modules.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@
"ensemblvep/download": {
"branch": "master",
"git_sha": "6e3585d9ad20b41adc7d271009f8cb5e191ecab4",
"installed_by": ["modules"]
"installed_by": ["modules"],
"patch": "modules/nf-core/ensemblvep/download/ensemblvep-download.diff"
},
"ensemblvep/vep": {
"branch": "master",
Expand Down
82 changes: 82 additions & 0 deletions modules/nf-core/ensemblvep/download/ensemblvep-download.diff

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions modules/nf-core/ensemblvep/download/main.nf

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 10 additions & 10 deletions modules/nf-core/ensemblvep/download/tests/main.nf.test.snap

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

71 changes: 61 additions & 10 deletions modules/nf-core/ensemblvep/vep/ensemblvep-vep.diff

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions modules/nf-core/ensemblvep/vep/main.nf

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion modules/nf-core/ensemblvep/vep/tests/main.nf.test

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 8 additions & 8 deletions modules/nf-core/ensemblvep/vep/tests/main.nf.test.snap

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 5 additions & 5 deletions nextflow.config
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@ params {
// Input options
input = null


// References
genome = "GRCh38"
cmgg_config_base = "/conf/"
igenomes_base = null //'s3://ngi-igenomes/igenomes/'
igenomes_ignore = true

genomes_base = "/references/"
genomes_ignore = false

// MultiQC options
multiqc_config = null
Expand Down Expand Up @@ -62,8 +62,7 @@ params {
// VEP Parameters
vep_cache_version = 105
species = "homo_sapiens"
vep_cache = null
annotate = null
annotate = false
vep_assembly = "GRCh38"


Expand Down Expand Up @@ -173,6 +172,7 @@ profiles {
}
test { includeConfig 'conf/test.config' }
nf_test { includeConfig 'conf/nf_test.config' }
WES { includeConfig 'conf/wes.config' }
}

// Load nf-core custom profiles from different Institutions
Expand All @@ -197,7 +197,7 @@ plugins {
}

// Load igenomes.config if required
includeConfig !params.igenomes_ignore ? 'conf/igenomes.config' : 'conf/igenomes_ignored.config'
includeConfig !params.igenomes_ignore ? "conf/igenomes.config" : !params.genomes_ignore ? "https://raw.githubusercontent.com/nf-cmgg/configs/main/conf/Hsapiens/genomes.config" : "conf/igenomes_ignored.config"

// Export these variables to prevent local Python/R libraries from conflicting with those in the container
// The JULIA depot path has been adjusted to a fixed path `/usr/local/share/julia` that needs to be used for packages in the container.
Expand Down
Loading

0 comments on commit d748611

Please sign in to comment.