changeset 1:f24eb2f2cb0c draft

Uploaded
author ieguinoa
date Tue, 18 May 2021 21:00:09 +0000
parents e25357392813
children 1ecd8ce07db4
files ena_consensus_submit.xml
diffstat 1 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/ena_consensus_submit.xml	Tue May 18 16:30:52 2021 +0000
+++ b/ena_consensus_submit.xml	Tue May 18 21:00:09 2021 +0000
@@ -40,7 +40,9 @@
 echo -e "ASSEMBLY_TYPE\t$assembly_type" >> $manifest_base;
 echo -e "COVERAGE\t$coverage" >> $manifest_base;
 echo -e "PROGRAM\t$assembly_program" >> $manifest_base;
-echo -e "MINGAPLENGTH\t$min_gap_length" >> $manifest_base;
+#if $min_gap_length:
+    echo -e "MINGAPLENGTH\t$min_gap_length" >> $manifest_base;
+#end if
 echo -e "MOLECULETYPE\t$molecule_type" >> $manifest_base;
         
 #if $metadata_file_or_form.metadata_format == "file":
@@ -122,7 +124,6 @@
         <option value="viral cRNA">viral cRNA</option>
         <option value="genomic DNA">genomic DNA</option>
     </param>
-    <param name="min_gap_length" type="text" optional="True" label="Minimum gap length"/>
     <param name="coverage" type="float" optional="False" value="10000" label="Coverage"/>
     <conditional name="metadata_file_or_form">
         <param name="metadata_format" type="select" label="Select the method to load study and sample metadata">
@@ -141,6 +142,7 @@
             <param name="center_name" type="text" optional="False" label="Center name"/>
         </when>
     </conditional>
+    <param name="min_gap_length" type="text" optional="True" label="Minimum gap length (optional)"/>
     </inputs>
     <outputs>
         <collection name="generated_manifests" type="list" label="Generated manifests">