Mercurial > repos > yufei-luo > s_mart
comparison SMART/galaxy/mergeTranscriptLists.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="mergeTranscriptLists" name="merge transcript lists"> | |
2 <description>Merge the elements of two lists of genomic coordinates.</description> | |
3 <command interpreter="python"> | |
4 ../Java/Python/mergeTranscriptLists.py -i $formatType.inputFileName1 | |
5 #if $formatType.FormatInputFileName1 == 'bed': | |
6 -f bed | |
7 #elif $formatType.FormatInputFileName1 == 'gff': | |
8 -f gff | |
9 #elif $formatType.FormatInputFileName1 == 'gff2': | |
10 -f gff2 | |
11 #elif $formatType.FormatInputFileName1 == 'gff3': | |
12 -f gff3 | |
13 #elif $formatType.FormatInputFileName1 == 'sam': | |
14 -f sam | |
15 #elif $formatType.FormatInputFileName1 == 'gtf': | |
16 -f gtf | |
17 #end if | |
18 | |
19 -j $formatType2.inputFileName2 | |
20 #if $formatType2.FormatInputFileName2 == 'bed': | |
21 -g bed | |
22 #elif $formatType2.FormatInputFileName2 == 'gff': | |
23 -g gff | |
24 #elif $formatType2.FormatInputFileName2 == 'gff2': | |
25 -g gff2 | |
26 #elif $formatType2.FormatInputFileName2 == 'gff3': | |
27 -g gff3 | |
28 #elif $formatType2.FormatInputFileName2 == 'sam': | |
29 -g sam | |
30 #elif $formatType2.FormatInputFileName2 == 'gtf': | |
31 -g gtf | |
32 #end if | |
33 | |
34 $all | |
35 $normalize | |
36 | |
37 #if $OptionDistance.dis == 'Yes': | |
38 -d $OptionDistance.disVal | |
39 #end if | |
40 | |
41 #if $OptionColinearOrAntiSens.OptionCA == 'Colinear': | |
42 -c | |
43 #elif $OptionColinearOrAntiSens.OptionCA == 'AntiSens': | |
44 -a | |
45 #end if | |
46 | |
47 -o $outputFileGff | |
48 </command> | |
49 | |
50 <inputs> | |
51 <conditional name="formatType"> | |
52 <param name="FormatInputFileName1" type="select" label="Input File Format 1"> | |
53 <option value="bed">bed</option> | |
54 <option value="gff">gff</option> | |
55 <option value="gff2">gff2</option> | |
56 <option value="gff3">gff3</option> | |
57 <option value="sam">sam</option> | |
58 <option value="gtf">gtf</option> | |
59 </param> | |
60 <when value="bed"> | |
61 <param name="inputFileName1" format="bed" type="data" label="Input File 1"/> | |
62 </when> | |
63 <when value="gff"> | |
64 <param name="inputFileName1" format="gff" type="data" label="Input File 1"/> | |
65 </when> | |
66 <when value="gff2"> | |
67 <param name="inputFileName1" format="gff2" type="data" label="Input File 1"/> | |
68 </when> | |
69 <when value="gff3"> | |
70 <param name="inputFileName1" format="gff3" type="data" label="Input File 1"/> | |
71 </when> | |
72 <when value="sam"> | |
73 <param name="inputFileName1" format="sam" type="data" label="Input File 1"/> | |
74 </when> | |
75 <when value="gtf"> | |
76 <param name="inputFileName1" format="gtf" type="data" label="Input File 1"/> | |
77 </when> | |
78 </conditional> | |
79 | |
80 <conditional name="formatType2"> | |
81 <param name="FormatInputFileName2" type="select" label="Input File Format 2"> | |
82 <option value="bed">bed</option> | |
83 <option value="gff">gff</option> | |
84 <option value="gff2">gff2</option> | |
85 <option value="gff3">gff3</option> | |
86 <option value="sam">sam</option> | |
87 <option value="gtf">gtf</option> | |
88 </param> | |
89 <when value="bed"> | |
90 <param name="inputFileName2" format="bed" type="data" label="Input File 2"/> | |
91 </when> | |
92 <when value="gff"> | |
93 <param name="inputFileName2" format="gff" type="data" label="Input File 2"/> | |
94 </when> | |
95 <when value="gff2"> | |
96 <param name="inputFileName2" format="gff2" type="data" label="Input File 2"/> | |
97 </when> | |
98 <when value="gff3"> | |
99 <param name="inputFileName2" format="gff3" type="data" label="Input File 2"/> | |
100 </when> | |
101 <when value="sam"> | |
102 <param name="inputFileName2" format="sam" type="data" label="Input File 2"/> | |
103 </when> | |
104 <when value="gtf"> | |
105 <param name="inputFileName2" format="gtf" type="data" label="Input File 2"/> | |
106 </when> | |
107 </conditional> | |
108 | |
109 | |
110 <param name="all" type="boolean" truevalue="-k" falsevalue="" checked="false" label="print all the transcripts, not only those overlapping"/> | |
111 <param name="normalize" type="boolean" truevalue="-n" falsevalue="" checked="false" label="normalize the number of reads per cluster by the number of mappings per read "/> | |
112 | |
113 <conditional name="OptionDistance"> | |
114 <param name="dis" type="select" label="provide the number of reads" > | |
115 <option value="Yes">Yes</option> | |
116 <option value="No" selected="true">No</option> | |
117 </param> | |
118 <when value="Yes"> | |
119 <param name="disVal" type="integer" value="0" label="max. distance between two transcripts" /> | |
120 </when> | |
121 <when value="No"> | |
122 </when> | |
123 </conditional> | |
124 | |
125 <conditional name="OptionColinearOrAntiSens"> | |
126 <param name="OptionCA" type="select" label="Colinear or anti-sens"> | |
127 <option value="Colinear">Colinear</option> | |
128 <option value="AntiSens">AntiSens</option> | |
129 <option value="NONE" selected="true">NONE</option> | |
130 </param> | |
131 <when value="Colinear"> | |
132 </when> | |
133 <when value="AntiSens"> | |
134 </when> | |
135 <when value="NONE"> | |
136 </when> | |
137 </conditional> | |
138 | |
139 </inputs> | |
140 | |
141 <outputs> | |
142 <data name="outputFileGff" format="gff3" label="[mergeTranscriptLists]out file"/> | |
143 </outputs> | |
144 | |
145 <help> | |
146 The script is similar to *compare overlapping*, except that when data of two different sets overlap, they are merged. You can use the same parameters as *compare overlapping* and use them to look for transcription on both strands, for example. | |
147 | |
148 Optionally, you can also add to the output all the elements from the first set which do not overlap with the second set. | |
149 </help> | |
150 </tool> |