From baeef514937156bda9941067ea9623e78d6673d1 Mon Sep 17 00:00:00 2001
From: DavyCats <davycats.dc@gmail.com>
Date: Wed, 15 Jan 2020 16:23:32 +0100
Subject: [PATCH] add parameter_meta to CPAT

---
 CPAT.wdl | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/CPAT.wdl b/CPAT.wdl
index f9a77be..73c9d13 100644
--- a/CPAT.wdl
+++ b/CPAT.wdl
@@ -36,6 +36,20 @@ task CPAT {
     runtime {
         docker: dockerImage
     }
+
+    parameter_meta {
+        gene: {description: "Equivalent to CPAT's `--gene` option.", category: "required"}
+        outFilePath: {description: "Equivalent to CPAT's `--outfile` option.", category: "required"}
+        hex: {description: "Equivalent to CPAT's `--hex` option.", category: "required"}
+        logitModel: {description: "Equivalent to CPAT's `--logitModel` option.", category: "required"}
+        referenceGenome: {description: "Equivalent to CPAT's `--ref` option.", category: "advanced"}
+        referenceGenomeIndex: {description: "The index of the reference. Should be added as input if CPAT should not index the reference genome.",
+                               category: "advanced"}
+        startCodons: {description: "Equivalent to CPAT's `--start` option.", category: "advanced"}
+        stopCodons: {description: "Equivalent to CPAT's `--stop` option.", category: "advanced"}
+        dockerImage: {description: "The docker image used for this task. Changing this may result in errors which the developers may choose not to address.",
+                      category: "advanced"}
+    }
 }
 
 # There is also make_hexamer_tab.py and make_logitModel.py
-- 
GitLab