Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
tasks
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
biowdl
tasks
Commits
bf4c1a3e
Commit
bf4c1a3e
authored
3 years ago
by
Cats
Browse files
Options
Downloads
Patches
Plain Diff
adress comments
parent
99215fdd
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
hmftools.wdl
+54
-54
54 additions, 54 deletions
hmftools.wdl
with
54 additions
and
54 deletions
hmftools.wdl
+
54
−
54
View file @
bf4c1a3e
...
...
@@ -22,9 +22,9 @@ version 1.0
task Amber {
input {
String
normal
Name
File
normal
Bam
File
normal
BamIndex
String
reference
Name
File
reference
Bam
File
reference
BamIndex
String tumorName
File tumorBam
File tumorBamIndex
...
...
@@ -43,8 +43,8 @@ task Amber {
command {
AMBER -Xmx~{javaXmx} \
-reference ~{
normal
Name} \
-reference_bam ~{
normal
Bam} \
-reference ~{
reference
Name} \
-reference_bam ~{
reference
Bam} \
-tumor ~{tumorName} \
-tumor_bam ~{tumorBam} \
-output_dir ~{outputDir} \
...
...
@@ -63,8 +63,8 @@ task Amber {
File tumorContaminationVcfIndex = "~{outputDir}/~{tumorName}.amber.contamination.vcf.gz.tbi"
File tumorContaminationTsv = "~{outputDir}/~{tumorName}.amber.contamination.tsv"
File tumorQc = "~{outputDir}/~{tumorName}.amber.qc"
File normalSnpVcf = "~{outputDir}/~{
normal
Name}.amber.snp.vcf.gz"
File normalSnpVcfIndex = "~{outputDir}/~{
normal
Name}.amber.snp.vcf.gz.tbi"
File normalSnpVcf = "~{outputDir}/~{
reference
Name}.amber.snp.vcf.gz"
File normalSnpVcfIndex = "~{outputDir}/~{
reference
Name}.amber.snp.vcf.gz.tbi"
Array[File] outputs = [version, tumorBafPcf, tumorBafTsv, tumorBafVcf, tumorBafVcfIndex,
tumorContaminationVcf, tumorContaminationVcfIndex, tumorContaminationTsv, tumorQc,
normalSnpVcf, normalSnpVcfIndex]
...
...
@@ -78,9 +78,9 @@ task Amber {
}
parameter_meta {
normal
Name: {description: "the name of the normal sample.", category: "required"}
normal
Bam: {description: "The normal BAM file.", category: "required"}
normal
BamIndex: {description: "The index for the normal BAM file.", category: "required"}
reference
Name: {description: "the name of the normal sample.", category: "required"}
reference
Bam: {description: "The normal BAM file.", category: "required"}
reference
BamIndex: {description: "The index for the normal BAM file.", category: "required"}
tumorName: {description: "The name of the tumor sample.", category: "required"}
tumorBam: {description: "The tumor BAM file.", category: "required"}
tumorBamIndex: {description: "The index for the tumor BAM file.", category: "required"}
...
...
@@ -102,9 +102,9 @@ task Amber {
task Cobalt {
input {
String
normal
Name
File
normal
Bam
File
normal
BamIndex
String
reference
Name
File
reference
Bam
File
reference
BamIndex
String tumorName
File tumorBam
File tumorBamIndex
...
...
@@ -120,8 +120,8 @@ task Cobalt {
command {
COBALT -Xmx~{javaXmx} \
-reference ~{
normal
Name} \
-reference_bam ~{
normal
Bam} \
-reference ~{
reference
Name} \
-reference_bam ~{
reference
Bam} \
-tumor ~{tumorName} \
-tumor_bam ~{tumorBam} \
-output_dir ~{outputDir} \
...
...
@@ -131,9 +131,9 @@ task Cobalt {
output {
File version = "~{outputDir}/cobalt.version"
File normalGcMedianTsv = "~{outputDir}/~{
normal
Name}.cobalt.gc.median.tsv"
File normalRationMedianTsv = "~{outputDir}/~{
normal
Name}.cobalt.ratio.median.tsv"
File normalRationPcf = "~{outputDir}/~{
normal
Name}.cobalt.ratio.pcf"
File normalGcMedianTsv = "~{outputDir}/~{
reference
Name}.cobalt.gc.median.tsv"
File normalRationMedianTsv = "~{outputDir}/~{
reference
Name}.cobalt.ratio.median.tsv"
File normalRationPcf = "~{outputDir}/~{
reference
Name}.cobalt.ratio.pcf"
File tumorGcMedianTsv = "~{outputDir}/~{tumorName}.cobalt.gc.median.tsv"
File tumorRatioPcf = "~{outputDir}/~{tumorName}.cobalt.ratio.pcf"
File tumorRatioTsv = "~{outputDir}/~{tumorName}.cobalt.ratio.tsv"
...
...
@@ -150,9 +150,9 @@ task Cobalt {
}
parameter_meta {
normal
Name: {description: "the name of the normal sample.", category: "required"}
normal
Bam: {description: "The normal BAM file.", category: "required"}
normal
BamIndex: {description: "The index for the normal BAM file.", category: "required"}
reference
Name: {description: "the name of the normal sample.", category: "required"}
reference
Bam: {description: "The normal BAM file.", category: "required"}
reference
BamIndex: {description: "The index for the normal BAM file.", category: "required"}
tumorName: {description: "The name of the tumor sample.", category: "required"}
tumorBam: {description: "The tumor BAM file.", category: "required"}
tumorBamIndex: {description: "The index for the tumor BAM file.", category: "required"}
...
...
@@ -279,7 +279,7 @@ task GripssApplicationKt {
File inputVcf
String outputPath = "gripss.vcf.gz"
String tumorName
String
normal
Name
String
reference
Name
File referenceFasta
File referenceFastaFai
File referenceFastaDict
...
...
@@ -287,8 +287,8 @@ task GripssApplicationKt {
File breakendPon
File breakpointPon
String memory = "3
3
G"
String javaXmx = "3
2
G"
String memory = "3
2
G"
String javaXmx = "3
1
G"
Int timeMinutes = 45
String dockerImage = "quay.io/biocontainers/hmftools-gripss:1.11--hdfd78af_0"
}
...
...
@@ -298,7 +298,7 @@ task GripssApplicationKt {
-cp /usr/local/share/hmftools-gripss-1.11-0/gripss.jar \
com.hartwig.hmftools.gripss.GripssApplicationKt \
-tumor ~{tumorName} \
-reference ~{
normal
Name} \
-reference ~{
reference
Name} \
-ref_genome ~{referenceFasta} \
-breakpoint_hotspot ~{breakpointHotspot} \
-breakend_pon ~{breakendPon} \
...
...
@@ -383,9 +383,9 @@ task GripssHardFilterApplicationKt {
task HealthChecker {
input {
String outputDir = "."
String
normal
Name
File
normal
Flagstats
File
normal
Metrics
String
reference
Name
File
reference
Flagstats
File
reference
Metrics
String tumorName
File tumorFlagstats
File tumorMetrics
...
...
@@ -401,9 +401,9 @@ task HealthChecker {
set -e
mkdir -p ~{outputDir}
health-checker -Xmx~{javaXmx} -XX:ParallelGCThreads=1 \
-reference ~{
normal
Name} \
-ref_flagstat_file ~{
normal
Flagstats} \
-ref_wgs_metrics_file ~{
normal
Metrics} \
-reference ~{
reference
Name} \
-ref_flagstat_file ~{
reference
Flagstats} \
-ref_wgs_metrics_file ~{
reference
Metrics} \
-tumor ~{tumorName} \
-tum_flagstat_file ~{tumorFlagstats} \
-tum_wgs_metrics_file ~{tumorMetrics} \
...
...
@@ -425,9 +425,9 @@ task HealthChecker {
parameter_meta {
outputDir: {description: "The path the output will be written to.", category:"required"}
normal
Name: {description: "The name of the normal sample.", category: "required"}
normal
Flagstats: {description: "The flagstats for the normal sample.", category: "required"}
normal
Metrics: {description: "The picard WGS metrics for the normal sample.", category: "required"}
reference
Name: {description: "The name of the normal sample.", category: "required"}
reference
Flagstats: {description: "The flagstats for the normal sample.", category: "required"}
reference
Metrics: {description: "The picard WGS metrics for the normal sample.", category: "required"}
tumorName: {description: "The name of the tumor sample.", category: "required"}
tumorFlagstats: {description: "The flagstats for the tumor sample.", category: "required"}
tumorMetrics: {description: "The picard WGS metrics for the tumor sample.", category: "required"}
...
...
@@ -546,11 +546,11 @@ task Protect {
input {
String refGenomeVersion
String tumorName
String
normal
Name
String
reference
Name
Array[String]+ sampleDoids
String outputDir = "."
Array[File]+ serveActionability
File doid
s
Json
File doidJson
File purplePurity
File purpleQc
File purpleDriverCatalogSomatic
...
...
@@ -576,11 +576,11 @@ task Protect {
protect -Xmx~{javaXmx} \
-ref_genome_version ~{refGenomeVersion} \
-tumor_sample_id ~{tumorName} \
-reference_sample_id ~{
normal
Name} \
-reference_sample_id ~{
reference
Name} \
-primary_tumor_doids '~{sep=";" sampleDoids}' \
-output_dir ~{outputDir} \
-serve_actionability_dir ~{sub(serveActionability[0], basename(serveActionability[0]), "")} \
-doid_json ~{doid
s
Json} \
-doid_json ~{doidJson} \
-purple_purity_tsv ~{purplePurity} \
-purple_qc_file ~{purpleQc} \
-purple_somatic_driver_catalog_tsv ~{purpleDriverCatalogSomatic} \
...
...
@@ -608,11 +608,11 @@ task Protect {
parameter_meta {
refGenomeVersion: {description: "The version of the genome assembly used for alignment. Either \"37\" or \"38\".", category: "required"}
tumorName: {description: "The name of the tumor sample.", category: "required"}
normal
Name: {description: "The name of the normal sample.", category: "required"}
reference
Name: {description: "The name of the normal sample.", category: "required"}
sampleDoids: {description: "The DOIDs (Human Disease Ontology) for the primary tumor.", category: "required"}
outputDir: {description: "The directory the outputs will be written to.", category: "required"}
serveActionability: {description: "The actionability files generated by hmftools' serve.", category: "required"}
doid
s
Json: {description: "A json with the DOID (Human Disease Ontology) tree.", category: "required"}
doidJson: {description: "A json with the DOID (Human Disease Ontology) tree.", category: "required"}
purplePurity: {description: "The purity file generated by purple.", category: "required"}
purpleQc: {description: "The QC file generated by purple.", category: "required"}
purpleDriverCatalogSomatic: {description: "The somatic driver catalog generated by purple.", category: "required"}
...
...
@@ -639,7 +639,7 @@ task Protect {
task Purple {
input {
String
normal
Name
String
reference
Name
String tumorName
String outputDir = "./purple"
Array[File]+ amberOutput
...
...
@@ -667,7 +667,7 @@ task Purple {
command {
PURPLE -Xmx~{javaXmx} \
-reference ~{
normal
Name} \
-reference ~{
reference
Name} \
-tumor ~{tumorName} \
-output_dir ~{outputDir} \
-amber ~{sub(amberOutput[0], basename(amberOutput[0]), "")} \
...
...
@@ -713,7 +713,7 @@ task Purple {
File somaticClonalityPlot = "~{outputDir}/plot/~{tumorName}.somatic.clonality.png"
File somaticPlot = "~{outputDir}/plot/~{tumorName}.somatic.png"
File purpleVersion = "~{outputDir}/purple.version"
File circosNormalRatio = "~{outputDir}/circos/~{
normal
Name}.ratio.circos"
File circosNormalRatio = "~{outputDir}/circos/~{
reference
Name}.ratio.circos"
File circosConf = "~{outputDir}/circos/~{tumorName}.circos.conf"
File circosIndel = "~{outputDir}/circos/~{tumorName}.indel.circos"
File circosLink = "~{outputDir}/circos/~{tumorName}.link.circos"
...
...
@@ -744,7 +744,7 @@ task Purple {
}
parameter_meta {
normal
Name: {description: "the name of the normal sample.", category: "required"}
reference
Name: {description: "the name of the normal sample.", category: "required"}
tumorName: {description: "The name of the tumor sample.", category: "required"}
outputDir: {description: "The path to the output directory.", category: "common"}
amberOutput: {description: "The output files of hmftools amber.", category: "required"}
...
...
@@ -787,9 +787,9 @@ task Sage {
Boolean panelOnly = false
String outputPath = "./sage.vcf.gz"
String?
normal
Name
File?
normal
Bam
File?
normal
BamIndex
String?
reference
Name
File?
reference
Bam
File?
reference
BamIndex
Int? hotspotMinTumorQual
Int? panelMinTumorQual
Int? hotspotMaxGermlineVaf
...
...
@@ -801,8 +801,8 @@ task Sage {
Int threads = 4
String javaXmx = "50G"
String memory = "
60
G"
Int timeMinutes = 1 + ceil(size(select_all([tumorBam,
normal
Bam]), "G") * 9 / threads)
String memory = "
51
G"
Int timeMinutes = 1 + ceil(size(select_all([tumorBam,
reference
Bam]), "G") * 9 / threads)
String dockerImage = "quay.io/biocontainers/hmftools-sage:2.8--hdfd78af_0"
}
...
...
@@ -810,8 +810,8 @@ task Sage {
SAGE -Xmx~{javaXmx} -XX:ParallelGCThreads=1 \
-tumor ~{tumorName} \
-tumor_bam ~{tumorBam} \
~{"-reference " +
normal
Name} \
~{"-reference_bam " +
normal
Bam} \
~{"-reference " +
reference
Name} \
~{"-reference_bam " +
reference
Bam} \
-ref_genome ~{referenceFasta} \
-hotspots ~{hotspots} \
-panel_bed ~{panelBed} \
...
...
@@ -848,9 +848,9 @@ task Sage {
tumorName: {description: "The name of the tumor sample.", category: "required"}
tumorBam: {description: "The BAM file for the tumor sample.", category: "required"}
tumorBamIndex: {description: "The index of the BAM file for the tumor sample.", category: "required"}
normal
Name: {description: "The name of the normal/reference sample.", category: "common"}
normal
Bam: {description: "The BAM file for the normal sample.", category: "common"}
normal
BamIndex: {description: "The index of the BAM file for the normal sample.", category: "common"}
reference
Name: {description: "The name of the normal/reference sample.", category: "common"}
reference
Bam: {description: "The BAM file for the normal sample.", category: "common"}
reference
BamIndex: {description: "The index of the BAM file for the normal sample.", category: "common"}
referenceFasta: {description: "The reference fasta file.", category: "required"}
referenceFastaDict: {description: "The sequence dictionary associated with the reference fasta file.",
category: "required"}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment