6
|
1 <tool id="SyntenyMapperVisualization1" name="SyntenyMapperVisualization" version="1.0.0">
|
|
2 <description>Visualizes micro-rearrangements for one synteny region</description>
|
|
3
|
|
4 <requirements>
|
|
5 <requirement type="set_environment">JAR_PATH</requirement>
|
|
6 <requirement type="package" version="0.64">circos</requirement>
|
|
7 <requirement type="set_environment">CIRCOS_SCRIPT_PATH</requirement>
|
20
|
8 <requirement type="package" version="3.0.2">R_3_0_2</requirement>
|
10
|
9 <requirement type="set_environment">R_PATH</requirement>
|
6
|
10 </requirements>
|
|
11
|
|
12 <command>
|
10
|
13 java -cp \$JAR_PATH/syntenyMapper.jar de/tum/wzw/visualization/SyntenyPlotterWrapper $syntenyRegion $mappingFile $syntenyFile $out_file1 \$CIRCOS_PATH \$CIRCOS_SCRIPT_PATH $out_file1.files_path $linear \$R_PATH
|
6
|
14 </command>
|
|
15
|
|
16 <inputs>
|
|
17 <param name="mappingFile" format="tabular" type="data" label="Mapped genes (SyntenyMapper output1)"/>
|
|
18 <param name="syntenyFile" format="tabular" type="data" size="9" label="Refined synteny regions (SyntenyMapper output2)"/>
|
|
19 <param name="syntenyRegion" multiple="False" type="select" label="Choose a synteny region">
|
|
20 <options from_dataset="syntenyFile">
|
|
21 <column name="name" index="0"/>
|
|
22 <column name="value" index="0"/>
|
|
23 <!--<filter type="static_value" name="regular" value="regular" column="9"/>
|
|
24 <validator type="expression">str(value).find("000") != -1</validator>-->
|
|
25 <filter type="sort_by" column="0" ref="syntenyFile"/>
|
|
26 </options>
|
|
27 </param>
|
10
|
28 <param name="linear" type="select" label="Linear">
|
|
29 <option value="false">Circular representation</option>
|
|
30 <option value="true">Linear representation</option>
|
|
31 </param>
|
6
|
32 </inputs>
|
|
33 <outputs>
|
25
|
34 <data format="html" name="out_file1" label="Visualization of Mapping">
|
|
35 <filter>linear=='false'</filter>
|
|
36 </data>
|
|
37 <data format="pdf" name="out_file1" label="Visualization of Mapping">
|
|
38 <filter>linear=='true'</filter>
|
|
39 </data>
|
6
|
40 </outputs>
|
|
41 <tests>
|
|
42 <test>
|
|
43 <param name="mappingFile" value="Gene_mapping1.out"/>
|
|
44 <param name="syntenyFile" value="Refined_Synteny_regions2.out"/>
|
|
45 <param name="syntenyRegion" value="44454"/>
|
|
46 <output name="out_file3" file="visualization_test.html"/>
|
|
47 </test>
|
|
48 </tests>
|
|
49 <help>
|
|
50
|
|
51 This tool visualizes the mapping of genes and out-of-order blocks of genes ("jumped genes") between two organisms for a given synteny region using Circos, effectively illustrating micro-rearrangements.
|
|
52
|
|
53 .. class:: infomark
|
|
54
|
|
55 Gene boxes are clickable and redirect to ENSEMBL.
|
|
56
|
|
57 ----
|
|
58
|
|
59 **Input**
|
|
60
|
|
61 .. class:: warningmark
|
|
62
|
|
63 Correct input format has to be generated with the SyntenyMapper tool.
|
|
64
|
|
65 Mapped genes is SyntenyMapper's first output file containing 12 columns in the following format:
|
|
66
|
|
67 +---------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
|
68 |#Species1: homo_sapiens |
|
|
69 +---------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
|
70 |#Species2: mus_musculus |
|
|
71 +----+----------+--------------------+---------------+---------------+-------------+--------------------+---------------+---------------+-------------+-----+---------+
|
|
72 |#ID |SyntenyID |ENSEMBL_ID_species1 |Chrom_species1 |Start_species1 |End_species1 |ENSEMBL_ID_species2 |Chrom_species2 |Start_species2 |End_species2 |Type |splitted |
|
|
73 +----+----------+--------------------+---------------+---------------+-------------+--------------------+---------------+---------------+-------------+-----+---------+
|
|
74 |0 |445330001 |ENSG00000068793 |15 |22892005 |23006016 |ENSMUSG00000030447 |7 |55841745 |55930700 |gene |'no' |
|
|
75 +----+----------+--------------------+---------------+---------------+-------------+--------------------+---------------+---------------+-------------+-----+---------+
|
|
76
|
|
77
|
|
78
|
|
79 Synteny regions need to be updated by SyntenyMapper (second output) and contain information on micro-rearrangements and original synteny blocks in the following format:
|
|
80
|
|
81 +------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
|
82 |#Species1: homo_sapiens |
|
|
83 +------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
|
84 |#Species2: mus_musculus |
|
|
85 +-------------+---------------+---------------+-------------+-------------------+---------------+---------------+-------------+-------------------+----------------+
|
|
86 |#SyntenyID |Chrom_species1 |Start_species1 |End_species1 |Direction_species1 |Chrom_species2 |Start_species2 |End_species2 |Direction_species2 |Status |
|
|
87 +-------------+---------------+---------------+-------------+-------------------+---------------+---------------+-------------+-------------------+----------------+
|
|
88 |"4445500027" |10 |13141449 |13180291 |0 |2 |5020642 |5064051 |1 |jumped_internal |
|
|
89 +-------------+---------------+---------------+-------------+-------------------+---------------+---------------+-------------+-------------------+----------------+
|
|
90 |"4460700010" |2 |26987152 |27004099 |0 |5 |30647933 |30659731 |1 |jumped_internal |
|
|
91 +-------------+---------------+---------------+-------------+-------------------+---------------+---------------+-------------+-------------------+----------------+
|
|
92
|
|
93 ----
|
|
94
|
|
95 **Note**
|
|
96
|
|
97 Long synteny region IDs correspond to translocated or inversed regions and will be visualized within the context of their origin synteny region (first 5 digits).
|
|
98
|
|
99 ----
|
|
100
|
|
101 **Legend**
|
|
102
|
|
103 .. image:: $PATH_TO_IMAGES/legend.png
|
|
104 </help>
|
|
105 </tool>
|