diff SMART/galaxy/changeTagName.xml @ 36:44d5973c188c

Uploaded
author m-zytnicki
date Tue, 30 Apr 2013 15:02:29 -0400
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/SMART/galaxy/changeTagName.xml	Tue Apr 30 15:02:29 2013 -0400
@@ -0,0 +1,48 @@
+<tool id="changeTagName" name="change tag name">
+	<description>Change the name of a tag in a GFF file.</description>
+	<command interpreter="python">
+		../Java/Python/changeTagName.py -i $formatType.inputFileName
+		#elif $formatType.FormatInputFileName == 'gff':
+			-f gff
+		#elif $formatType.FormatInputFileName == 'gff2':
+			-f gff2
+		#elif $formatType.FormatInputFileName == 'gff3':
+			-f gff3
+		#end if
+
+		-t $Tag
+		-n $name
+			
+		-o $outputFileGff 
+	</command>
+
+	<inputs>
+		<conditional name="formatType">
+			<param name="FormatInputFileName" type="select" label="Input File Format">
+				<option value="gff">gff</option>
+				<option value="gff2">gff2</option>
+				<option value="gff3">gff3</option>
+			</param>
+			<when value="gff">
+				<param name="inputFileName" format="gff" type="data" label="Input File"/>
+			</when>
+			<when value="gff2">
+				<param name="inputFileName" format="gff2" type="data" label="Input File"/>
+			</when>
+			<when value="gff3">
+				<param name="inputFileName" format="gff3" type="data" label="Input File"/>
+			</when>
+		</conditional>
+
+		<param name="Tag" type="text" label="tag option" help="The tag you want to change"/>
+		<param name="name" type="text" label="name option" help="A new name for the tag"/>		
+	</inputs>
+
+	<outputs>
+		<data name="outputFileGff" format="gff3" label="[changeTagName] Output File"/>
+	</outputs> 
+	
+	<help>
+		Change the name of a tag in the 9th field of a GFF3 file (please consult http://www.sequenceontology.org/gff3.shtml to know more about this format).
+	</help>
+</tool>