diff SMART/galaxy/restrictFromSize.xml @ 15:440ceca58672

Uploaded
author m-zytnicki
date Mon, 22 Apr 2013 11:08:07 -0400
parents 769e306b7933
children 94ab73e8a190
line wrap: on
line diff
--- a/SMART/galaxy/restrictFromSize.xml	Fri Apr 19 10:13:11 2013 -0400
+++ b/SMART/galaxy/restrictFromSize.xml	Mon Apr 22 11:08:07 2013 -0400
@@ -2,7 +2,9 @@
 	<description>Select the elements of a list of sequences or transcripts with a given size.</description>
 	<command interpreter="python">
 		../Java/Python/restrictFromSize.py -i $formatType.inputFileName
-		#if $formatType.FormatInputFileName == 'bed':
+		#if $formatType.FormatInputFileName == 'fasta':
+			-f fasta
+		#elif $formatType.FormatInputFileName == 'bed':
 			-f bed
 		#elif $formatType.FormatInputFileName == 'gff':
 			-f gff
@@ -29,6 +31,7 @@
 	<inputs>
 		<conditional name="formatType">
 			<param name="FormatInputFileName" type="select" label="Input File Format">
+				<option value="fasta">fasta</option>
 				<option value="bed">bed</option>
 				<option value="gff">gff</option>
 				<option value="gff2">gff2</option>
@@ -36,6 +39,9 @@
 				<option value="sam">sam</option>
 				<option value="gtf">gtf</option>
 			</param>
+			<when value="fasta">
+				<param name="inputFileName" format="fasta" type="data" label="Input File"/>
+			</when>
 			<when value="bed">
 				<param name="inputFileName" format="bed" type="data" label="Input File"/>
 			</when>
@@ -87,7 +93,7 @@
 	</outputs> 
 	
 	<help>
-		command example: restrictFromSize.py -i cis_e10_cluster20InSeed2515_nbEUp10.gff3 -f gff -o cis_e10_cluster20InSeed2515_nbEUp10_lgUp50 -m 50
+Reads a list of sequences or genomic coordinates and outputs those which are longer and / or shorter than a given size ---which you provide.
 	</help>
 
 </tool>