Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
biowdl
tasks
Commits
adad218b
Commit
adad218b
authored
Jun 14, 2021
by
Boom
Browse files
Test tool without localization.
parent
e034874e
Changes
1
Hide whitespace changes
Inline
Side-by-side
bam2fastx.wdl
View file @
adad218b
...
...
@@ -103,31 +103,16 @@ task Bam2Fastq {
String dockerImage = "quay.io/biocontainers/bam2fastx:1.3.1--hf05d43a_1"
}
command
<<<
command
{
set -e
mkdir -p "$(dirname ~{outputPrefix})"
# Localise the bam and pbi files so they are next to each other in the
# current folder.
bamFiles=""
for bamFile in ~{sep=" " bam}
do
ln -s ${bamFile} ./
bamFiles=${bamFiles}" ./$(basename ${bamFile})"
done
for indexFile in ~{sep=" " bamIndex}
do
ln -s ${indexFile} ./
done
bam2fastq \
--output ~{outputPrefix} \
-c ~{compressionLevel} \
~{true="--split-barcodes" false="" splitByBarcode} \
~{"--seqid-prefix " + seqIdPrefix} \
$
{bam
Files
}
>>>
~
{bam}
}
output {
File fastqFile = outputPrefix + ".fastq.gz"
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment