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
d4095300
Unverified
Commit
d4095300
authored
3 years ago
by
Jasper
Committed by
GitHub
3 years ago
Browse files
Options
Downloads
Plain Diff
Merge pull request #277 from biowdl/runtime
fix some runtime settings
parents
5554189e
833ad0bf
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
CHANGELOG.md
+1
-0
1 addition, 0 deletions
CHANGELOG.md
ccs.wdl
+31
-4
31 additions, 4 deletions
ccs.wdl
cutadapt.wdl
+1
-1
1 addition, 1 deletion
cutadapt.wdl
multiqc.wdl
+1
-1
1 addition, 1 deletion
multiqc.wdl
with
34 additions
and
6 deletions
CHANGELOG.md
+
1
−
0
View file @
d4095300
...
...
@@ -10,6 +10,7 @@ that users understand how the changes affect the new version.
version 5.0.0-dev
---------------------------
+
Fix output files in ccs.wdl.
+
Update biowdl-input-converter to version 0.3.
+
Update minimap2 to version 2.20.
+
Update lima to version 2.2.0.
...
...
This diff is collapsed.
Click to expand it.
ccs.wdl
+
31
−
4
View file @
d4095300
...
...
@@ -24,12 +24,19 @@ task CCS {
input {
File subreadsFile
String outputPrefix
String logLevel = "WARN"
Int minPasses = 3
Int topPasses = 60
Int minLength = 10
Int maxLength = 50000
Boolean byStrand = false
Boolean skipPolish = false
Boolean all = false
Boolean subreadFallback = false
Boolean allKinetics = false
Boolean hifiKinetics = false
Float minSnr = 2.5
Float minReadQuality = 0.99
String logLevel = "WARN"
File? subreadsIndexFile
String? chunkString
...
...
@@ -45,15 +52,24 @@ task CCS {
mkdir -p "$(dirname ~{outputPrefix})"
ccs \
--min-passes ~{minPasses} \
--min-snr ~{minSnr} \
--top-passes ~{topPasses} \
--min-length ~{minLength} \
--max-length ~{maxLength} \
~{true="--by-strand" false="" byStrand} \
~{true="--skip-polish" false="" skipPolish} \
~{true="--all" false="" all} \
~{true="--subread-fallback" false="" subreadFallback} \
~{true="--all-kinetics" false="" allKinetics} \
~{true="--hifi-kinetics" false="" hifiKinetics} \
--min-rq ~{minReadQuality} \
--log-level ~{logLevel} \
--num-threads ~{threads} \
~{"--chunk " + chunkString} \
~{"--report-file " + outputPrefix + ".ccs_report.txt"} \
~{"--report-json " + outputPrefix + ".ccs.report.json"} \
~{"--log-file " + outputPrefix + ".ccs.stderr.log"} \
~{"--metrics-json " + outputPrefix + ".zmw_metrics.json.gz"} \
~{subreadsFile} \
~{outputPrefix + ".ccs.bam"}
}
...
...
@@ -61,8 +77,10 @@ task CCS {
output {
File ccsBam = outputPrefix + ".ccs.bam"
File ccsBamIndex = outputPrefix + ".ccs.bam.pbi"
File ccsReport = outputPrefix + ".ccs.report.json"
File ccsReport = outputPrefix + ".ccs_report.txt"
File ccsJsonReport = outputPrefix + ".ccs.report.json"
File ccsStderr = outputPrefix + ".ccs.stderr.log"
File zmwMetrics = outputPrefix + ".zmw_metrics.json.gz"
}
runtime {
...
...
@@ -76,12 +94,19 @@ task CCS {
# inputs
subreadsFile: {description: "Subreads input file.", category: "required"}
outputPrefix: {description: "Output directory path + output file prefix.", category: "required"}
logLevel: {description: "Set log level. Valid choices: (TRACE, DEBUG, INFO, WARN, FATAL).", category: "advanced"}
minPasses: {description: "Minimum number of full-length subreads required to generate ccs for a ZMW.", category: "advanced"}
topPasses: {description: "Pick at maximum the top N passes for each ZMW.", category: "advanced"}
minLength: {description: "Minimum draft length before polishing.", category: "advanced"}
maxLength: {description: "Maximum draft length before polishing.", category: "advanced"}
byStrand: {description: "Generate a consensus for each strand.", category: "advanced"}
skipPolish: {description: "Only output the initial draft template (faster, less accurate).", category: "advanced"}
all: {description: "Emit all ZMWs.", category: "advanced"}
subreadFallback: {description: "Emit a representative subread, instead of the draft consensus, if polishing failed.", category: "advanced"}
allKinetics: {description: "Calculate mean pulse widths (PW) and interpulse durations (IPD) for every ZMW.", category: "advanced"}
hifiKinetics: {description: "Calculate mean pulse widths (PW) and interpulse durations (IPD) for every HiFi read.", category: "advanced"}
minSnr: {description: "Minimum SNR of subreads to use for generating CCS.", category: "advanced"}
minReadQuality: {description: "Minimum predicted accuracy in [0, 1].", category: "common"}
logLevel: {description: "Set log level. Valid choices: (TRACE, DEBUG, INFO, WARN, FATAL).", category: "advanced"}
subreadsIndexFile: {description: "Index for the subreads input file, required when using chunkString.", category: "advanced"}
chunkString: {descpription: "Chunk string (e.g. 1/4, 5/5) for CCS.", category: "advanced"}
threads: {description: "The number of threads to be used.", category: "advanced"}
...
...
@@ -92,7 +117,9 @@ task CCS {
# outputs
ccsBam: {description: "Consensus reads output file."}
ccsBamIndex: {description: "Index of consensus reads output file."}
ccsReport: {description: "Ccs results report file."}
ccsReport: {description: "Ccs report file."}
ccsJsonReport: {description: "Ccs results json report file."}
ccsStderr: {description: "Ccs STDERR log file."}
zmwMetrics: {description: "ZMW metrics json file."}
}
}
This diff is collapsed.
Click to expand it.
cutadapt.wdl
+
1
−
1
View file @
d4095300
...
...
@@ -83,7 +83,7 @@ task Cutadapt {
Boolean? noZeroCap
Int cores = 4
String memory = "
~{300 + 100 * cores}M
"
String memory = "
5G
"
Int timeMinutes = 1 + ceil(size([read1, read2], "G") * 12.0 / cores)
String dockerImage = "quay.io/biocontainers/cutadapt:2.10--py37hf01694f_1"
}
...
...
This diff is collapsed.
Click to expand it.
multiqc.wdl
+
1
−
1
View file @
d4095300
...
...
@@ -57,7 +57,7 @@ task MultiQC {
String? clConfig
String? memory
Int timeMinutes =
2
+ ceil(size(reports, "G") * 8)
Int timeMinutes =
10
+ ceil(size(reports, "G") * 8)
String dockerImage = "quay.io/biocontainers/multiqc:1.9--py_1"
}
...
...
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