changeset 2:e6f488178a45 draft

planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tools/bumbershoot/customProDB commit 141369f97aa2804d2bbfd9ed620ea2a5574994c2-dirty
author galaxyp
date Thu, 14 Jan 2016 18:12:22 -0500
parents 0d9ce24ea038
children 7e078d4e40f8
files customProDB.xml
diffstat 1 files changed, 10 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/customProDB.xml	Thu Jan 14 13:12:20 2016 -0500
+++ b/customProDB.xml	Thu Jan 14 18:12:22 2016 -0500
@@ -34,12 +34,16 @@
     <param name="vcfInput" type="data" format="vcf" help="A VCF file to create variant proteins based on individual variation." label="Input Variant Calls">
       <validator type="empty_field" message="This field is required."/>
     </param>
-    <section name="optionalUserInput" label="Override Default Exon Annotation and Coding Sequences">
-      <param name="exonAnno" type="data" format="RData" help="A dataframe of exon annotations in an RData file" label="Exon Annotations" optional="true" />
-      <param name="proteinSeq" type="data" format="RData" help="A dataframe containing protein ids and protein sequences in an RData file" label="Protein Sequences" optional="true" />
-      <param name="proCodingSeq" type="data" format="RData" help="A dataframe cotaining coding sequences for each protein in an RData file" label="Protein Coding Sequences" optional="true" />
-      <param name="header" type="data" format="txt" help="A text file of SAM headers to include in the output file, usually corresponding to the exon and coding sequences used." label="SAM Headers" optional="true" />
-    </section>
+    <conditional name="optionalUserInput">
+      <param name="optionalUserInputCondition" type="boolean" label="Override Default Exon Annotation and Coding Sequences" />
+      <when value="true">
+        <param name="exonAnno" type="data" format="RData" help="A dataframe of exon annotations in an RData file" label="Exon Annotations" optional="true" />
+        <param name="proteinSeq" type="data" format="RData" help="A dataframe containing protein ids and protein sequences in an RData file" label="Protein Sequences" optional="true" />
+        <param name="proCodingSeq" type="data" format="RData" help="A dataframe cotaining coding sequences for each protein in an RData file" label="Protein Coding Sequences" optional="true" />
+      </when>
+      <when value="false">
+      </when>
+    </conditional>
   </inputs>
   <outputs>
     <data format="fasta" name="output" label="${input.name.rsplit('.',1)[0]}.fasta"/>