Skip to content

Commit

Permalink
Memory bumped & snpeff annotation file name updated to '*annotated.ra…
Browse files Browse the repository at this point in the history
…w*' (#150)

* Memory bumped & snpeff annotation file name updated to '*annotated.raw*'

* export lines are updated

Co-authored-by: TOLGA <ayazsevent@email.chop.edu>
  • Loading branch information
Tayazseven and TOLGA authored Apr 21, 2020
1 parent 6e17b6b commit 674ae5d
Show file tree
Hide file tree
Showing 58 changed files with 101 additions and 96 deletions.
2 changes: 1 addition & 1 deletion arriba/arriba.wdl
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ task Arriba {
String userString = "-T -P"

Array[String] modules = []
Float memory = 8
Float memory = 12
Int cpu = 2

String fusion_output = "~{sample_id}" + '.arriba.fusions.tsv'
Expand Down
2 changes: 1 addition & 1 deletion bcftools/Merge.wdl
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ task BCFToolsMerge {

# Run time variables
Array[String] modules = []
Float memory = 4
Float memory = 12
Int cpu = 1

# Output file names
Expand Down
2 changes: 1 addition & 1 deletion bedtools/BamToFastQ.wdl
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ task BamToFastQ {
String ? fastq2

Array[String] modules = []
Float memory = 1
Float memory = 12
Int cpu = 1
}

Expand Down
2 changes: 1 addition & 1 deletion bedtools/Intersect.wdl
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ task Intersect {
String userString = "-wao"

Array[String] modules = []
Float memory = 1
Float memory = 12
Int cpu = 1

String output_filename = basename(bed_a, ".bed") + '.intersect.bed'
Expand Down
2 changes: 1 addition & 1 deletion bedtools/Merge.wdl
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ task Merge {
String ? userString

Array[String] modules = []
Float memory = 1
Float memory = 12
Int cpu = 1

String output_filename = basename(bed, ".bed") + '.merged.bed'
Expand Down
2 changes: 1 addition & 1 deletion freebayes/FreeBayes.wdl
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ task FreeBayes {
String userString = "-4 -q 15 -F 0.03"

Array[String] modules = []
Float memory = 8
Float memory = 12
Int cpu = 1

String output_filename = sample_id + '.freebayes.vcf'
Expand Down
2 changes: 1 addition & 1 deletion gatk/CombineVariants.wdl
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ task CombineVariants {
String ? userString

Array[String] modules = []
Float memory = 8
Float memory = 12
Int cpu = 1

String output_filename = filename_prefix + ".merged.vcf.gz"
Expand Down
2 changes: 1 addition & 1 deletion gatk/GenotypeGVCFs.wdl
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ task GenotypeGVCFs {
String ? userString

Array[String] modules = []
Float memory = 8
Float memory = 12
Int cpu = 1

String vcf_filename = cohort_id + ".rawVariants.vcf.gz"
Expand Down
2 changes: 1 addition & 1 deletion gatk/HaplotypeCallerERC.wdl
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ task HaplotypeCallerERC {
String ? userString

Array[String] modules = []
Float memory = 8
Float memory = 12
Int cpu = 1

String gvcf_filename = sample_id + ".rawLikelihoods.g.vcf.gz"
Expand Down
2 changes: 1 addition & 1 deletion gatk/SelectVariants.wdl
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ task SelectVariants {
String ? userString

Array[String] modules = []
Float memory = 6
Float memory = 12
Int cpu = 1

String output_filename = basename(input_file) + ".filtered.vcf.gz"
Expand Down
2 changes: 1 addition & 1 deletion gatk/VariantFiltration.wdl
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ task VariantFiltration {
String ? userString

Array[String] modules = []
Float memory = 6
Float memory = 12
Int cpu = 1

String output_filename = basename(input_file) + ".filtered.vcf.gz"
Expand Down
2 changes: 1 addition & 1 deletion git/commands.wdl
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ task Clone {
String ? userString

Array[String] modules = []
Float memory = 1
Float memory = 12
Int cpu = 1
}

Expand Down
2 changes: 1 addition & 1 deletion kallisto/kallisto.wdl
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ task Kallisto {
String userString = "-b 10"

Array[String] modules = []
Float memory = 8
Float memory = 12
Int cpu = 4
}

Expand Down
2 changes: 1 addition & 1 deletion mitolib/haplochecker.wdl
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ task ContaminationCheck {
String userString = "--VAF 0.015 --QUAL 20 --MAPQ 20"

Array[String] modules = []
Float memory = 8
Float memory = 12
Int cpu = 1

String output_filename = sample_name + "/" + sample_name + ".sorted.contamination.txt"
Expand Down
2 changes: 1 addition & 1 deletion mitolib/haplogrep.wdl
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ task HaploGrep {
String ? userString

# Run time variables
Float memory = 6
Float memory = 12
Int cpu = 1
Array[String] modules = []

Expand Down
2 changes: 1 addition & 1 deletion mutect/MuTect.wdl
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ task MuTect {
String ? userString

Array[String] modules = []
Float memory = 4
Float memory = 12
Int cpu = 1

String vcf_filename = sample_id + "_MuTect.vcf"
Expand Down
2 changes: 1 addition & 1 deletion penncnv/DetectCNVs.wdl
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ task DetectCNVs {
String ? sex_flag = "" # NOTE: PennCNV needs -chrX flag to call on Sex Chr
# Run time variables
Float memory = 4
Float memory = 12
Int cpu = 1
Array[String] modules = []

Expand Down
2 changes: 1 addition & 1 deletion penncnv/MergeCNV.wdl
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ task MergeCNV {
File signal_file

# Run time variables
Float memory = 4
Float memory = 12
Int cpu = 1
Array[String] modules = []

Expand Down
2 changes: 1 addition & 1 deletion penncnv/ScanRegion.wdl
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ task ScanRegion {
File refgene_file

# Run time variables
Float memory = 4
Float memory = 12
Int cpu = 1
Array[String] modules = []
}
Expand Down
2 changes: 1 addition & 1 deletion penncnv/VisualizeCNV.wdl
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ task VisualizeCNV {
File idmap_file

# Run time variables
Float memory = 4
Float memory = 12
Int cpu = 1
Array[String] modules = []

Expand Down
2 changes: 1 addition & 1 deletion picard/AddOrReplaceReadGroups.wdl
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ task AddOrReplaceReadGroups {
String ? userString

Array[String] modules = []
Float memory = 4
Float memory = 12
Int cpu = 1

String output_filename = "~{sample_id}" + "~{output_filename_extension}"
Expand Down
2 changes: 1 addition & 1 deletion picard/BedToIntervalList.wdl
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ task BedToIntervalList {
String ? userString

Array[String] modules = []
Float memory = 4
Float memory = 16
Int cpu = 1
String output_filename = basename(bed_file) + ".interval_list"
}
Expand Down
2 changes: 1 addition & 1 deletion picard/CollectHsMetrics.wdl
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ task CollectHsMetrics {
String ? userString

Array[String] modules = []
Float memory = 4
Float memory = 16
Int cpu = 1

String per_target_coverage_filename = sample_id + ".HsMetrics.target"
Expand Down
2 changes: 1 addition & 1 deletion picard/MarkDuplicates.wdl
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ task MarkDuplicates {
String ? userString

Array[String] modules = []
Float memory = 8
Float memory = 16
Int cpu = 1

String metrics_filename = sample_id + ".picardmkdup.metrics"
Expand Down
2 changes: 1 addition & 1 deletion pindel/Pindel.wdl
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ task Pindel {
String userString = "-t"

Array[String] modules = []
Float memory = 4
Float memory = 12
Int cpu = 1
}

Expand Down
2 changes: 1 addition & 1 deletion pindel/Pindel2VCF.wdl
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ task Pindel2Vcf {
String ? userString

Array[String] modules = []
Float memory = 8
Float memory = 12
Int cpu = 1

String temp_filename = basename(input_file) + '_merged_pindel_files'
Expand Down
2 changes: 1 addition & 1 deletion pizzly/pizzly-flatten-json.wdl
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ task PizzlyFlattenJSON {
String ? userString

Array[String] modules = []
Float memory = 1
Float memory = 12
Int cpu = 1

String output_filename = "~{sample_id}" + '.genetable.txt'
Expand Down
2 changes: 1 addition & 1 deletion pizzly/pizzly.wdl
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ task Pizzly {
Int insert_size = 400

Array[String] modules = []
Float memory = 1
Float memory = 12
Int cpu = 1
}

Expand Down
2 changes: 1 addition & 1 deletion python/virtualenv.wdl
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ task CreateVirtualenv {
Array[String] python_modules = ['python/2.7']
Array[String] modules = []
Float memory = 4
Float memory = 16
Int cpu = 1
String python_binary = name + "/bin/python"
Expand Down
2 changes: 1 addition & 1 deletion rnaseqc/rnaseqc.wdl
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ task RNASeQC {
String userString = "--coverage"

Array[String] modules = []
Float memory = 2
Float memory = 12
Int cpu = 1
}

Expand Down
2 changes: 1 addition & 1 deletion samtools/ExtractMappedReads.wdl
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ task ExtractMappedReads {
String ? userString

Array[String] modules = []
Float memory = 4
Float memory = 12
Int cpu = 1

String output_filename = basename(input_file) + ".mapped.bam"
Expand Down
2 changes: 1 addition & 1 deletion samtools/Index.wdl
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ task Index {
String output_file

Array[String] modules = []
Float memory = 4
Float memory = 12
Int cpu = 1
}

Expand Down
2 changes: 1 addition & 1 deletion samtools/MPileup.wdl
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ task MPileup {
String ? userString

Array[String] modules = []
Float memory = 4
Float memory = 12
Int cpu = 1
}

Expand Down
2 changes: 1 addition & 1 deletion samtools/Samtools.wdl
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ task Samtools {
String ? userString

Array[String] modules = []
Float memory = 4
Float memory = 12
Int cpu = 1
}

Expand Down
2 changes: 1 addition & 1 deletion scalpel/Single.wdl
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ task Single {
String userString = "--mapscore 15 --intarget --format vcf"

Array[String] modules = []
Float memory = 4
Float memory = 12
Int cpu = 1

String output_filename = sample_id + "/variants.indel.vcf"
Expand Down
2 changes: 1 addition & 1 deletion slivar/compound-hets.wdl
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ task compoundHets {
String ? userString

Array[String] modules = []
Float memory = 4
Float memory = 12
Int cpu = 1

String output_filename = prefix + '.slivar.comphets.vcf'
Expand Down
2 changes: 1 addition & 1 deletion slivar/expr.wdl
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ task expr {
String ? userString

Array[String] modules = []
Float memory = 4
Float memory = 12
Int cpu = 1

String output_filename = prefix + '.slivar.expr.vcf'
Expand Down
2 changes: 1 addition & 1 deletion slivar/make-gnotate.wdl
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ task makeGnotate {
String ? userString

Array[String] modules = []
Float memory = 4
Float memory = 12
Int cpu = 1

String output_filename = prefix + '.zip'
Expand Down
2 changes: 1 addition & 1 deletion snpeff/SnpEff.wdl
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ task SnpEff {
String ? userString

Array[String] modules = []
Float memory = 8
Float memory = 16
Int cpu = 1

String output_filename = filename_prefix + '.snpeff.vcf'
Expand Down
2 changes: 1 addition & 1 deletion snpeff/SnpSift.wdl
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ task SnpSift {
String ? userString

Array[String] modules = []
Float memory = 12
Float memory = 16
Int cpu = 1

String output_filename = filename_prefix + '.snpsift.vcf'
Expand Down
6 changes: 3 additions & 3 deletions subworkflows/BAM-Quality-Control.wdl
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ version 1.0
# -------------------------------------------------------------------------------------------------

import "https://raw.githubusercontent.com/chopdgd/bfx-tools-wdl/v1.4.0/gatk/DepthOfCoverage.wdl" as DepthOfCoverage
import "https://raw.githubusercontent.com/chopdgd/bfx-tools-wdl/v1.4.0/picard/CollectHsMetrics.wdl" as CollectHsMetrics
import "https://raw.githubusercontent.com/chopdgd/bfx-tools-wdl/v1.4.0/verifybamid/VerifyBamId.wdl" as VerifyBamId
import "https://raw.githubusercontent.com/chopdgd/bfx-tools-wdl/v1.4.1/gatk/DepthOfCoverage.wdl" as DepthOfCoverage
import "https://raw.githubusercontent.com/chopdgd/bfx-tools-wdl/v1.4.1/picard/CollectHsMetrics.wdl" as CollectHsMetrics
import "https://raw.githubusercontent.com/chopdgd/bfx-tools-wdl/v1.4.1/verifybamid/VerifyBamId.wdl" as VerifyBamId

workflow BAMQualityControl {
input {
Expand Down
6 changes: 3 additions & 3 deletions subworkflows/Mito-SnpEff-Annotation.wdl
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ version 1.0
# * SnpSift -- snpsift version is 4.2 in the production pipeline
# -------------------------------------------------------------------------------------------------
# BFX Tools
import "https://raw.githubusercontent.com/chopdgd/bfx-tools-wdl/v1.4.0/unix/commands.wdl" as Unix
import "https://raw.githubusercontent.com/chopdgd/bfx-tools-wdl/v1.4.0/snpeff/SnpEff.wdl" as SnpEff
import "https://raw.githubusercontent.com/chopdgd/bfx-tools-wdl/v1.4.0/snpeff/SnpSift.wdl" as SnpSift
import "https://raw.githubusercontent.com/chopdgd/bfx-tools-wdl/v1.4.1/unix/commands.wdl" as Unix
import "https://raw.githubusercontent.com/chopdgd/bfx-tools-wdl/v1.4.1/snpeff/SnpEff.wdl" as SnpEff
import "https://raw.githubusercontent.com/chopdgd/bfx-tools-wdl/v1.4.1/snpeff/SnpSift.wdl" as SnpSift

workflow MitoAnnotation {
input {
Expand Down
Loading

0 comments on commit 674ae5d

Please sign in to comment.