diff --git a/config/F16.config b/config/F16.config deleted file mode 100644 index 1fb00e0..0000000 --- a/config/F16.config +++ /dev/null @@ -1,114 +0,0 @@ -process { - withName: run_validate_PipeVal { - cpus = 1 - memory = 1.GB - } - withName: extract_GenomeIntervals { - cpus = 1 - memory = 1.GB - } - withName: run_SplitIntervals_GATK { - cpus = 1 - memory = 1.GB - } - withName: run_HaplotypeCallerGVCF_GATK { - cpus = 2 - memory = 4.GB - retry_strategy { - memory { - strategy = 'exponential' - operand = 2 - } - } - } - withName: run_CombineGVCFs_GATK { - cpus = 2 - memory = 4.GB - retry_strategy { - memory { - strategy = 'exponential' - operand = 2 - } - } - } - withName: run_GenotypeGVCFs_GATK { - cpus = 2 - memory = 4.GB - retry_strategy { - memory { - strategy = 'exponential' - operand = 2 - } - } - } - withName: run_MergeVcfs_Picard_VCF { - cpus = 1 - memory = 15.GB - retry_strategy { - memory { - strategy = 'exponential' - operand = 2 - } - } - } - withName: run_MergeVcfs_Picard_GVCF { - cpus = 1 - memory = 15.GB - retry_strategy { - memory { - strategy = 'exponential' - operand = 2 - } - } - } - withName: run_VariantRecalibratorSNP_GATK { - cpus = 10 - memory = 10.GB - retry_strategy { - memory { - strategy = 'exponential' - operand = 2 - } - } - } - withName: run_VariantRecalibratorINDEL_GATK { - cpus = 10 - memory = 10.GB - retry_strategy { - memory { - strategy = 'exponential' - operand = 2 - } - } - } - withName: run_ApplyVQSR_GATK_SNP { - cpus = 10 - memory = 10.GB - retry_strategy { - memory { - strategy = 'exponential' - operand = 2 - } - } - } - withName: run_ApplyVQSR_GATK_INDEL { - cpus = 10 - memory = 10.GB - retry_strategy { - memory { - strategy = 'exponential' - operand = 2 - } - } - } - withName: filter_gSNP_GATK { - cpus = 1 - memory = 5.GB - retry_strategy { - memory { - strategy = 'exponential' - operand = 2 - } - } - } -} diff --git a/config/F2.config b/config/F2.config deleted file mode 100644 index 4cd814f..0000000 --- a/config/F2.config +++ /dev/null @@ -1,10 +0,0 @@ -process { - withName: extract_GenomeIntervals { - cpus = 1 - memory = 1.GB - } - withName: run_SplitIntervals_GATK { - cpus = 1 - memory = 1.GB - } -} diff --git a/config/F32.config b/config/F32.config deleted file mode 100644 index 1fb00e0..0000000 --- a/config/F32.config +++ /dev/null @@ -1,114 +0,0 @@ -process { - withName: run_validate_PipeVal { - cpus = 1 - memory = 1.GB - } - withName: extract_GenomeIntervals { - cpus = 1 - memory = 1.GB - } - withName: run_SplitIntervals_GATK { - cpus = 1 - memory = 1.GB - } - withName: run_HaplotypeCallerGVCF_GATK { - cpus = 2 - memory = 4.GB - retry_strategy { - memory { - strategy = 'exponential' - operand = 2 - } - } - } - withName: run_CombineGVCFs_GATK { - cpus = 2 - memory = 4.GB - retry_strategy { - memory { - strategy = 'exponential' - operand = 2 - } - } - } - withName: run_GenotypeGVCFs_GATK { - cpus = 2 - memory = 4.GB - retry_strategy { - memory { - strategy = 'exponential' - operand = 2 - } - } - } - withName: run_MergeVcfs_Picard_VCF { - cpus = 1 - memory = 15.GB - retry_strategy { - memory { - strategy = 'exponential' - operand = 2 - } - } - } - withName: run_MergeVcfs_Picard_GVCF { - cpus = 1 - memory = 15.GB - retry_strategy { - memory { - strategy = 'exponential' - operand = 2 - } - } - } - withName: run_VariantRecalibratorSNP_GATK { - cpus = 10 - memory = 10.GB - retry_strategy { - memory { - strategy = 'exponential' - operand = 2 - } - } - } - withName: run_VariantRecalibratorINDEL_GATK { - cpus = 10 - memory = 10.GB - retry_strategy { - memory { - strategy = 'exponential' - operand = 2 - } - } - } - withName: run_ApplyVQSR_GATK_SNP { - cpus = 10 - memory = 10.GB - retry_strategy { - memory { - strategy = 'exponential' - operand = 2 - } - } - } - withName: run_ApplyVQSR_GATK_INDEL { - cpus = 10 - memory = 10.GB - retry_strategy { - memory { - strategy = 'exponential' - operand = 2 - } - } - } - withName: filter_gSNP_GATK { - cpus = 1 - memory = 5.GB - retry_strategy { - memory { - strategy = 'exponential' - operand = 2 - } - } - } -} diff --git a/config/F72.config b/config/F72.config deleted file mode 100644 index b16f3db..0000000 --- a/config/F72.config +++ /dev/null @@ -1,114 +0,0 @@ -process { - withName: run_validate_PipeVal { - cpus = 1 - memory = 1.GB - } - withName: extract_GenomeIntervals { - cpus = 1 - memory = 1.GB - } - withName: run_SplitIntervals_GATK { - cpus = 1 - memory = 1.GB - } - withName: run_HaplotypeCallerGVCF_GATK { - cpus = 3 - memory = 7.GB - retry_strategy { - memory { - strategy = 'exponential' - operand = 2 - } - } - } - withName: run_CombineGVCFs_GATK { - cpus = 2 - memory = 4.GB - retry_strategy { - memory { - strategy = 'exponential' - operand = 2 - } - } - } - withName: run_GenotypeGVCFs_GATK { - cpus = 2 - memory = 4.GB - retry_strategy { - memory { - strategy = 'exponential' - operand = 2 - } - } - } - withName: run_MergeVcfs_Picard_VCF { - cpus = 1 - memory = 15.GB - retry_strategy { - memory { - strategy = 'exponential' - operand = 2 - } - } - } - withName: run_MergeVcfs_Picard_GVCF { - cpus = 1 - memory = 15.GB - retry_strategy { - memory { - strategy = 'exponential' - operand = 2 - } - } - } - withName: run_VariantRecalibratorSNP_GATK { - cpus = 10 - memory = 10.GB - retry_strategy { - memory { - strategy = 'exponential' - operand = 2 - } - } - } - withName: run_VariantRecalibratorINDEL_GATK { - cpus = 10 - memory = 10.GB - retry_strategy { - memory { - strategy = 'exponential' - operand = 2 - } - } - } - withName: run_ApplyVQSR_GATK_SNP { - cpus = 10 - memory = 10.GB - retry_strategy { - memory { - strategy = 'exponential' - operand = 2 - } - } - } - withName: run_ApplyVQSR_GATK_INDEL { - cpus = 10 - memory = 10.GB - retry_strategy { - memory { - strategy = 'exponential' - operand = 2 - } - } - } - withName: filter_gSNP_GATK { - cpus = 1 - memory = 5.GB - retry_strategy { - memory { - strategy = 'exponential' - operand = 2 - } - } - } -} diff --git a/config/M64.config b/config/M64.config deleted file mode 100644 index b16f3db..0000000 --- a/config/M64.config +++ /dev/null @@ -1,114 +0,0 @@ -process { - withName: run_validate_PipeVal { - cpus = 1 - memory = 1.GB - } - withName: extract_GenomeIntervals { - cpus = 1 - memory = 1.GB - } - withName: run_SplitIntervals_GATK { - cpus = 1 - memory = 1.GB - } - withName: run_HaplotypeCallerGVCF_GATK { - cpus = 3 - memory = 7.GB - retry_strategy { - memory { - strategy = 'exponential' - operand = 2 - } - } - } - withName: run_CombineGVCFs_GATK { - cpus = 2 - memory = 4.GB - retry_strategy { - memory { - strategy = 'exponential' - operand = 2 - } - } - } - withName: run_GenotypeGVCFs_GATK { - cpus = 2 - memory = 4.GB - retry_strategy { - memory { - strategy = 'exponential' - operand = 2 - } - } - } - withName: run_MergeVcfs_Picard_VCF { - cpus = 1 - memory = 15.GB - retry_strategy { - memory { - strategy = 'exponential' - operand = 2 - } - } - } - withName: run_MergeVcfs_Picard_GVCF { - cpus = 1 - memory = 15.GB - retry_strategy { - memory { - strategy = 'exponential' - operand = 2 - } - } - } - withName: run_VariantRecalibratorSNP_GATK { - cpus = 10 - memory = 10.GB - retry_strategy { - memory { - strategy = 'exponential' - operand = 2 - } - } - } - withName: run_VariantRecalibratorINDEL_GATK { - cpus = 10 - memory = 10.GB - retry_strategy { - memory { - strategy = 'exponential' - operand = 2 - } - } - } - withName: run_ApplyVQSR_GATK_SNP { - cpus = 10 - memory = 10.GB - retry_strategy { - memory { - strategy = 'exponential' - operand = 2 - } - } - } - withName: run_ApplyVQSR_GATK_INDEL { - cpus = 10 - memory = 10.GB - retry_strategy { - memory { - strategy = 'exponential' - operand = 2 - } - } - } - withName: filter_gSNP_GATK { - cpus = 1 - memory = 5.GB - retry_strategy { - memory { - strategy = 'exponential' - operand = 2 - } - } - } -} diff --git a/config/methods.config b/config/methods.config index 0c44506..f24a048 100644 --- a/config/methods.config +++ b/config/methods.config @@ -2,7 +2,8 @@ includeConfig "${projectDir}/external/pipeline-Nextflow-config/config/csv/csv_pa includeConfig "${projectDir}/external/pipeline-Nextflow-config/config/bam/bam_parser.config" includeConfig "${projectDir}/external/pipeline-Nextflow-config/config/methods/common_methods.config" includeConfig "${projectDir}/external/pipeline-Nextflow-config/config/schema/schema.config" -includeConfig "${projectDir}/external/pipeline-Nextflow-config/config/retry/retry.config" +// includeConfig "${projectDir}/external/pipeline-Nextflow-config/config/retry/retry.config" +includeConfig "/hot/code/yashpatel/GitHub/uclahs-cds/pipeline-Nextflow-config/yashpatel-generalized-resource-handler/config/resource_handler/resource_handler.config" methods { set_output_dirs = { @@ -69,14 +70,12 @@ methods { methods.set_env() schema.load_custom_types("${projectDir}/config/custom_schema_types.config") schema.validate() - methods.set_resources_allocation() - methods.modify_base_allocations() + resource_handler.handle_resources("${projectDir}/config/resources.json") methods.set_ids_from_bams() methods.set_output_dirs() methods.set_pipeline_logs() methods.set_process() methods.detect_mode() - retry.setup_retry() methods.setup_docker_cpus() } } diff --git a/config/resources.json b/config/resources.json new file mode 100644 index 0000000..4cf3316 --- /dev/null +++ b/config/resources.json @@ -0,0 +1,1118 @@ +{ + "f2": { + "extract_GenomeIntervals": { + "cpus": { + "min": 1, + "fraction": 0.5, + "max": 1 + }, + "memory": { + "min": "1 GB", + "fraction": 0.26, + "max": "1 GB" + } + }, + "run_SplitIntervals_GATK": { + "cpus": { + "min": 1, + "fraction": 0.5, + "max": 1 + }, + "memory": { + "min": "1 GB", + "fraction": 0.26, + "max": "1 GB" + } + } + }, + "f16": { + "run_validate_PipeVal": { + "cpus": { + "min": 1, + "fraction": 0.06, + "max": 1 + }, + "memory": { + "min": "1 GB", + "fraction": 0.03, + "max": "1 GB" + } + }, + "extract_GenomeIntervals": { + "cpus": { + "min": 1, + "fraction": 0.06, + "max": 1 + }, + "memory": { + "min": "1 GB", + "fraction": 0.03, + "max": "1 GB" + } + }, + "run_SplitIntervals_GATK": { + "cpus": { + "min": 1, + "fraction": 0.06, + "max": 1 + }, + "memory": { + "min": "1 GB", + "fraction": 0.03, + "max": "1 GB" + } + }, + "run_HaplotypeCallerGVCF_GATK": { + "cpus": { + "min": 2, + "fraction": 0.13, + "max": 2 + }, + "memory": { + "min": "4 GB", + "fraction": 0.13, + "max": "4 GB" + }, + "retry_strategy": { + "memory": { + "strategy": "exponential", + "operand": 2 + } + } + }, + "run_CombineGVCFs_GATK": { + "cpus": { + "min": 2, + "fraction": 0.13, + "max": 2 + }, + "memory": { + "min": "4 GB", + "fraction": 0.13, + "max": "4 GB" + }, + "retry_strategy": { + "memory": { + "strategy": "exponential", + "operand": 2 + } + } + }, + "run_GenotypeGVCFs_GATK": { + "cpus": { + "min": 2, + "fraction": 0.13, + "max": 2 + }, + "memory": { + "min": "4 GB", + "fraction": 0.13, + "max": "4 GB" + }, + "retry_strategy": { + "memory": { + "strategy": "exponential", + "operand": 2 + } + } + }, + "run_MergeVcfs_Picard_VCF": { + "cpus": { + "min": 1, + "fraction": 0.06, + "max": 1 + }, + "memory": { + "min": "15 GB", + "fraction": 0.49, + "max": "15 GB" + }, + "retry_strategy": { + "memory": { + "strategy": "exponential", + "operand": 2 + } + } + }, + "run_MergeVcfs_Picard_GVCF": { + "cpus": { + "min": 1, + "fraction": 0.06, + "max": 1 + }, + "memory": { + "min": "15 GB", + "fraction": 0.49, + "max": "15 GB" + }, + "retry_strategy": { + "memory": { + "strategy": "exponential", + "operand": 2 + } + } + }, + "run_VariantRecalibratorSNP_GATK": { + "cpus": { + "min": 10, + "fraction": 0.63, + "max": 10 + }, + "memory": { + "min": "10 GB", + "fraction": 0.33, + "max": "10 GB" + }, + "retry_strategy": { + "memory": { + "strategy": "exponential", + "operand": 2 + } + } + }, + "run_VariantRecalibratorINDEL_GATK": { + "cpus": { + "min": 10, + "fraction": 0.63, + "max": 10 + }, + "memory": { + "min": "10 GB", + "fraction": 0.33, + "max": "10 GB" + }, + "retry_strategy": { + "memory": { + "strategy": "exponential", + "operand": 2 + } + } + }, + "run_ApplyVQSR_GATK_SNP": { + "cpus": { + "min": 10, + "fraction": 0.63, + "max": 10 + }, + "memory": { + "min": "10 GB", + "fraction": 0.33, + "max": "10 GB" + }, + "retry_strategy": { + "memory": { + "strategy": "exponential", + "operand": 2 + } + } + }, + "run_ApplyVQSR_GATK_INDEL": { + "cpus": { + "min": 10, + "fraction": 0.63, + "max": 10 + }, + "memory": { + "min": "10 GB", + "fraction": 0.33, + "max": "10 GB" + }, + "retry_strategy": { + "memory": { + "strategy": "exponential", + "operand": 2 + } + } + }, + "filter_gSNP_GATK": { + "cpus": { + "min": 1, + "fraction": 0.06, + "max": 1 + }, + "memory": { + "min": "5 GB", + "fraction": 0.16, + "max": "5 GB" + }, + "retry_strategy": { + "memory": { + "strategy": "exponential", + "operand": 2 + } + } + } + }, + "f32": { + "run_validate_PipeVal": { + "cpus": { + "min": 1, + "fraction": 0.03, + "max": 1 + }, + "memory": { + "min": "1 GB", + "fraction": 0.02, + "max": "1 GB" + } + }, + "extract_GenomeIntervals": { + "cpus": { + "min": 1, + "fraction": 0.03, + "max": 1 + }, + "memory": { + "min": "1 GB", + "fraction": 0.02, + "max": "1 GB" + } + }, + "run_SplitIntervals_GATK": { + "cpus": { + "min": 1, + "fraction": 0.03, + "max": 1 + }, + "memory": { + "min": "1 GB", + "fraction": 0.02, + "max": "1 GB" + } + }, + "run_HaplotypeCallerGVCF_GATK": { + "cpus": { + "min": 2, + "fraction": 0.06, + "max": 2 + }, + "memory": { + "min": "4 GB", + "fraction": 0.07, + "max": "4 GB" + }, + "retry_strategy": { + "memory": { + "strategy": "exponential", + "operand": 2 + } + } + }, + "run_CombineGVCFs_GATK": { + "cpus": { + "min": 2, + "fraction": 0.06, + "max": 2 + }, + "memory": { + "min": "4 GB", + "fraction": 0.07, + "max": "4 GB" + }, + "retry_strategy": { + "memory": { + "strategy": "exponential", + "operand": 2 + } + } + }, + "run_GenotypeGVCFs_GATK": { + "cpus": { + "min": 2, + "fraction": 0.06, + "max": 2 + }, + "memory": { + "min": "4 GB", + "fraction": 0.07, + "max": "4 GB" + }, + "retry_strategy": { + "memory": { + "strategy": "exponential", + "operand": 2 + } + } + }, + "run_MergeVcfs_Picard_VCF": { + "cpus": { + "min": 1, + "fraction": 0.03, + "max": 1 + }, + "memory": { + "min": "15 GB", + "fraction": 0.25, + "max": "15 GB" + }, + "retry_strategy": { + "memory": { + "strategy": "exponential", + "operand": 2 + } + } + }, + "run_MergeVcfs_Picard_GVCF": { + "cpus": { + "min": 1, + "fraction": 0.03, + "max": 1 + }, + "memory": { + "min": "15 GB", + "fraction": 0.25, + "max": "15 GB" + }, + "retry_strategy": { + "memory": { + "strategy": "exponential", + "operand": 2 + } + } + }, + "run_VariantRecalibratorSNP_GATK": { + "cpus": { + "min": 10, + "fraction": 0.31, + "max": 10 + }, + "memory": { + "min": "10 GB", + "fraction": 0.16, + "max": "10 GB" + }, + "retry_strategy": { + "memory": { + "strategy": "exponential", + "operand": 2 + } + } + }, + "run_VariantRecalibratorINDEL_GATK": { + "cpus": { + "min": 10, + "fraction": 0.31, + "max": 10 + }, + "memory": { + "min": "10 GB", + "fraction": 0.16, + "max": "10 GB" + }, + "retry_strategy": { + "memory": { + "strategy": "exponential", + "operand": 2 + } + } + }, + "run_ApplyVQSR_GATK_SNP": { + "cpus": { + "min": 10, + "fraction": 0.31, + "max": 10 + }, + "memory": { + "min": "10 GB", + "fraction": 0.16, + "max": "10 GB" + }, + "retry_strategy": { + "memory": { + "strategy": "exponential", + "operand": 2 + } + } + }, + "run_ApplyVQSR_GATK_INDEL": { + "cpus": { + "min": 10, + "fraction": 0.31, + "max": 10 + }, + "memory": { + "min": "10 GB", + "fraction": 0.16, + "max": "10 GB" + }, + "retry_strategy": { + "memory": { + "strategy": "exponential", + "operand": 2 + } + } + }, + "filter_gSNP_GATK": { + "cpus": { + "min": 1, + "fraction": 0.03, + "max": 1 + }, + "memory": { + "min": "5 GB", + "fraction": 0.08, + "max": "5 GB" + }, + "retry_strategy": { + "memory": { + "strategy": "exponential", + "operand": 2 + } + } + } + }, + "f72": { + "run_validate_PipeVal": { + "cpus": { + "min": 1, + "fraction": 0.01, + "max": 1 + }, + "memory": { + "min": "1 GB", + "fraction": 0.01, + "max": "1 GB" + } + }, + "extract_GenomeIntervals": { + "cpus": { + "min": 1, + "fraction": 0.01, + "max": 1 + }, + "memory": { + "min": "1 GB", + "fraction": 0.01, + "max": "1 GB" + } + }, + "run_SplitIntervals_GATK": { + "cpus": { + "min": 1, + "fraction": 0.01, + "max": 1 + }, + "memory": { + "min": "1 GB", + "fraction": 0.01, + "max": "1 GB" + } + }, + "run_HaplotypeCallerGVCF_GATK": { + "cpus": { + "min": 3, + "fraction": 0.04, + "max": 3 + }, + "memory": { + "min": "7 GB", + "fraction": 0.05, + "max": "7 GB" + }, + "retry_strategy": { + "memory": { + "strategy": "exponential", + "operand": 2 + } + } + }, + "run_CombineGVCFs_GATK": { + "cpus": { + "min": 2, + "fraction": 0.03, + "max": 2 + }, + "memory": { + "min": "4 GB", + "fraction": 0.03, + "max": "4 GB" + }, + "retry_strategy": { + "memory": { + "strategy": "exponential", + "operand": 2 + } + } + }, + "run_GenotypeGVCFs_GATK": { + "cpus": { + "min": 2, + "fraction": 0.03, + "max": 2 + }, + "memory": { + "min": "4 GB", + "fraction": 0.03, + "max": "4 GB" + }, + "retry_strategy": { + "memory": { + "strategy": "exponential", + "operand": 2 + } + } + }, + "run_MergeVcfs_Picard_VCF": { + "cpus": { + "min": 1, + "fraction": 0.01, + "max": 1 + }, + "memory": { + "min": "15 GB", + "fraction": 0.11, + "max": "15 GB" + }, + "retry_strategy": { + "memory": { + "strategy": "exponential", + "operand": 2 + } + } + }, + "run_MergeVcfs_Picard_GVCF": { + "cpus": { + "min": 1, + "fraction": 0.01, + "max": 1 + }, + "memory": { + "min": "15 GB", + "fraction": 0.11, + "max": "15 GB" + }, + "retry_strategy": { + "memory": { + "strategy": "exponential", + "operand": 2 + } + } + }, + "run_VariantRecalibratorSNP_GATK": { + "cpus": { + "min": 10, + "fraction": 0.14, + "max": 10 + }, + "memory": { + "min": "10 GB", + "fraction": 0.07, + "max": "10 GB" + }, + "retry_strategy": { + "memory": { + "strategy": "exponential", + "operand": 2 + } + } + }, + "run_VariantRecalibratorINDEL_GATK": { + "cpus": { + "min": 10, + "fraction": 0.14, + "max": 10 + }, + "memory": { + "min": "10 GB", + "fraction": 0.07, + "max": "10 GB" + }, + "retry_strategy": { + "memory": { + "strategy": "exponential", + "operand": 2 + } + } + }, + "run_ApplyVQSR_GATK_SNP": { + "cpus": { + "min": 10, + "fraction": 0.14, + "max": 10 + }, + "memory": { + "min": "10 GB", + "fraction": 0.07, + "max": "10 GB" + }, + "retry_strategy": { + "memory": { + "strategy": "exponential", + "operand": 2 + } + } + }, + "run_ApplyVQSR_GATK_INDEL": { + "cpus": { + "min": 10, + "fraction": 0.14, + "max": 10 + }, + "memory": { + "min": "10 GB", + "fraction": 0.07, + "max": "10 GB" + }, + "retry_strategy": { + "memory": { + "strategy": "exponential", + "operand": 2 + } + } + }, + "filter_gSNP_GATK": { + "cpus": { + "min": 1, + "fraction": 0.01, + "max": 1 + }, + "memory": { + "min": "5 GB", + "fraction": 0.04, + "max": "5 GB" + }, + "retry_strategy": { + "memory": { + "strategy": "exponential", + "operand": 2 + } + } + } + }, + "m64": { + "run_validate_PipeVal": { + "cpus": { + "min": 1, + "fraction": 0.02, + "max": 1 + }, + "memory": { + "min": "1 GB", + "fraction": 0.00, + "max": "1 GB" + } + }, + "extract_GenomeIntervals": { + "cpus": { + "min": 1, + "fraction": 0.02, + "max": 1 + }, + "memory": { + "min": "1 GB", + "fraction": 0.00, + "max": "1 GB" + } + }, + "run_SplitIntervals_GATK": { + "cpus": { + "min": 1, + "fraction": 0.02, + "max": 1 + }, + "memory": { + "min": "1 GB", + "fraction": 0.00, + "max": "1 GB" + } + }, + "run_HaplotypeCallerGVCF_GATK": { + "cpus": { + "min": 3, + "fraction": 0.05, + "max": 3 + }, + "memory": { + "min": "7 GB", + "fraction": 0.01, + "max": "7 GB" + }, + "retry_strategy": { + "memory": { + "strategy": "exponential", + "operand": 2 + } + } + }, + "run_CombineGVCFs_GATK": { + "cpus": { + "min": 2, + "fraction": 0.03, + "max": 2 + }, + "memory": { + "min": "4 GB", + "fraction": 0.00, + "max": "4 GB" + }, + "retry_strategy": { + "memory": { + "strategy": "exponential", + "operand": 2 + } + } + }, + "run_GenotypeGVCFs_GATK": { + "cpus": { + "min": 2, + "fraction": 0.03, + "max": 2 + }, + "memory": { + "min": "4 GB", + "fraction": 0.00, + "max": "4 GB" + }, + "retry_strategy": { + "memory": { + "strategy": "exponential", + "operand": 2 + } + } + }, + "run_MergeVcfs_Picard_VCF": { + "cpus": { + "min": 1, + "fraction": 0.02, + "max": 1 + }, + "memory": { + "min": "15 GB", + "fraction": 0.02, + "max": "15 GB" + }, + "retry_strategy": { + "memory": { + "strategy": "exponential", + "operand": 2 + } + } + }, + "run_MergeVcfs_Picard_GVCF": { + "cpus": { + "min": 1, + "fraction": 0.02, + "max": 1 + }, + "memory": { + "min": "15 GB", + "fraction": 0.02, + "max": "15 GB" + }, + "retry_strategy": { + "memory": { + "strategy": "exponential", + "operand": 2 + } + } + }, + "run_VariantRecalibratorSNP_GATK": { + "cpus": { + "min": 10, + "fraction": 0.16, + "max": 10 + }, + "memory": { + "min": "10 GB", + "fraction": 0.01, + "max": "10 GB" + }, + "retry_strategy": { + "memory": { + "strategy": "exponential", + "operand": 2 + } + } + }, + "run_VariantRecalibratorINDEL_GATK": { + "cpus": { + "min": 10, + "fraction": 0.16, + "max": 10 + }, + "memory": { + "min": "10 GB", + "fraction": 0.01, + "max": "10 GB" + }, + "retry_strategy": { + "memory": { + "strategy": "exponential", + "operand": 2 + } + } + }, + "run_ApplyVQSR_GATK_SNP": { + "cpus": { + "min": 10, + "fraction": 0.16, + "max": 10 + }, + "memory": { + "min": "10 GB", + "fraction": 0.01, + "max": "10 GB" + }, + "retry_strategy": { + "memory": { + "strategy": "exponential", + "operand": 2 + } + } + }, + "run_ApplyVQSR_GATK_INDEL": { + "cpus": { + "min": 10, + "fraction": 0.16, + "max": 10 + }, + "memory": { + "min": "10 GB", + "fraction": 0.01, + "max": "10 GB" + }, + "retry_strategy": { + "memory": { + "strategy": "exponential", + "operand": 2 + } + } + }, + "filter_gSNP_GATK": { + "cpus": { + "min": 1, + "fraction": 0.02, + "max": 1 + }, + "memory": { + "min": "5 GB", + "fraction": 0.01, + "max": "5 GB" + }, + "retry_strategy": { + "memory": { + "strategy": "exponential", + "operand": 2 + } + } + } + }, + "default": { + "run_validate_PipeVal": { + "cpus": { + "min": 1, + "fraction": 0.01, + "max": 1 + }, + "memory": { + "min": "1 GB", + "fraction": 0.01, + "max": "1 GB" + } + }, + "extract_GenomeIntervals": { + "cpus": { + "min": 1, + "fraction": 0.01, + "max": 1 + }, + "memory": { + "min": "1 GB", + "fraction": 0.01, + "max": "1 GB" + } + }, + "run_SplitIntervals_GATK": { + "cpus": { + "min": 1, + "fraction": 0.01, + "max": 1 + }, + "memory": { + "min": "1 GB", + "fraction": 0.01, + "max": "1 GB" + } + }, + "run_HaplotypeCallerGVCF_GATK": { + "cpus": { + "min": 3, + "fraction": 0.04, + "max": 3 + }, + "memory": { + "min": "7 GB", + "fraction": 0.05, + "max": "7 GB" + }, + "retry_strategy": { + "memory": { + "strategy": "exponential", + "operand": 2 + } + } + }, + "run_CombineGVCFs_GATK": { + "cpus": { + "min": 2, + "fraction": 0.03, + "max": 2 + }, + "memory": { + "min": "4 GB", + "fraction": 0.03, + "max": "4 GB" + }, + "retry_strategy": { + "memory": { + "strategy": "exponential", + "operand": 2 + } + } + }, + "run_GenotypeGVCFs_GATK": { + "cpus": { + "min": 2, + "fraction": 0.03, + "max": 2 + }, + "memory": { + "min": "4 GB", + "fraction": 0.03, + "max": "4 GB" + }, + "retry_strategy": { + "memory": { + "strategy": "exponential", + "operand": 2 + } + } + }, + "run_MergeVcfs_Picard_VCF": { + "cpus": { + "min": 1, + "fraction": 0.01, + "max": 1 + }, + "memory": { + "min": "15 GB", + "fraction": 0.11, + "max": "15 GB" + }, + "retry_strategy": { + "memory": { + "strategy": "exponential", + "operand": 2 + } + } + }, + "run_MergeVcfs_Picard_GVCF": { + "cpus": { + "min": 1, + "fraction": 0.01, + "max": 1 + }, + "memory": { + "min": "15 GB", + "fraction": 0.11, + "max": "15 GB" + }, + "retry_strategy": { + "memory": { + "strategy": "exponential", + "operand": 2 + } + } + }, + "run_VariantRecalibratorSNP_GATK": { + "cpus": { + "min": 10, + "fraction": 0.14, + "max": 10 + }, + "memory": { + "min": "10 GB", + "fraction": 0.07, + "max": "10 GB" + }, + "retry_strategy": { + "memory": { + "strategy": "exponential", + "operand": 2 + } + } + }, + "run_VariantRecalibratorINDEL_GATK": { + "cpus": { + "min": 10, + "fraction": 0.14, + "max": 10 + }, + "memory": { + "min": "10 GB", + "fraction": 0.07, + "max": "10 GB" + }, + "retry_strategy": { + "memory": { + "strategy": "exponential", + "operand": 2 + } + } + }, + "run_ApplyVQSR_GATK_SNP": { + "cpus": { + "min": 10, + "fraction": 0.14, + "max": 10 + }, + "memory": { + "min": "10 GB", + "fraction": 0.07, + "max": "10 GB" + }, + "retry_strategy": { + "memory": { + "strategy": "exponential", + "operand": 2 + } + } + }, + "run_ApplyVQSR_GATK_INDEL": { + "cpus": { + "min": 10, + "fraction": 0.14, + "max": 10 + }, + "memory": { + "min": "10 GB", + "fraction": 0.07, + "max": "10 GB" + }, + "retry_strategy": { + "memory": { + "strategy": "exponential", + "operand": 2 + } + } + }, + "filter_gSNP_GATK": { + "cpus": { + "min": 1, + "fraction": 0.01, + "max": 1 + }, + "memory": { + "min": "5 GB", + "fraction": 0.04, + "max": "5 GB" + }, + "retry_strategy": { + "memory": { + "strategy": "exponential", + "operand": 2 + } + } + } + } +} \ No newline at end of file diff --git a/external/pipeline-Nextflow-config b/external/pipeline-Nextflow-config index be1eaf5..8b500b7 160000 --- a/external/pipeline-Nextflow-config +++ b/external/pipeline-Nextflow-config @@ -1 +1 @@ -Subproject commit be1eaf5e2831fb4d4c4e9bcef2a4b9618dfae8cd +Subproject commit 8b500b7d2f733689842d9f5c74d3616935ab2be1