Skip to content
Snippets Groups Projects
Unverified Commit da1747d0 authored by Jasper's avatar Jasper Committed by GitHub
Browse files

Merge branch 'develop' into BIOWDL-524

parents c9e62bf9 32074b24
No related branches found
No related tags found
No related merge requests found
......@@ -12,6 +12,7 @@ that users understand how the changes affect the new version.
version 5.0.0-dev
---------------------------
+ Complete `parameter_meta` for tasks missing the outputs.
+ DeepVariant: Add an optional input for the gvcf index.
+ Samtools: `Sort` task now has `threads` in runtime instead of `1`.
+ Picard: Add parameter_meta to `SortSam`.
+ pbmm2: Add parameter_meta for `sample`.
......
......@@ -28,11 +28,11 @@ task RunDeepVariant {
File inputBamIndex
String modelType
String outputVcf
String? postprocessVariantsExtraArgs
File? customizedModel
Int? numShards
String? outputGVcf
String? outputGVcfIndex
File? regions
String? sampleName
Boolean? VCFStatsReport = true
......@@ -44,6 +44,7 @@ task RunDeepVariant {
command {
set -e
/opt/deepvariant/bin/run_deepvariant \
--ref ~{referenceFasta} \
--reads ~{inputBam} \
......@@ -66,10 +67,10 @@ task RunDeepVariant {
output {
File outputVCF = outputVcf
File outputVCFIndex = outputVCF + ".tbi"
File outputVCFIndex = outputVcf + ".tbi"
Array[File] outputVCFStatsReport = glob("*.visual_report.html")
File? outputGVCF = outputGVcf
File? outputGVCFIndex = outputGVcf + ".tbi"
File? outputGVCFIndex = outputGVcfIndex
}
parameter_meta {
......@@ -84,6 +85,7 @@ task RunDeepVariant {
customizedModel: {description: "A path to a model checkpoint to load for the `call_variants` step. If not set, the default for each --model_type will be used.", category: "advanced"}
numShards: {description: "Number of shards for make_examples step.", category: "common"}
outputGVcf: {description: "Path where we should write gVCF file.", category: "common"}
outputGVcfIndex: {description: "Path to where the gVCF index file will be written. This is needed as a workaround, set it to outputGVcf+.tbi.", category: "common"}
regions: {description: "List of regions we want to process, in BED/BEDPE format.", category: "advanced"}
sampleName: {description: "Sample name to use instead of the sample name from the input reads BAM (SM tag in the header).", category: "common"}
VCFStatsReport: {description: "Output a visual report (HTML) of statistics about the output VCF.", category: "common"}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment