Skip to content

Commit

Permalink
FIX: More coherence in all gatk4spark modules (nf-core#4282)
Browse files Browse the repository at this point in the history
* fix gatk4 version

* rename and update all gatk4_<module>spark to gatk4spark_<module>

* update pytest_modules.yml

* fix meta.yml

* fix typo

* remove now useless exclude statements

* fix output path
  • Loading branch information
maxulysse authored Nov 2, 2023
1 parent bdbbd9a commit c3aaaa6
Show file tree
Hide file tree
Showing 25 changed files with 273 additions and 277 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -223,16 +223,12 @@ jobs:
tags: fcs/fcsadaptor
- profile: "conda"
tags: fcs/fcsgx
- profile: "conda"
tags: gatk4/baserecalibratorspark
- profile: "conda"
tags: gatk4/cnnscorevariants
- profile: "conda"
tags: gatk4/determinegermlinecontigploidy
- profile: "conda"
tags: gatk4/germlinecnvcaller
- profile: "conda"
tags: gatk4/markduplicatesspark
- profile: "conda"
tags: gatk4/postprocessgermlinecnvcalls
- profile: "conda"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,4 @@ channels:
- bioconda
- defaults
dependencies:
- bioconda::gatk4=4.3.0.0
- conda-forge::openjdk=8.0.312
- bioconda::gatk4-spark=4.4.0.0
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
process GATK4_APPLYBQSR_SPARK {
process GATK4SPARK_APPLYBQSR {
tag "$meta.id"
label 'process_low'

conda "${moduleDir}/environment.yml"
container "nf-core/gatk:4.4.0.0"
container "${ workflow.containerEngine == 'singularity' && !task.ext.singularity_pull_docker_container ?
'https://depot.galaxyproject.org/singularity/gatk4-spark:4.4.0.0--hdfd78af_0':
'biocontainers/gatk4-spark:4.4.0.0--hdfd78af_0' }"

input:
tuple val(meta), path(input), path(input_index), path(bqsr_table), path(intervals)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
name: gatk4_applybqsr_spark
name: gatk4spark_applybqsr
description: Apply base quality score recalibration (BQSR) to a bam file
keywords:
- bam
- base quality score recalibration
- bqsr
- cram
- gatk4
- spark
- gatk4spark
tools:
- gatk4:
description: |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,4 @@ channels:
- bioconda
- defaults
dependencies:
- bioconda::gatk4=4.4.0.0
- conda-forge::openjdk=8.0.312
- bioconda::gatk4-spark=4.4.0.0
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
process GATK4_BASERECALIBRATOR_SPARK {
process GATK4SPARK_BASERECALIBRATOR {
tag "$meta.id"
label 'process_low'

conda "${moduleDir}/environment.yml"
container "nf-core/gatk:4.4.0.0"
container "${ workflow.containerEngine == 'singularity' && !task.ext.singularity_pull_docker_container ?
'https://depot.galaxyproject.org/singularity/gatk4-spark:4.4.0.0--hdfd78af_0':
'biocontainers/gatk4-spark:4.4.0.0--hdfd78af_0' }"

input:
tuple val(meta), path(input), path(input_index), path(intervals)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
name: gatk4_baserecalibrator_spark
name: gatk4spark_baserecalibrator
description: Generate recalibration table for Base Quality Score Recalibration (BQSR)
keywords:
- base quality score recalibration
- table
- bqsr
- gatk4
- gatk4spark
- sort
- spark
tools:
- gatk4:
description: |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,4 @@ channels:
- bioconda
- defaults
dependencies:
- bioconda::gatk4=4.4.0.0
- conda-forge::openjdk=8.0.312
- bioconda::gatk4-spark=4.4.0.0
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
process GATK4_MARKDUPLICATES_SPARK {
process GATK4SPARK_MARKDUPLICATES {
tag "$meta.id"
label 'process_high'

conda "${moduleDir}/environment.yml"
container "nf-core/gatk:4.4.0.0"
container "${ workflow.containerEngine == 'singularity' && !task.ext.singularity_pull_docker_container ?
'https://depot.galaxyproject.org/singularity/gatk4-spark:4.4.0.0--hdfd78af_0':
'biocontainers/gatk4-spark:4.4.0.0--hdfd78af_0' }"

input:
tuple val(meta), path(bam)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
name: gatk4_markduplicates_spark
name: gatk4spark_markduplicates
description: This tool locates and tags duplicate reads in a BAM or SAM file, where duplicate reads are defined as originating from a single fragment of DNA.
keywords:
- bam
- gatk4
- gatk4spark
- markduplicates
- sort
- spark
tools:
- gatk4:
description: Developed in the Data Sciences Platform at the Broad Institute, the toolkit offers a wide variety of tools with a primary focus on variant discovery and genotyping. Its powerful processing engine and high-performance computing features make it capable of taking on projects of any size.
Expand Down
24 changes: 12 additions & 12 deletions tests/config/pytest_modules.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1237,10 +1237,6 @@ gatk4/applybqsr:
- modules/nf-core/gatk4/applybqsr/**
- tests/modules/nf-core/gatk4/applybqsr/**

gatk4/applybqsrspark:
- modules/nf-core/gatk4/applybqsrspark/**
- tests/modules/nf-core/gatk4/applybqsrspark/**

gatk4/applyvqsr:
- modules/nf-core/gatk4/applyvqsr/**
- tests/modules/nf-core/gatk4/applyvqsr/**
Expand All @@ -1253,10 +1249,6 @@ gatk4/baserecalibrator:
- modules/nf-core/gatk4/baserecalibrator/**
- tests/modules/nf-core/gatk4/baserecalibrator/**

gatk4/baserecalibratorspark:
- modules/nf-core/gatk4/baserecalibratorspark/**
- tests/modules/nf-core/gatk4/baserecalibratorspark/**

gatk4/bedtointervallist:
- modules/nf-core/gatk4/bedtointervallist/**
- tests/modules/nf-core/gatk4/bedtointervallist/**
Expand Down Expand Up @@ -1385,10 +1377,6 @@ gatk4/markduplicates:
- modules/nf-core/gatk4/markduplicates/**
- tests/modules/nf-core/gatk4/markduplicates/**

gatk4/markduplicatesspark:
- modules/nf-core/gatk4/markduplicatesspark/**
- tests/modules/nf-core/gatk4/markduplicatesspark/**

gatk4/mergebamalignment:
- modules/nf-core/gatk4/mergebamalignment/**
- tests/modules/nf-core/gatk4/mergebamalignment/**
Expand Down Expand Up @@ -1477,6 +1465,18 @@ gatk4/variantrecalibrator:
- modules/nf-core/gatk4/variantrecalibrator/**
- tests/modules/nf-core/gatk4/variantrecalibrator/**

gatk4spark/applybqsr:
- modules/nf-core/gatk4spark/applybqsr/**
- tests/modules/nf-core/gatk4spark/applybqsr/**

gatk4spark/baserecalibrator:
- modules/nf-core/gatk4spark/baserecalibrator/**
- tests/modules/nf-core/gatk4spark/baserecalibrator/**

gatk4spark/markduplicates:
- modules/nf-core/gatk4spark/markduplicates/**
- tests/modules/nf-core/gatk4spark/markduplicates/**

gawk:
- modules/nf-core/gawk/**
- tests/modules/nf-core/gawk/**
Expand Down
47 changes: 0 additions & 47 deletions tests/modules/nf-core/gatk4/applybqsrspark/main.nf

This file was deleted.

28 changes: 0 additions & 28 deletions tests/modules/nf-core/gatk4/applybqsrspark/test.yml

This file was deleted.

69 changes: 0 additions & 69 deletions tests/modules/nf-core/gatk4/baserecalibratorspark/main.nf

This file was deleted.

39 changes: 0 additions & 39 deletions tests/modules/nf-core/gatk4/baserecalibratorspark/test.yml

This file was deleted.

Loading

0 comments on commit c3aaaa6

Please sign in to comment.