Skip to content

Commit

Permalink
Merge pull request #478 from FriederikeHanssen/replace_nfcore_modules
Browse files Browse the repository at this point in the history
Replace nfcore modules
  • Loading branch information
FriederikeHanssen authored Jan 5, 2022
2 parents f498614 + 7f8a537 commit d73a192
Show file tree
Hide file tree
Showing 33 changed files with 640 additions and 525 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/linting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install nf-core git+https://github.com/nf-core/tools.git@dev
pip install nf-core
- name: Run nf-core lint
env:
Expand Down
10 changes: 6 additions & 4 deletions conf/modules.config
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ if (('markduplicates' in params.use_gatk_spark) && (!params.skip_markduplicates)
// MARKDUPLICATES
process {
withName: 'GATK4_ESTIMATELIBRARYCOMPLEXITY' {
ext.suffix = '.md'
ext.prefix = {"${meta.id}.md"}
publishDir = [
path: { "${params.outdir}/preprocessing/${meta.id}/markduplicates" },
enabled: true,
Expand All @@ -176,7 +176,7 @@ process {
}
withName: 'GATK4_MARKDUPLICATES' {
ext.args = '-REMOVE_DUPLICATES false -VALIDATION_STRINGENCY LENIENT'
ext.suffix = '.md'
ext.prefix = {"${meta.id}.md"}
publishDir = [
path: { "${params.outdir}/preprocessing/${meta.id}/markduplicates" },
enabled: false
Expand Down Expand Up @@ -228,15 +228,17 @@ process {
publishDir = [
path: { "${params.outdir}/preprocessing/${meta.id}/recal_table" },
enabled: true,
pattern: "*recal.table"
mode: 'copy',
pattern: "*.table"
]
ext.prefix = {"${meta.id}.recal"}
}
}

// RECALIBRATE
process {
withName: 'APPLYBQSR|APPLYBQSR_SPARK' {
ext.suffix = '.recal'
ext.prefix = {"${meta.id}.recal"}
publishDir = [ enabled: false ]
}
withName: 'SAMTOOLS_MERGE_CRAM' {
Expand Down
26 changes: 25 additions & 1 deletion modules.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,32 @@
"freebayes": {
"git_sha": "9d0cad583b9a71a6509b754fdf589cbfbed08961"
},
"gatk4/applybqsr": {
"git_sha": "a6e0629e2430a9d4061ddc8afdf4cff8c93080b5"
},
"gatk4/baserecalibrator": {
"git_sha": "a6e0629e2430a9d4061ddc8afdf4cff8c93080b5"
},
"gatk4/createsequencedictionary": {
"git_sha": "7389963d5cb18f81c10dff128c510e518ee4f0f6"
"git_sha": "50eafb19c689bca7747a6d44b8e7a555ba172f4b"
},
"gatk4/estimatelibrarycomplexity": {
"git_sha": "50eafb19c689bca7747a6d44b8e7a555ba172f4b"
},
"gatk4/gatherbqsrreports": {
"git_sha": "50eafb19c689bca7747a6d44b8e7a555ba172f4b"
},
"gatk4/genotypegvcfs": {
"git_sha": "a6e0629e2430a9d4061ddc8afdf4cff8c93080b5"
},
"gatk4/haplotypecaller": {
"git_sha": "a6e0629e2430a9d4061ddc8afdf4cff8c93080b5"
},
"gatk4/markduplicates": {
"git_sha": "50eafb19c689bca7747a6d44b8e7a555ba172f4b"
},
"gatk4/mutect2": {
"git_sha": "50eafb19c689bca7747a6d44b8e7a555ba172f4b"
},
"manta/germline": {
"git_sha": "9d0cad583b9a71a6509b754fdf589cbfbed08961"
Expand Down
50 changes: 0 additions & 50 deletions modules/local/gatk4/genotypegvcf/main.nf

This file was deleted.

52 changes: 0 additions & 52 deletions modules/local/gatk4/haplotypecaller/main.nf

This file was deleted.

60 changes: 0 additions & 60 deletions modules/local/gatk4/mutect2/merge_stats/main.nf

This file was deleted.

41 changes: 0 additions & 41 deletions modules/local/gatk4/mutect2/merge_stats/meta.yml

This file was deleted.

61 changes: 0 additions & 61 deletions modules/local/gatk4/mutect2/somatic/main.nf

This file was deleted.

41 changes: 0 additions & 41 deletions modules/local/gatk4/mutect2/somatic/meta.yml

This file was deleted.

Loading

0 comments on commit d73a192

Please sign in to comment.