11
|
1 <tool id="ClosestToStartSite" name="ClosestToStartSite" version="1.0">
|
|
2 <description>ClosestToStartSite parses a bed file and generate a report about positions of features A to features B. It can also add the class code of features A.</description>
|
|
3 <requirements>
|
|
4 <requirement type="package" version="1.0">TEiso_Tools</requirement>
|
|
5 </requirements>
|
|
6 <version_command>
|
|
7 ClosestToStartSite.py --version
|
|
8 </version_command>
|
|
9 <command interpreter="python">
|
|
10 #if $ClassCode.get_class_code
|
|
11 ClosestToStartSite_Wrapper.py -i $inputFile -c $cuffcom_tmap -o $outputFile
|
|
12 #else
|
|
13 ClosestToStartSite_Wrapper.py -i $inputFile -o $outputFile
|
|
14 #end if
|
|
15 </command>
|
|
16 <inputs>
|
|
17 <param name="inputFile" type="data" format="bed" label="indicate a bed file."/>
|
|
18 <conditional name="ClassCode">
|
|
19 <param name="get_class_code" type="boolean" label="get information of class code from cuff_in.tmap" truevalue="yes" falsevalue="no" checked="off" />
|
|
20 <when value="no"/>
|
|
21 <when value="yes">
|
|
22 <param name="cuffcom_tmap" type="data" format="tabular" label="indicate cuff_in.tmap" help="default = 1"/>
|
|
23 </when>
|
|
24 </conditional>
|
|
25 </inputs>
|
|
26 <outputs>
|
|
27 <data name="outputFile" format="bed" label="${tool.name} on ${on_string} (BED)"/>
|
|
28 </outputs>
|
|
29 <help><![CDATA[
|
|
30
|
|
31
|
|
32
|
|
33
|
|
34 **ClosestToStartSite parses a bed file and generate a report about positions of features A (according to its TSS) to features B. It can also add the class code of features A.**
|
|
35
|
|
36 **what it does :**
|
|
37
|
|
38 generate a report about positions of features B to features A (according to its TSS). In input file, there are the information of the two features. ClosestToStartSite reports only the cases that features Bis near to TSS or has overlap with TSS of features A. it can be also run cuffcopare to features A, and add the class code information to output file.
|
|
39
|
|
40
|
|
41 -----
|
|
42
|
|
43 **example :**
|
|
44
|
|
45
|
|
46 Bed input file: ::
|
|
47
|
|
48 2L 239751 240346 CUFF.36.1 CUFF.36 - 2L 239932 241306 RXX + 415 TE_overlap_TSS
|
|
49 2L 113233 113411 CUFF.14.1 CUFF.14 - 2L 113496 113509 RLX - -854 TE_near_TSS
|
|
50
|
|
51
|
|
52 ----
|
|
53
|
|
54 output format: ::
|
|
55
|
|
56
|
|
57 2L 239751 240346 CUFF.36.1 CUFF.36 - 2L 239932 241306 RXX + 415 TE_overlap_TSS
|
|
58 2L 113233 113411 CUFF.14.1 CUFF.14 - 2L 113496 113509 RLX - -854 TE_near_TSS
|
|
59
|
|
60
|
|
61 output format with calss code: ::
|
|
62
|
|
63
|
|
64 2L 239751 240346 CUFF.36.1 CUFF.36 - 2L 239932 241306 RXX + 415 TE_overlap_TSS c gene-id-1
|
|
65 2L 113233 113411 CUFF.14.1 CUFF.14 - 2L 113496 113509 RLX - -854 TE_near_TSS = gene-id-2
|
|
66
|
|
67
|
|
68 ]]>
|
|
69 </help>
|
|
70 </tool>
|