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. ...@@ -12,6 +12,7 @@ that users understand how the changes affect the new version.
version 5.0.0-dev version 5.0.0-dev
--------------------------- ---------------------------
+ Complete `parameter_meta` for tasks missing the outputs. + 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`. + Samtools: `Sort` task now has `threads` in runtime instead of `1`.
+ Picard: Add parameter_meta to `SortSam`. + Picard: Add parameter_meta to `SortSam`.
+ pbmm2: Add parameter_meta for `sample`. + pbmm2: Add parameter_meta for `sample`.
......
...@@ -28,11 +28,11 @@ task RunDeepVariant { ...@@ -28,11 +28,11 @@ task RunDeepVariant {
File inputBamIndex File inputBamIndex
String modelType String modelType
String outputVcf String outputVcf
String? postprocessVariantsExtraArgs String? postprocessVariantsExtraArgs
File? customizedModel File? customizedModel
Int? numShards Int? numShards
String? outputGVcf String? outputGVcf
String? outputGVcfIndex
File? regions File? regions
String? sampleName String? sampleName
Boolean? VCFStatsReport = true Boolean? VCFStatsReport = true
...@@ -44,6 +44,7 @@ task RunDeepVariant { ...@@ -44,6 +44,7 @@ task RunDeepVariant {
command { command {
set -e set -e
/opt/deepvariant/bin/run_deepvariant \ /opt/deepvariant/bin/run_deepvariant \
--ref ~{referenceFasta} \ --ref ~{referenceFasta} \
--reads ~{inputBam} \ --reads ~{inputBam} \
...@@ -66,10 +67,10 @@ task RunDeepVariant { ...@@ -66,10 +67,10 @@ task RunDeepVariant {
output { output {
File outputVCF = outputVcf File outputVCF = outputVcf
File outputVCFIndex = outputVCF + ".tbi" File outputVCFIndex = outputVcf + ".tbi"
Array[File] outputVCFStatsReport = glob("*.visual_report.html") Array[File] outputVCFStatsReport = glob("*.visual_report.html")
File? outputGVCF = outputGVcf File? outputGVCF = outputGVcf
File? outputGVCFIndex = outputGVcf + ".tbi" File? outputGVCFIndex = outputGVcfIndex
} }
parameter_meta { parameter_meta {
...@@ -84,6 +85,7 @@ task RunDeepVariant { ...@@ -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"} 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"} numShards: {description: "Number of shards for make_examples step.", category: "common"}
outputGVcf: {description: "Path where we should write gVCF file.", 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"} 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"} 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"} 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