view SMART/galaxy/changeTagName.xml @ 15:440ceca58672

Uploaded
author m-zytnicki
date Mon, 22 Apr 2013 11:08:07 -0400
parents 769e306b7933
children 94ab73e8a190
line wrap: on
line source

<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>