Mercurial > repos > yufei-luo > s_mart
comparison SMART/galaxy/Clusterize.xml @ 36:44d5973c188c
Uploaded
author | m-zytnicki |
---|---|
date | Tue, 30 Apr 2013 15:02:29 -0400 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
35:d94018ca4ada | 36:44d5973c188c |
---|---|
1 <tool id="MergingDataClusterize" name="clusterize"> | |
2 <description>Clusterize features when their genomic intervals overlap.</description> | |
3 <command interpreter="python"> | |
4 ../Java/Python/clusterize.py -i $formatType.inputFileName | |
5 #if $formatType.FormatInputFileName == 'bed': | |
6 -f bed | |
7 #elif $formatType.FormatInputFileName == 'gff': | |
8 -f gff | |
9 #elif $formatType.FormatInputFileName == 'gff2': | |
10 -f gff2 | |
11 #elif $formatType.FormatInputFileName == 'gff3': | |
12 -f gff3 | |
13 #elif $formatType.FormatInputFileName == 'sam': | |
14 -f sam | |
15 #elif $formatType.FormatInputFileName == 'gtf': | |
16 -f gtf | |
17 #end if | |
18 -o $outputFileGff | |
19 $colinear | |
20 $normalize | |
21 -d $distance | |
22 </command> | |
23 | |
24 <inputs> | |
25 <conditional name="formatType"> | |
26 <param name="FormatInputFileName" type="select" label="Input File Format"> | |
27 <option value="bed">bed</option> | |
28 <option value="gff">gff</option> | |
29 <option value="gff2">gff2</option> | |
30 <option value="gff3">gff3</option> | |
31 <option value="sam">sam</option> | |
32 <option value="gtf">gtf</option> | |
33 </param> | |
34 <when value="bed"> | |
35 <param name="inputFileName" format="bed" type="data" label="Input File"/> | |
36 </when> | |
37 <when value="gff"> | |
38 <param name="inputFileName" format="gff" type="data" label="Input File"/> | |
39 </when> | |
40 <when value="gff2"> | |
41 <param name="inputFileName" format="gff2" type="data" label="Input File"/> | |
42 </when> | |
43 <when value="gff3"> | |
44 <param name="inputFileName" format="gff3" type="data" label="Input File"/> | |
45 </when> | |
46 <when value="sam"> | |
47 <param name="inputFileName" format="sam" type="data" label="Input File"/> | |
48 </when> | |
49 <when value="gtf"> | |
50 <param name="inputFileName" format="gtf" type="data" label="Input File"/> | |
51 </when> | |
52 </conditional> | |
53 | |
54 <param name="colinear" type="boolean" truevalue="-c" falsevalue="" checked="false" label="Only merge collinear features"/> | |
55 <param name="normalize" type="boolean" truevalue="-n" falsevalue="" checked="false" label="Normalize counts" help="Only works if the nbOccurrences tag is set."/> | |
56 <param name="distance" type="text" value="0" label="merge features if their relative distance is within N nt"/> | |
57 </inputs> | |
58 | |
59 <outputs> | |
60 <data name="outputFileGff" format="gff3"/> | |
61 </outputs> | |
62 | |
63 <help> | |
64 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. | |
65 | |
66 Some options may clusterize the features which are closer than a given distance. | |
67 | |
68 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. | |
69 </help> | |
70 </tool> |