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
f22018df
Commit
f22018df
authored
6 years ago
by
Cats
Browse files
Options
Downloads
Patches
Plain Diff
link instead of merge if one bam file
parent
e1a70e6e
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!8
Run time settings and additional adjustments
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
common.wdl
+13
-0
13 additions, 0 deletions
common.wdl
samtools.wdl
+6
-1
6 additions, 1 deletion
samtools.wdl
with
19 additions
and
1 deletion
common.wdl
+
13
−
0
View file @
f22018df
...
...
@@ -102,4 +102,17 @@ task appendToStringArray {
runtime {
memory: 1
}
}
task createLink {
File inputFile
String outputPath
command {
ln -sf ${inputFile} ${outputPath}
}
output {
File link = outputPath
}
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
samtools.wdl
+
6
−
1
View file @
f22018df
...
...
@@ -21,7 +21,12 @@ task Merge {
command {
set -e -o pipefail
${preCommand}
samtools merge ${outputBamPath} ${sep=' ' bamFiles}
if [ ${length(bamFiles)} -gt 1 ]
then
samtools merge ${outputBamPath} ${sep=' ' bamFiles}
else
ln -sf ${bamFiles} ${outputBamPath}
fi
}
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