changeset 1:4f0fb855276c draft default tip

planemo upload for repository https://github.com/portiahollyoak/Tools commit 5f5802314b55f52ea4b3f9f515ec46a5a770696d-dirty
author portiahollyoak
date Thu, 26 May 2016 11:07:21 -0400
parents f562c252b285
children
files gff_feature_colours.xml test-data/test-gff-colours.gff test-data/test-gff.gff
diffstat 3 files changed, 15 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/gff_feature_colours.xml	Thu May 26 10:48:35 2016 -0400
+++ b/gff_feature_colours.xml	Thu May 26 11:07:21 2016 -0400
@@ -31,8 +31,18 @@
         </repeat>
     </inputs>
     <outputs>
-        <data format="input" name="output" label="Add feature colours to ${input.element_identifier}" />
+        <data format_source="input" name="output" label="Add feature colours to ${input.element_identifier}" />
     </outputs>
+    <tests>
+        <test>
+            <param name="input" value="test-gff.gff" ftype="gff"/>
+            <param name="feat_0|feature" value="Idefix" />
+            <param name="feat_0|feature_colour" value="#ff0000"/>
+            <param name="feat_1|feature" value="INE-1" />
+            <param name="feat_1|feature_colour" value="#00ff00"/>
+            <output name="output" file="test-gff-colours.gff" ftype="gff"/>
+        </test>
+    </tests>>
     <help><![CDATA[
 Description
 ------------
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/test-data/test-gff-colours.gff	Thu May 26 11:07:21 2016 -0400
@@ -0,0 +1,2 @@
+2L	FlyBase	Idefix	9726	9859	.	+	.	ID=FBti0060580;Colour=#ff0000;
+2L	FlyBase	INE-1	9888	9949	.	-	.	ID=FBti0059810;Colour=#00ff00;
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/test-data/test-gff.gff	Thu May 26 11:07:21 2016 -0400
@@ -0,0 +1,2 @@
+2L	FlyBase	Idefix	9726	9859	.	+	.	ID=FBti0060580;
+2L	FlyBase	INE-1	9888	9949	.	-	.	ID=FBti0059810;