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
5f61dd78
Commit
5f61dd78
authored
4 years ago
by
Cats
Browse files
Options
Downloads
Patches
Plain Diff
fix sage...
parent
48710bb0
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
sage.wdl
+1
-88
1 addition, 88 deletions
sage.wdl
with
1 addition
and
88 deletions
sage.wdl
+
1
−
88
View file @
5f61dd78
...
...
@@ -20,7 +20,7 @@ version 1.0
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
task Sage
Hotspot
{
task Sage {
input {
String tumorName
File tumorBam
...
...
@@ -31,17 +31,11 @@ task SageHotspot {
File referenceFasta
File referenceFastaDict
File referenceFastaFai
<<<<<<< HEAD
File hotspots
File panelBed
File highConfidenceBed
Boolean hg38 = false
String outputPath
=======
File knownHotspots
File codingRegsions
String outputPath = "./sage_hotspot.vcf.gz"
>>>>>>> 2b8e422685de9ea6f63831d8780231a058c1b0cb
Int threads = 2
String javaXmx = "32G"
...
...
@@ -75,12 +69,8 @@ task SageHotspot {
}
runtime {
<<<<<<< HEAD
time_minutes: timeMinutes # !UnknownRuntimeKey
cpu: threads
=======
time_minutes: timeMinutes
>>>>>>> 2b8e422685de9ea6f63831d8780231a058c1b0cb
docker: dockerImage
memory: memory
}
...
...
@@ -108,80 +98,3 @@ task SageHotspot {
category: "advanced"}
}
}
task Sage {
input {
String tumorName
File tumorBam
String? normalName
File? normalBam
File referenceFasta
File referenceFastaFai
File referenceFastaDict
File hotspots
File panelBed
File highConfidenceBed
String assembly = "hg38"
String outputPath = "./sage.vcf.gz"
Int timeMinutes = 60 #FIXME I've no idea how long this takes...
String javaXmx = "32G"
String memory = "33G"
Int threads = 2
String dockerImage = "quay.io/biocontainers/hmftools-sage:2.2--0"
}
command {
java -Xmx~{javaXmx} \
-cp /usr/local/share/hmftools-sage-2.2-0/sage.jar \
com.hartwig.hmftools.sage.SageApplication \
-tumor ~{tumorName} \
-tumor_bam ~{tumorBam} \
~{"-reference " + normalName} \
~{"-reference_bam " + normalBam} \
-ref_genome ~{referenceFasta} \
-hotspots ~{hotspots} \
-panel_bed ~{panelBed} \
-high_confidence_bed ~{highConfidenceBed} \
-assembly ~{assembly} \
-threads ~{threads} \
-out ~{outputPath}
}
output {
File outputVcf = outputPath
}
runtime {
time_minutes: timeMinutes
cpu: threads
docker: dockerImage
memory: memory
}
parameter_meta {
tumorName: {description: "The name of the tumor sample.", category: "required"}
tumorBam: {description: "The BAM file for the tumor sample.", category: "required"}
tumorBai: {description: "The index of the BAM file for the tumor sample.", category: "required"}
normalName: {description: "The name of the normal/reference sample.", category: "common"}
normalBam: {description: "The BAM file for the normal sample.", category: "common"}
normalBai: {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"}
referenceFastaFai: {description: "The index for the reference fasta file.", category: "required"}
hotspots: {description: "A VCF file containg hotspot variant sites.", category: "required"}
panelBed: {description: "A bed file containing a panel of genes of intrest.", category: "required"}
highConfidenceBed: {description: "A bed file containing high confidence regions.", category: "required"}
assembly: {description: "The genome assembly used, either \"hg19\" or \"hg38\".", category: "common"}
outputPath: {description: "The path to write the output VCF to.", category: "common"}
threads: {description: "The number of threads to be used.", category: "advanced"}
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"}
}
}
\ No newline at end of file
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