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
235fb43f
Commit
235fb43f
authored
3 years ago
by
JasperBoom
Browse files
Options
Downloads
Patches
Plain Diff
Revert changes to WDL file.
parent
734c4037
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
bam2fastx.wdl
+17
-12
17 additions, 12 deletions
bam2fastx.wdl
with
17 additions
and
12 deletions
bam2fastx.wdl
+
17
−
12
View file @
235fb43f
...
...
@@ -35,7 +35,7 @@ task Bam2Fasta {
String dockerImage = "quay.io/biocontainers/bam2fastx:1.3.1--hf05d43a_1"
}
command
<<<
command
{
set -e
mkdir -p "$(dirname ~{outputPrefix})"
...
...
@@ -44,13 +44,13 @@ task Bam2Fasta {
bamFiles=""
for bamFile in ~{sep=" " bam}
do
ln
-s ${
bamFile
}
.
/
bamFiles=$
{
bamFiles
}
"
./
$(basename $
{
bamFile
}
)"
ln
$
bamFile .
bamFiles=$bamFiles" $(basename $bamFile)"
done
for index
File
in ~{sep=" " bamIndex}
for index in ~{sep=" " bamIndex}
do
ln
-s ${indexFile}
.
/
ln
$index
.
done
bam2fasta \
...
...
@@ -58,8 +58,8 @@ task Bam2Fasta {
-c ~{compressionLevel} \
~{true="--split-barcodes" false="" splitByBarcode} \
~{"--seqid-prefix " + seqIdPrefix} \
$
{
bamFiles
}
>>>
$bamFiles
}
output {
File fastaFile = outputPrefix + ".fasta.gz"
...
...
@@ -103,7 +103,7 @@ task Bam2Fastq {
String dockerImage = "quay.io/biocontainers/bam2fastx:1.3.1--hf05d43a_1"
}
command
<<<
command
{
set -e
mkdir -p "$(dirname ~{outputPrefix})"
...
...
@@ -112,8 +112,13 @@ task Bam2Fastq {
bamFiles=""
for bamFile in ~{sep=" " bam}
do
fullPathBam=$(readlink -f ${bamFile})
bamFiles=${bamFiles}" ${fullPathBam}"
ln $bamFile .
bamFiles=$bamFiles" $(basename $bamFile)"
done
for index in ~{sep=" " bamIndex}
do
ln $index .
done
bam2fastq \
...
...
@@ -121,8 +126,8 @@ task Bam2Fastq {
-c ~{compressionLevel} \
~{true="--split-barcodes" false="" splitByBarcode} \
~{"--seqid-prefix " + seqIdPrefix} \
$
{
bamFiles
}
>>>
$bamFiles
}
output {
File fastqFile = outputPrefix + ".fastq.gz"
...
...
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