changeset 8:d4e292ddda05 draft default tip

"planemo upload for repository Nonehttps://github.com/galaxyproject/tools-devteam/tree/master/tools/table_annovar commit 68ba77da2a1f8d6cd04dd7dc6efc5edcefcfa0c9"
author devteam
date Thu, 05 May 2022 13:13:11 +0000
parents 08b003ee9db7
children
files replace_NA.py table_annovar.xml
diffstat 2 files changed, 5 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/replace_NA.py	Wed Apr 22 23:52:01 2015 -0400
+++ b/replace_NA.py	Thu May 05 13:13:11 2022 +0000
@@ -63,7 +63,7 @@
 temp_out.close()
 
 # Get column type based on label or consensus.
-col_types = range(len(col_type_counts))
+col_types = list(range(len(col_type_counts)))
 for i, counts in enumerate(col_type_counts):
     if i in numerical_cols:
         col_type = 'number'
@@ -79,7 +79,7 @@
     for i, f in enumerate(fields):
         if fields[i] == TARGET and col_types[i] == 'number':
             fields[i] = str(REPLACEMENT)
-    print SEPARATOR.join(fields)
+    print(SEPARATOR.join(fields))
 
 # Clean up temp file.
 temp_out.close()
--- a/table_annovar.xml	Wed Apr 22 23:52:01 2015 -0400
+++ b/table_annovar.xml	Thu May 05 13:13:11 2022 +0000
@@ -63,21 +63,21 @@
         <validator type="unspecified_build" />
     </param>
 
-    <param name="gene_anns" type="select" multiple="True" optional="True" label="Gene Annotations" help="" >
+    <param name="gene_anns" type="select" display="checkboxes" multiple="True" optional="True" label="Gene Annotations" help="" >
         <options from_data_table="annovar_indexes">
             <filter type="data_meta" key="dbkey" ref="input" column="1"/>
             <filter type="static_value" name="type" value="gene_ann" column="2"/>
         </options>
     </param>
 
-    <param name="regions" type="select" multiple="True" optional="True" label="Annotation Regions" help="" >
+    <param name="regions" type="select" display="checkboxes" multiple="True" optional="True" label="Annotation Regions" help="" >
         <options from_data_table="annovar_indexes">
             <filter type="data_meta" key="dbkey" ref="input" column="1"/>
             <filter type="static_value" name="type" value="region" column="2"/>
         </options>
     </param>
 
-    <param name="filters" type="select" multiple="True" label="Annotation Databases" help="" >
+    <param name="filters" type="select" display="checkboxes" multiple="True" label="Annotation Databases" help="" >
         <options from_data_table="annovar_indexes">
             <filter type="data_meta" key="dbkey" ref="input" column="1"/>
             <filter type="static_value" name="type" value="filter" column="2"/>