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
91da0d8f
Commit
91da0d8f
authored
6 years ago
by
Ruben Vorderman
Browse files
Options
Downloads
Patches
Plain Diff
unicycler to 1.0
parent
ebc94bdb
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!34
Move all files to version 1.0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
spades.wdl
+2
-2
2 additions, 2 deletions
spades.wdl
unicycler.wdl
+91
-89
91 additions, 89 deletions
unicycler.wdl
with
93 additions
and
91 deletions
spades.wdl
+
2
−
2
View file @
91da0d8f
...
...
@@ -24,14 +24,14 @@ task spades {
Boolean? disableGzipOutput
Boolean? disableRepeatResolution
File? dataset
Int? threads
Int? threads
= 1
Float? memoryGb
File? tmpDir
String? k
Float? covCutoff
Int? phredOffset
}
Int finalThreads = select_first([threads
,1
])
Int finalThreads = select_first([threads])
Float totalMemory = select_first([memoryGb, finalThreads * 16.0])
Int finalMemory = ceil(totalMemory)
Int clusterMemory = ceil(totalMemory / finalThreads)
...
...
This diff is collapsed.
Click to expand it.
unicycler.wdl
+
91
−
89
View file @
91da0d8f
version 1.0
task unicycler {
String? preCommand
File? short1
File? short
2
File?
unpaired
File?
long
String out
Int? verbosity
Int?
minFastaLength
Int?
keep
Boolean? vcf
Int? threads
Int?
memory
Int
finalThreads = select_first(threads, 1)
Int finalMemory = select_first(memory, 4)
String? mode
Floa
t?
m
in
BridgeQual
Int? linearSeqs
File? spadesPath
Boolean? noCorrect
Float? m
in
KmerFrac
Float? maxKmerFrac
Int? kmerCount
Float? depthFilter
Boolean? noMiniasm
File?
raconPath
File? existingLongReadAssembly
Boolean? noRotate
F
ile
? startGene
s
Float? startGene
Id
Float? startGeneCov
String? make
blast
db
Path
File? tblastnPath
Boolean? noPilon
File? bowtie2Path
File?
bowtie2build
Path
File?
samtools
Path
File?
pilon
Path
File? javaPath
Int? minPolishSize
File? bcftoolsPath
Int? min
Component
Size
Int? minDeadEndSize
File
? co
ntamination
String?
s
core
s
String? lowScore
input {
String? preCommand
File? short
1
File?
short2
File?
unpaired
File? long
String out
Int?
verbosity
Int?
minFastaLength
Int? keep
Boolean? vcf
Int?
threads = 1
Int
? memory = 4
String? mode
Float? minBridgeQual
In
t?
l
in
earSeqs
File? spadesPath
Boolean? noCorrect
Float? minKmerFrac
Float? m
ax
KmerFrac
Int? kmerCount
Float? depthFilter
Boolean? noMiniasm
File? raconPath
File?
existingLongReadAssembly
Boolean? noRotate
File? startGenes
F
loat
? startGene
Id
Float? startGene
Cov
String? makeblastdbPath
File? t
blast
n
Path
Boolean? noPilon
File? bowtie2Path
File? bowtie2
build
Path
File?
samtools
Path
File?
pilon
Path
File?
java
Path
Int? minPolishSize
File? bcftoolsPath
Int? minComponentSize
Int? min
DeadEnd
Size
File? contamination
String
?
s
co
res
String?
lowS
core
}
command {
set -e -o pipefail
mkdir -p
$
{out}
$
{preCommand}
mkdir -p
~
{out}
~
{preCommand}
unicycler \
$
{"--short1 " + short1} \
$
{"--short2 " + short2} \
$
{"--unpaired " + unpaired} \
$
{"--long " + long} \
--out
$
{out} \
$
{"--min_fasta_length " + minFastaLength} \
$
{"--keep " + keep } \
$
{true="--vcf" false="" vcf } \
$
{"--threads " +
finalT
hreads } \
$
{"--mode " + mode } \
$
{"--min_bridge_qual " + minBridgeQual } \
$
{"--linear_seqs " + linearSeqs } \
$
{"--spades_path " + spadesPath } \
$
{true="--no_correct" false="" noCorrect } \
$
{"--min_kmer_frac " + minKmerFrac } \
$
{"--max_kmer_frac " + maxKmerFrac } \
$
{"--kmer_count " + kmerCount } \
$
{"--depth_filter " + depthFilter } \
$
{true="--no_miniasm" false="" noMiniasm } \
$
{"--racon_path " + raconPath } \
$
{"--existing_long_read_assembly " + existingLongReadAssembly } \
$
{true="--no_rotate" false="" noRotate } \
$
{"--start_genes " + startGenes } \
$
{"--start_gene_id " + startGeneId } \
$
{"--start_gene_cov " + startGeneCov } \
$
{"--makeblastdb_path " + makeblastdbPath } \
$
{"--tblastn_path " + tblastnPath } \
$
{true="--no_pilon" false="" noPilon } \
$
{"--bowtie2_path " + bowtie2Path } \
$
{"--bowtie2_build_path " + bowtie2buildPath } \
$
{"--samtools_path " + samtoolsPath } \
$
{"--pilon_path " + pilonPath } \
$
{"--java_path " + javaPath } \
$
{"--min_polish_size " + minPolishSize } \
$
{"--bcftools_path " + bcftoolsPath } \
$
{"--min_component_size " + minComponentSize } \
$
{"--min_dead_end_size " + minDeadEndSize } \
$
{"--contamination " + contamination } \
$
{"--scores " + scores } \
$
{"--low_score " + lowScore }
~
{"--short1 " + short1} \
~
{"--short2 " + short2} \
~
{"--unpaired " + unpaired} \
~
{"--long " + long} \
--out
~
{out} \
~
{"--min_fasta_length " + minFastaLength} \
~
{"--keep " + keep } \
~
{true="--vcf" false="" vcf } \
~
{"--threads " +
t
hreads } \
~
{"--mode " + mode } \
~
{"--min_bridge_qual " + minBridgeQual } \
~
{"--linear_seqs " + linearSeqs } \
~
{"--spades_path " + spadesPath } \
~
{true="--no_correct" false="" noCorrect } \
~
{"--min_kmer_frac " + minKmerFrac } \
~
{"--max_kmer_frac " + maxKmerFrac } \
~
{"--kmer_count " + kmerCount } \
~
{"--depth_filter " + depthFilter } \
~
{true="--no_miniasm" false="" noMiniasm } \
~
{"--racon_path " + raconPath } \
~
{"--existing_long_read_assembly " + existingLongReadAssembly } \
~
{true="--no_rotate" false="" noRotate } \
~
{"--start_genes " + startGenes } \
~
{"--start_gene_id " + startGeneId } \
~
{"--start_gene_cov " + startGeneCov } \
~
{"--makeblastdb_path " + makeblastdbPath } \
~
{"--tblastn_path " + tblastnPath } \
~
{true="--no_pilon" false="" noPilon } \
~
{"--bowtie2_path " + bowtie2Path } \
~
{"--bowtie2_build_path " + bowtie2buildPath } \
~
{"--samtools_path " + samtoolsPath } \
~
{"--pilon_path " + pilonPath } \
~
{"--java_path " + javaPath } \
~
{"--min_polish_size " + minPolishSize } \
~
{"--bcftools_path " + bcftoolsPath } \
~
{"--min_component_size " + minComponentSize } \
~
{"--min_dead_end_size " + minDeadEndSize } \
~
{"--contamination " + contamination } \
~
{"--scores " + scores } \
~
{"--low_score " + lowScore }
}
output {
File assemblyFasta = out + "/assembly.fasta"
...
...
@@ -96,7 +98,7 @@ task unicycler {
File log = out + "/unicycler.log"
}
runtime {
cpu:
finalT
hreads
memory:
finalM
emory
cpu:
select_first([t
hreads
])
memory:
select_first([m
emory
])
}
}
\ 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