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
a8a06cd7
Commit
a8a06cd7
authored
7 years ago
by
DavyCats
Browse files
Options
Downloads
Patches
Plain Diff
add star task
parent
034e9ac2
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!2
Star
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitignore
+1
-0
1 addition, 0 deletions
.gitignore
star.wdl
+37
-0
37 additions, 0 deletions
star.wdl
with
38 additions
and
0 deletions
.gitignore
0 → 100644
+
1
−
0
View file @
a8a06cd7
.idea/
This diff is collapsed.
Click to expand it.
star.wdl
0 → 100644
+
37
−
0
View file @
a8a06cd7
task Star {
String? preCommand
File inputR1
File? inputR2
String genomeDir
String outFileNamePrefix
String? outSAMtype = "BAM SortedByCoordinate"
String? readFilesCommand = "zcat"
Int? runThreadN
String? outStd
String? twopassMode
String? outSAMattrRGline
Map[String, String] samOutputNames = {"BAM SortedByCoordinate": "sortedByCoord.out.bam"} #needs to be extended for all possible values
command {
set -e -o pipefail
mkdir -p ${sub(outFileNamePrefix, basename(outFileNamePrefix) + "$", "")}
${preCommand}
STAR \
--readFilesIn ${inputR1} ${inputR2} \
--outFileNamePrefix ${outFileNamePrefix} \
--genomeDir ${genomeDir} \
${"--readFilesCommand " + readFilesCommand} \
${"--outSAMtype " + outSAMtype} \
${"--runThreadN " + runThreadN} \
${"--outStd " + outStd} \
${"--twopassMode " + twopassMode} \
${"--outSAMattrRGline " + outSAMattrRGline}
}
output {
File bamFile = outFileNamePrefix + "Aligned." + samOutputNames["${outSAMtype}"]
}
}
\ 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