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
19de2c0f
Commit
19de2c0f
authored
7 years ago
by
DavyCats
Browse files
Options
Downloads
Patches
Plain Diff
update star.wdl
parent
568e9c2e
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!2
Star
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
star.wdl
+11
-6
11 additions, 6 deletions
star.wdl
with
11 additions
and
6 deletions
star.wdl
+
11
−
6
View file @
19de2c0f
task Star {
String? preCommand
File inputR1
File? inputR2
Array[
File
]
inputR1
Array[
File
]
? inputR2
String genomeDir
String outFileNamePrefix
...
...
@@ -11,16 +11,17 @@ task Star {
Int? runThreadN
String? outStd
String? twopassMode
String? outSAMattrRGline
Array[
String
]
? outSAMattrRGline
Map[String, String] samOutputNames = {"BAM SortedByCoordinate": "sortedByCoord.out.bam"} #needs to be extended for all possible values
#TODO needs to be extended for all possible output extensions
Map[String, String] samOutputNames = {"BAM SortedByCoordinate": "sortedByCoord.out.bam"}
command {
set -e -o pipefail
mkdir -p ${sub(outFileNamePrefix, basename(outFileNamePrefix) + "$", "")}
${preCommand}
STAR \
--readFilesIn ${inputR1} ${inputR2} \
--readFilesIn ${
sep=','
inputR1} ${
sep=","
inputR2} \
--outFileNamePrefix ${outFileNamePrefix} \
--genomeDir ${genomeDir} \
${"--readFilesCommand " + readFilesCommand} \
...
...
@@ -28,10 +29,14 @@ task Star {
${"--runThreadN " + runThreadN} \
${"--outStd " + outStd} \
${"--twopassMode " + twopassMode} \
${"--outSAMattrRGline "
+
outSAMattrRGline}
${
true=
"--outSAMattrRGline "
false="" defined(outSAMattrRGline)} ${sep=" , "
outSAMattrRGline}
}
output {
File bamFile = outFileNamePrefix + "Aligned." + samOutputNames["${outSAMtype}"]
}
runtime {
threads: runThreadN
}
}
\ 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