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
fc01ad36
Commit
fc01ad36
authored
6 years ago
by
Pappas
Browse files
Options
Downloads
Patches
Plain Diff
Various style fixes
parent
d8fd7569
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!16
Centrifuge related changes
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
biopet.wdl
+16
-14
16 additions, 14 deletions
biopet.wdl
with
16 additions
and
14 deletions
biopet.wdl
+
16
−
14
View file @
fc01ad36
...
...
@@ -12,8 +12,8 @@ task BaseCounter {
Float? memory
Float? memoryMultiplier
Int mem = ceil(select_first([memory, 12.0]))
command {
set -e -o pipefail
mkdir -p ${outputDir}
...
...
@@ -72,7 +72,7 @@ task FastqSplitter {
File inputFastq
String outputPath
Int numberChunks
String
tool
_j
ar
File
tool
J
ar
Array[Int] chunks = range(numberChunks)
command {
...
...
@@ -81,7 +81,7 @@ task FastqSplitter {
mkdir -p ${sep=' ' prefix(outputPath + "/chunk_", chunks)}
if [ ${numberChunks} -gt 1 ]; then
SEP="/${basename(inputFastq)} -o "
java -jar ${tool
_j
ar} -I ${inputFastq} -o ${sep='$SEP' prefix(outputPath + "/chunk_", chunks)}/${basename(inputFastq)}
java -jar ${tool
J
ar} -I ${inputFastq} -o ${sep='$SEP' prefix(outputPath + "/chunk_", chunks)}/${basename(inputFastq)}
else
ln -sf ${inputFastq} ${outputPath}/chunk_0/${basename(inputFastq)}
fi
...
...
@@ -100,12 +100,13 @@ task FastqSync {
File in2
String out1path
String out2path
File tool_jar
File toolJar
command {
set -e -o pipefail
${preCommand}
mkdir -p $(dirname ${out1path}) $(dirname ${out2path})
java -jar ${tool
_j
ar} \
java -jar ${tool
J
ar} \
--in1 ${in1} \
--in2 ${in2} \
--ref1 ${ref1} \
...
...
@@ -113,6 +114,7 @@ task FastqSync {
--out1 ${out1path} \
--out2 ${out2path}
}
output {
File out1 = out1path
File out2 = out2path
...
...
@@ -121,7 +123,7 @@ task FastqSync {
task SampleConfig {
String? preCommand
String
tool
_j
ar
File
tool
J
ar
Array[File]+ inputFiles
String keyFilePath
String? sample
...
...
@@ -132,13 +134,13 @@ task SampleConfig {
Float? memory
Float? memoryMultiplier
Int mem = ceil(select_first([memory, 4.0]))
command {
set -e -o pipefail
${preCommand}
mkdir -p . ${"$(dirname " + jsonOutputPath + ")"} ${"$(dirname " + tsvOutputPath + ")"}
java -Xmx${mem}G -jar ${tool
_j
ar} \
java -Xmx${mem}G -jar ${tool
J
ar} \
-i ${sep="-i " inputFiles} \
${"--sample " + sample} \
${"--library " + library} \
...
...
@@ -161,23 +163,23 @@ task SampleConfig {
task ScatterRegions {
String? preCommand
File ref
_f
asta
File ref
_d
ict
File ref
F
asta
File ref
D
ict
String outputDirPath
String
tool
_j
ar
File
tool
J
ar
Int? scatterSize
File? regions
Float? memory
Float? memoryMultiplier
Int mem = ceil(select_first([memory, 4.0]))
command {
set -e -o pipefail
${preCommand}
mkdir -p ${outputDirPath}
java -Xmx${mem}G -jar ${tool
_j
ar} \
-R ${ref
_f
asta} \
java -Xmx${mem}G -jar ${tool
J
ar} \
-R ${ref
F
asta} \
-o ${outputDirPath} \
${"-s " + scatterSize} \
${"-L " + regions}
...
...
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