diff tbl2gff3.xml @ 1:4a7f4b0cc0a3 draft default tip

"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/tbl2gff3 commit db75a8489a1f61ea30abe9b91f6febac8b34204f"
author iuc
date Thu, 03 Dec 2020 16:59:23 +0000
parents 965674d88d34
children
line wrap: on
line diff
--- a/tbl2gff3.xml	Tue Jul 07 04:20:40 2020 -0400
+++ b/tbl2gff3.xml	Thu Dec 03 16:59:23 2020 +0000
@@ -1,4 +1,4 @@
-<tool id="tbl2gff3" name="Table to GFF3" version="1.1">
+<tool id="tbl2gff3" name="Table to GFF3" version="1.2">
 	<description></description>
 	<macros>
 		<import>macros.xml</import>
@@ -24,7 +24,9 @@
 				--source '$source'
 			#end if
 
-			#if str($strand.strand_select) != "none":
+			#if str($strand.strand_select) == 'infer':
+				--strand_infer
+			#else if str($strand.strand_select) != "none":
 				--strand_${strand.strand_select} '${strand.strand}'
 			#end if
 
@@ -38,20 +40,22 @@
 		<param label="Table" name="table" type="data" format="tabular"/>
 
 		<param name="rid" type="text" value="1" label="Record ID column or value" optional="false" help="@HELP@"/>
-		<param name="begin" type="text" value="" optional="false" label="Feature start column or value" help="@HELP@"/>
-		<param name="end" type="text" value="" optional="false" label="Feature end column or value" help="@HELP@"/>
-		<param name="type" type="text" value="sequence_feature" label="Feature type column or value" help="@HELP@"/>
-		<param name="score" type="text" value="" label="Feature score column or value" help="@HELP@"/>
-		<param name="source" type="text" value="tbl2gff3" label="Feature source column or value" help="@HELP@"/>
+		<param name="begin" type="text" value="" optional="false" label="Start column or value" help="@HELP@"/>
+		<param name="end" type="text" value="" optional="false" label="End column or value" help="@HELP@"/>
+		<param name="type" type="text" value="sequence_feature" label="Type column or value" help="@HELP@"/>
+		<param name="score" type="text" value="" label="Score column or value" help="@HELP@"/>
+		<param name="source" type="text" value="tbl2gff3" label="Source column or value" help="@HELP@"/>
 
 
 		<conditional name="strand">
 			<param name="strand_select" type="select" label="Strand">
+				<option value="infer">Infer</option>
 				<option value="none">Not specified</option>
 				<option value="column">From Column</option>
 				<option value="value">Specify Value</option>
 			</param>
 			<when value="none" />
+			<when value="infer" />
 			<when value="column" >
 				<param name="strand" type="text" value="" label="Strand column" />
 			</when>
@@ -104,6 +108,17 @@
 			<output name="output" file="blast.gff3" />
 
 		</test>
+		<test>
+			<param name="table" ftype="tabular" value="infer.tab" />
+			<param name="rid" value="1" />
+			<param name="begin" value="2" />
+			<param name="end" value="3" />
+			<conditional name="strand">
+				<param name="strand_select" value="infer"/>
+			</conditional>
+			<output name="output" file="infer.gff3" />
+
+		</test>
 	</tests>
 	<help><![CDATA[
 **What it does**