diff SMART/galaxy/Clusterize.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/Clusterize.xml	Fri Apr 19 10:13:11 2013 -0400
+++ b/SMART/galaxy/Clusterize.xml	Mon Apr 22 11:08:07 2013 -0400
@@ -1,5 +1,5 @@
-<tool id="MergingDataClusterize" name="Clusterize">
-	<description>Clusterizes the reads when their genomic intervals overlap.</description>
+<tool id="MergingDataClusterize" name="clusterize">
+	<description>Clusterize features when their genomic intervals overlap.</description>
 	<command interpreter="python">
 		../Java/Python/clusterize.py -i $formatType.inputFileName
 		#if $formatType.FormatInputFileName == 'bed':
@@ -10,8 +10,6 @@
 			-f gff2
 		#elif $formatType.FormatInputFileName == 'gff3':
 			-f gff3
-		#elif $formatType.FormatInputFileName == 'csv':
-			-f csv
 		#elif $formatType.FormatInputFileName == 'sam':
 			-f sam
 		#elif $formatType.FormatInputFileName == 'gtf':
@@ -21,7 +19,6 @@
 		$colinear
 		$normalize
 		-d $distance
-		$log $outputFileLog
 	</command>
 
 	<inputs>
@@ -31,7 +28,6 @@
 				<option value="gff">gff</option>
 				<option value="gff2">gff2</option>
 				<option value="gff3">gff3</option>
-				<option value="csv">csv</option>
 				<option value="sam">sam</option>
 				<option value="gtf">gtf</option>
 			</param>
@@ -47,9 +43,6 @@
 			<when value="gff3">
 				<param name="inputFileName" format="gff3" type="data" label="Input File"/>
 			</when>
-			<when value="csv">
-				<param name="inputFileName" format="csv" type="data" label="Input File"/>
-			</when>
 			<when value="sam">
 				<param name="inputFileName" format="sam" type="data" label="Input File"/>
 			</when>
@@ -58,16 +51,20 @@
 			</when>
 		</conditional>
 
-		<param name="colinear" type="boolean" truevalue="-c" falsevalue="" checked="false" label="colinear option" help="This option clusterizes only the same strand reads"/>
-		<param name="normalize" type="boolean" truevalue="-n" falsevalue="" checked="false" label="normalize option for only GFF3 file format" help="This option normalize (attention!! Only for GFF3 file!!!!!)"/>
-		<param name="log" type="boolean" truevalue="-l" falsevalue="" checked="false" label="log option" help="This option create a log file"/>
-		<param name="distance" type="text" value="0" label="distance option" help="Limit the maximum distance between two reads"/>
+		<param name="colinear" type="boolean" truevalue="-c" falsevalue="" checked="false" label="Only merge collinear features"/>
+		<param name="normalize" type="boolean" truevalue="-n" falsevalue="" checked="false" label="Normalize counts" help="Only works if the nbOccurrences tag is set."/>
+		<param name="distance" type="text" value="0" label="merge features if their relative distance is within N nt"/>
 	</inputs>
 
 	<outputs>
 		<data name="outputFileGff" format="gff3"/>
-		<data name="outputFileLog" format="txt">
-			<filter>log</filter>
-		</data>
 	</outputs> 
+
+	<help>
+The script clusterizes the input genomic data. Two features are clusterized when their genomic intervals overlap. The output is a GFF3 file, where each element is a cluster. The number of elements in the cluster is given by the tag **nbElements**. The name of a cluster is the concatation of the names of its reads (like **read1--read2--read3**). Note that if the size of the name of the cluster exceeds 100 characters, it is truncated to the first 100 characters.
+
+Some options may clusterize the features which are closer than a given distance.
+
+By default, the tool clusterizes all features which overlap (or nearly overlap), even if they are on different strands. If you want to clusterize the features which are on the same strand only, you can specify it.
+	</help>
 </tool>