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
01df29ba
Commit
01df29ba
authored
4 years ago
by
JasperBoom
Browse files
Options
Downloads
Patches
Plain Diff
Change lima outputs.
parent
16046798
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
CHANGELOG.md
+1
-2
1 addition, 2 deletions
CHANGELOG.md
bam2fastx.wdl
+2
-12
2 additions, 12 deletions
bam2fastx.wdl
lima.wdl
+6
-3
6 additions, 3 deletions
lima.wdl
with
9 additions
and
17 deletions
CHANGELOG.md
+
1
−
2
View file @
01df29ba
...
...
@@ -11,8 +11,7 @@ that users understand how the changes affect the new version.
version 4.1.0-dev
---------------------------
+
Add copy command to bam2fastx tasks to make sure bam file and its index are
always in the same directory.
+
Remove globs from lima outputs.
+
Added a task for GRIDSS.
+
Add wdl file for pacbio's bam2fastx tool.
...
...
This diff is collapsed.
Click to expand it.
bam2fastx.wdl
+
2
−
12
View file @
01df29ba
...
...
@@ -24,7 +24,6 @@ task Bam2Fasta {
input {
File inputFile
File bamIndex
String basenameInputFile = basename(inputFile)
String outputPrefix
Int compressionLevel = 1
Boolean splitByBarcode = false
...
...
@@ -39,16 +38,12 @@ task Bam2Fasta {
command {
set -e
mkdir -p "$(dirname ~{outputPrefix})"
# The bam file and its index need to be in the same directory.
# Cromwell will put them in separate iputs folders.
cp ~{inputFile} ./
cp ~{bamIndex} ./
bam2fasta \
--output ~{outputPrefix} \
-c ~{compressionLevel} \
~{true="--split-barcodes" false="" splitByBarcode} \
~{"--seqid-prefix " + seqIdPrefix} \
./~{basenameI
nputFile}
~{i
nputFile}
}
output {
...
...
@@ -81,7 +76,6 @@ task Bam2Fasta {
task Bam2Fastq {
input {
File inputFile
String basenameInputFile = basename(inputFile)
File bamIndex
String outputPrefix
Int compressionLevel = 1
...
...
@@ -97,16 +91,12 @@ task Bam2Fastq {
command {
set -e
mkdir -p "$(dirname ~{outputPrefix})"
# The bam file and its index need to be in the same directory.
# Cromwell will put them in separate iputs folders.
cp ~{inputFile} ./
cp ~{bamIndex} ./
bam2fastq \
--output ~{outputPrefix} \
-c ~{compressionLevel} \
~{true="--split-barcodes" false="" splitByBarcode} \
~{"--seqid-prefix " + seqIdPrefix} \
./~{basenameI
nputFile}
~{i
nputFile}
}
output {
...
...
This diff is collapsed.
Click to expand it.
lima.wdl
+
6
−
3
View file @
01df29ba
...
...
@@ -95,12 +95,15 @@ task Lima {
cp "~{basename(outputPrefix)}.fl.lima.counts" "~{outputPrefix}.fl.lima.counts"
cp "~{basename(outputPrefix)}.fl.lima.report" "~{outputPrefix}.fl.lima.report"
cp "~{basename(outputPrefix)}.fl.lima.summary" "~{outputPrefix}.fl.lima.summary"
find . -path "*.bam" > bamFiles.txt
find . -path "*.bam.pbi" > bamIndexes.txt
find . -path "*.subreadset.xml" > subreadsets.txt
}
output {
Array[File] limaBam =
glob("*.bam
")
Array[File] limaBamIndex =
glob("*.bam.pbi
")
Array[File] limaXml =
glob("*.
subreadset
.xml
")
Array[File] limaBam =
read_lines("bamFiles.txt
")
Array[File] limaBamIndex =
read_lines("bamIndexes.txt
")
Array[File] limaXml =
read_lines("
subreadset
s.txt
")
File limaStderr = outputPrefix + ".fl.stderr.log"
File limaJson = outputPrefix + ".fl.json"
File limaCounts = outputPrefix + ".fl.lima.counts"
...
...
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