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
f169d785
Commit
f169d785
authored
3 years ago
by
Cats
Browse files
Options
Downloads
Patches
Plain Diff
add protect
parent
c2f223eb
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
hmftools.wdl
+95
-0
95 additions, 0 deletions
hmftools.wdl
with
95 additions
and
0 deletions
hmftools.wdl
+
95
−
0
View file @
f169d785
...
...
@@ -542,6 +542,101 @@ task Linx {
}
}
task Protect {
input {
String refGenomeVersion
String tumorName
String normalName
Array[String]+ sampleDoids
String outputDir = "."
Array[File]+ serveActionability
File doidsJson
File purplePurity
File purpleQc
File purpleDriverCatalogSomatic
File purpleDriverCatalogGermline
File purpleSomaticVariants
File purpleSomaticVariantsIndex
File purpleGermlineVariants
File purpleGermlineVariantsIndex
File purpleGeneCopyNumber
File linxFusion
File linxBreakend
File linxDriversCatalog
File chordPrediction
File annotatedVirus
String memory = "9G"
String javaXmx = "8G"
Int timeMinutes = 60
String dockerImage = "quay.io/biowdl/protect:v1.4"
}
command {
protect -Xmx~{javaXmx} \
-ref_genome_version ~{refGenomeVersion} \
-tumor_sample_id ~{tumorName} \
-reference_sample_id ~{normalName} \
-primary_tumor_doids ~{sep=";" sampleDoids} \
-output_dir ~{outputDir} \
-serve_actionability_dir ~{sub(serveActionability[0], basename(serveActionability[0]), "")} \
-doid_json ~{doidsJson} \
-purple_purity_tsv ~{purplePurity} \
-purple_qc_file ~{purpleQc} \
-purple_somatic_driver_catalog_tsv ~{purpleDriverCatalogSomatic} \
-purple_germline_driver_catalog_tsv ~{purpleDriverCatalogGermline} \
-purple_somatic_variant_vcf ~{purpleSomaticVariants} \
-purple_germline_variant_vcf ~{purpleGermlineVariants} \
-purple_gene_copy_number_tsv ~{purpleGeneCopyNumber} \
-linx_fusion_tsv ~{linxFusion} \
-linx_breakend_tsv ~{linxBreakend} \
-linx_driver_catalog_tsv ~{linxDriversCatalog} \
-chord_prediction_txt ~{chordPrediction} \
-annotated_virus_tsv ~{annotatedVirus}
}
output {
File protectTsv = "~{outputDir}/~{tumorName}.protect.tsv"
}
runtime {
time_minutes: timeMinutes # !UnknownRuntimeKey
docker: dockerImage
memory: memory
}
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"}
normalName: {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"}
doidsJson: {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"}
purpleDriverCatalogGermline: {description: "The germline driver catalog generated by purple.", category: "required"}
purpleSomaticVariants: {description: "The somatic VCF generated by purple.", category: "required"}
purpleSomaticVariantsIndex: {description: "The index for the somatic VCF generated by purple.", category: "required"}
purpleGermlineVariants: {description: "The germline VCF generated by purple.", category: "required"}
purpleGermlineVariantsIndex: {description: "The index of the germline VCF generated by purple.", category: "required"}
purpleGeneCopyNumber: {description: "The gene copy number file generated by purple.", category: "required"}
linxFusion: {description: "The fusion file generated by linx.", category: "required"}
linxBreakend: {description: "The breakend file generated by linx.", category: "required"}
linxDriversCatalog: {description: "The driver catalog generated generated by linx.", category: "required"}
chordPrediction: {description: "The chord prediction file.", category: "required"}
annotatedVirus: {description: "The virus-interpreter output.", category: "required"}
memory: {description: "The amount of memory this job will use.", category: "advanced"}
javaXmx: {description: "The maximum memory available to the program. Should be lower than `memory` to accommodate JVM overhead.",
category: "advanced"}
timeMinutes: {description: "The maximum amount of time the job will run in minutes.", category: "advanced"}
dockerImage: {description: "The docker image used for this task. Changing this may result in errors which the developers may choose not to address.",
category: "advanced"}
}
}
task Purple {
input {
String normalName
...
...
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