-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into helloDockerHostname-update-docker
- Loading branch information
Showing
34 changed files
with
506 additions
and
124 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# parseBatchFile WDL Workflow | ||
|
||
## Overview | ||
xxx | ||
|
||
## Workflow Components | ||
|
||
### Workflow: `parseBatchFile` | ||
xxx | ||
|
||
## Purpose | ||
To check Cromwell failures behavior | ||
|
||
## Version | ||
WDL 1.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
version 1.0 | ||
# This workflow takes a tab separated file where each row is a set of data to be used in each | ||
# of the independent scattered task series that you have as your workflow process. This file | ||
# will, for example, have column names `sampleName`, `bamLocation`, and `bedlocation`. This | ||
# allows you to know that regardless of the order of the columns in your batch file, the correct | ||
# inputs will be used for the tasks you define. | ||
workflow parseBatchFile { | ||
input { | ||
File batchFile | ||
} | ||
Array[Object] batchInfo = read_objects(batchFile) | ||
scatter (job in batchInfo){ | ||
String sampleName = job.sampleName | ||
File bamFile = job.bamLocation | ||
File bedFile = job.bedLocation | ||
|
||
## INSERT YOUR WORKFLOW TO RUN PER LINE IN YOUR BATCH FILE HERE!!!! | ||
call test { | ||
input: in1=sampleName, in2=bamFile, in3=bedFile | ||
} | ||
|
||
} # End Scatter over the batch file | ||
# Outputs that will be retained when execution is complete | ||
output { | ||
Array[File] outputArray = test.item_out | ||
} | ||
# End workflow | ||
} | ||
|
||
#### TASK DEFINITIONS | ||
# echo some text to stdout, treats files as strings just to echo them as a dummy example | ||
task test { | ||
input { | ||
String in1 | ||
String in2 | ||
String in3 | ||
} | ||
command { | ||
echo ~{in1} | ||
echo ~{in2} | ||
echo ~{in3} | ||
} | ||
output { | ||
File item_out = stdout() | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# badValMissingValue WDL Workflow | ||
|
||
## Overview | ||
A test workflow that demonstrates an invalid WDL. | ||
|
||
### Expected error | ||
|
||
``` | ||
Cannot lookup value 'docker_image', it is never declared. Available values are: ['str'] | ||
``` |
File renamed without changes.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.