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
2de46d0a
Commit
2de46d0a
authored
6 years ago
by
Ruben Vorderman
Browse files
Options
Downloads
Patches
Plain Diff
new style variable things
parent
758de0e5
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!34
Move all files to version 1.0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
bioconda.wdl
+4
-4
4 additions, 4 deletions
bioconda.wdl
biopet.wdl
+69
-69
69 additions, 69 deletions
biopet.wdl
with
73 additions
and
73 deletions
bioconda.wdl
+
4
−
4
View file @
2de46d0a
...
...
@@ -9,8 +9,8 @@ task installPrefix {
String prefix
String? condaPath
}
command
{
$
{default="conda" condaPath} create \
command
<<<
~
{default="conda" condaPath} create \
--json -q \
--yes \
--override-channels \
...
...
@@ -19,8 +19,8 @@ task installPrefix {
--channel defaults \
--channel r \
--prefix ${prefix} \
$
{sep=' ' requirements}
}
~
{sep=' ' requirements}
>>>
output {
File condaEnvPath=prefix
File condaJson=stdout()
...
...
This diff is collapsed.
Click to expand it.
biopet.wdl
+
69
−
69
View file @
2de46d0a
...
...
@@ -21,13 +21,13 @@ task BaseCounter {
command {
set -e -o pipefail
mkdir -p
$
{outputDir}
$
{preCommand}
$
{toolCommand} \
-b
$
{bam} \
-r
$
{refFlat} \
-o
$
{outputDir} \
-p
$
{prefix}
mkdir -p
~
{outputDir}
~
{preCommand}
~
{toolCommand} \
-b
~
{bam} \
-r
~
{refFlat} \
-o
~
{outputDir} \
-p
~
{prefix}
}
output {
...
...
@@ -97,17 +97,17 @@ task ExtractAdaptersFastqc {
command {
set -e
$
{preCommand}
mkdir -p
$
{outputDir}
$
{toolCommand} \
--inputFile
$
{inputFile} \
$
{"--adapterOutputFile " + adapterOutputFilePath } \
$
{"--contamsOutputFile " + contamsOutputFilePath } \
$
{"--knownContamFile " + knownContamFile} \
$
{"--knownAdapterFile " + knownAdapterFile} \
$
{"--adapterCutoff " + adapterCutoff} \
$
{true="--skipContams" false="" skipContams} \
$
{true="--outputAsFasta" false="" outputAsFasta}
~
{preCommand}
mkdir -p
~
{outputDir}
~
{toolCommand} \
--inputFile
~
{inputFile} \
~
{"--adapterOutputFile " + adapterOutputFilePath } \
~
{"--contamsOutputFile " + contamsOutputFilePath } \
~
{"--knownContamFile " + knownContamFile} \
~
{"--knownAdapterFile " + knownAdapterFile} \
~
{"--adapterCutoff " + adapterCutoff} \
~
{true="--skipContams" false="" skipContams} \
~
{true="--outputAsFasta" false="" outputAsFasta}
}
output {
...
...
@@ -140,14 +140,14 @@ task FastqSplitter {
command {
set -e -o pipefail
$
{preCommand}
mkdir -p $(dirname
$
{sep=') $(dirname ' outputPaths})
if [
$
{length(outputPaths)} -gt 1 ]; then
$
{toolCommand} \
-I
$
{inputFastq} \
-o
$
{sep=' -o ' outputPaths}
~
{preCommand}
mkdir -p $(dirname
~
{sep=') $(dirname ' outputPaths})
if [
~
{length(outputPaths)} -gt 1 ]; then
~
{toolCommand} \
-I
~
{inputFastq} \
-o
~
{sep=' -o ' outputPaths}
else
ln -sf
$
{inputFastq}
$
{outputPaths[0]}
ln -sf
~
{inputFastq}
~
{outputPaths[0]}
fi
}
...
...
@@ -182,15 +182,15 @@ task FastqSync {
command {
set -e -o pipefail
$
{preCommand}
mkdir -p $(dirname
$
{out1path}) $(dirname
$
{out2path})
$
{toolCommand} \
--in1
$
{in1} \
--in2
$
{in2} \
--ref1
$
{ref1} \
--ref2
$
{ref2} \
--out1
$
{out1path} \
--out2
$
{out2path}
~
{preCommand}
mkdir -p $(dirname
~
{out1path}) $(dirname
~
{out2path})
~
{toolCommand} \
--in1
~
{in1} \
--in2
~
{in2} \
--ref1
~
{ref1} \
--ref2
~
{ref2} \
--out1
~
{out1path} \
--out2
~
{out2path}
}
output {
...
...
@@ -226,16 +226,16 @@ task SampleConfig {
command {
set -e -o pipefail
$
{preCommand}
mkdir -p .
$
{"$(dirname " + jsonOutputPath + ")"}
$
{"$(dirname " + tsvOutputPath + ")"}
$
{toolCommand} \
-i
$
{sep="-i " inputFiles} \
$
{"--sample " + sample} \
$
{"--library " + library} \
$
{"--readgroup " + readgroup} \
$
{"--jsonOutput " + jsonOutputPath} \
$
{"--tsvOutput " + tsvOutputPath} \
>
$
{keyFilePath}
~
{preCommand}
mkdir -p .
~
{"$(dirname " + jsonOutputPath + ")"}
~
{"$(dirname " + tsvOutputPath + ")"}
~
{toolCommand} \
-i
~
{sep="-i " inputFiles} \
~
{"--sample " + sample} \
~
{"--library " + library} \
~
{"--readgroup " + readgroup} \
~
{"--jsonOutput " + jsonOutputPath} \
~
{"--tsvOutput " + tsvOutputPath} \
>
~
{keyFilePath}
}
output {
...
...
@@ -270,13 +270,13 @@ task ScatterRegions {
command {
set -e -o pipefail
$
{preCommand}
mkdir -p
$
{outputDirPath}
$
{toolCommand} \
-R
$
{refFasta} \
-o
$
{outputDirPath} \
$
{"-s " + scatterSize} \
$
{"-L " + regions}
~
{preCommand}
mkdir -p
~
{outputDirPath}
~
{toolCommand} \
-R
~
{refFasta} \
-o
~
{outputDirPath} \
~
{"-s " + scatterSize} \
~
{"-L " + regions}
}
output {
...
...
@@ -305,11 +305,11 @@ task Seqstat {
command {
set -e -o pipefail
$
{preCommand}
mkdir -p $(dirname
$
{outputFile})
$
{toolCommand} \
--fastq
$
{fastq} \
--output
$
{outputFile}
~
{preCommand}
mkdir -p $(dirname
~
{outputFile})
~
{toolCommand} \
--fastq
~
{fastq} \
--output
~
{outputFile}
}
output {
...
...
@@ -339,11 +339,11 @@ task ValidateAnnotation {
command {
set -e -o pipefail
$
{preCommand}
$
{toolCommand} \
$
{"-r" + refRefflat} \
$
{"-g" + gtfFile} \
-R
$
{refFasta}
~
{preCommand}
~
{toolCommand} \
~
{"-r" + refRefflat} \
~
{"-g" + gtfFile} \
-R
~
{refFasta}
}
output {
...
...
@@ -373,10 +373,10 @@ task ValidateFastq {
command {
set -e -o pipefail
$
{preCommand}
$
{toolCommand}\
--fastq1
$
{fastq1} \
$
{"--fastq2 " + fastq2}
~
{preCommand}
~
{toolCommand}\
--fastq1
~
{fastq1} \
~
{"--fastq2 " + fastq2}
}
output {
...
...
@@ -406,10 +406,10 @@ task ValidateVcf {
command {
set -e -o pipefail
$
{preCommand}
$
{toolCommand}\
-i
$
{vcfFile} \
-R
$
{refFasta}
~
{preCommand}
~
{toolCommand}\
-i
~
{vcfFile} \
-R
~
{refFasta}
}
output {
...
...
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