|
0
|
1 <tool id="circosJunctions" name="Integrative Plot" version="1.56">
|
|
|
2 <description> Create a Circos plot with Complete Genomics and/or SNParray data </description>
|
|
|
3
|
|
|
4
|
|
|
5 <requirements>
|
|
|
6 <requirement type="set_environment">CIRCOS_SCRIPT_PATH</requirement>
|
|
|
7 <requirement type="package" version="0.64">circos</requirement>
|
|
|
8 </requirements>
|
|
|
9
|
|
|
10
|
|
|
11 <command interpreter="bash">
|
|
|
12 galaxy_runCircos.sh
|
|
|
13 $junctions
|
|
|
14 $probes
|
|
|
15 $snps
|
|
|
16 $variants
|
|
|
17 #if $imageformat == "png"
|
|
|
18 $wg_out
|
|
|
19 $montage_out
|
|
|
20 #else
|
|
|
21 $wg_out2
|
|
|
22 $montage_out2
|
|
|
23 #end if
|
|
|
24 $chromosomes_out
|
|
|
25 $reference
|
|
|
26 $custom_out
|
|
|
27 "$custom.region"
|
|
|
28 $genetrack
|
|
|
29 $imageformat
|
|
|
30 \$CIRCOS_SCRIPT_PATH/scripts
|
|
|
31 \$CIRCOS_SCRIPT_PATH/config
|
|
|
32 </command>
|
|
|
33
|
|
|
34 <inputs>
|
|
|
35
|
|
|
36 <param name="reference" type="select" label="Reference">
|
|
|
37 <option value="hg18" selected="true"> HG18 (build 36) </option>
|
|
|
38 <option value="hg19"> HG19 (build 37) </option>
|
|
|
39 </param>
|
|
|
40 <param name="junctions" type="data" optional="true" format="tabular" label="CG Junctions file"/>
|
|
|
41 <param name="variants" type="data" optional="true" format="tabular" label="Variants list (e.g. output from CG listvariants)"/>
|
|
|
42
|
|
|
43 <param name="snps" type="data" optional="true" format="tabular" label="Illumina (Nexus) snps.txt file"/>
|
|
|
44 <param name="probes" type="data" optional="true" format="tabular" label="Illumina (Nexus) probes.txt file"/>
|
|
|
45
|
|
|
46 <param name="wg" type="boolean" truevalue="Y" falsevalue="N" checked="true" label="Generate Whole-Genome plot?"/>
|
|
|
47 <param name="chrplots" type="boolean" truevalue="Y" falsevalue="N" checked="false" label="Also generate per-chromosome plots?"/>
|
|
|
48 <param name="montage" type="boolean" truevalue="Y" falsevalue="N" checked="false" label="Also generate montage of per-chromosome plots?"/>
|
|
|
49 <param name="genetrack" type="boolean" truevalue="yes" falsevalue="no" checked="false" label="Add ImpactedGenes track (only for the per-chromosome or custom plots)" help="Shows which genes are impacted by the SV events (junctions)"/>
|
|
|
50
|
|
|
51 <conditional name="custom">
|
|
|
52 <param name="plot" type="select" label="Create a plot of a custom region?">
|
|
|
53 <option value="N" selected="true"> No </option>
|
|
|
54 <option value="Y"> Yes </option>
|
|
|
55 </param>
|
|
|
56 <when value="N">
|
|
|
57 <param name="region" type="hidden" value="None" />
|
|
|
58 </when>
|
|
|
59 <when value="Y">
|
|
|
60 <param name="region" type="text" value="None" label="Region" help="For example: 'chr5;chr6;chrX' or 'chr12:12345-34567' or 'chr5:0-100,200-333;chrX:34567-78347'">
|
|
|
61 <sanitizer sanitize="False"/>
|
|
|
62 </param>
|
|
|
63 </when>
|
|
|
64 </conditional>
|
|
|
65
|
|
|
66 <param name="imageformat" type="select" label="Image Format">
|
|
|
67 <option value="png" selected="true"> PNG </option>
|
|
|
68 <option value="svg"> SVG </option>
|
|
|
69 </param>
|
|
|
70
|
|
|
71 <param name="fname" type="text" value="" label="Prefix for your output file" help="Optional"/>
|
|
|
72
|
|
|
73 </inputs>
|
|
|
74
|
|
|
75 <outputs>
|
|
|
76 <data format="png" name="wg_out" label="Whole genome plot on ${on_string}"> <filter> imageformat == "png" </filter> <filter> wg </filter> </data>
|
|
|
77 <data format="png" name="montage_out" label="Chromosomes_montage on ${on_string}"> <filter> imageformat == "png" </filter> <filter> montage </filter> </data>
|
|
|
78 <data format="png" name="custom_out" label="Plot of region ${custom.region} on ${on_string} "> <filter> imageformat == "png" </filter> <filter> custom['plot'] == "Y" </filter> </data>
|
|
|
79
|
|
|
80 <data format="svg" name="wg_out2" label="Whole genome plot on ${on_string}"> <filter> imageformat == "svg" </filter> <filter> wg </filter> </data>
|
|
|
81 <data format="svg" name="montage_out2" label="Chromosomes_montage on ${on_string}"> <filter> imageformat == "svg" </filter> <filter> montage </filter> </data>
|
|
|
82 <data format="svg" name="custom_out2" label="Plot of region ${custom.region} on ${on_string} "> <filter> imageformat == "svg" </filter> <filter> custom['plot'] == "Y" </filter> </data>
|
|
|
83
|
|
|
84
|
|
|
85 <data format="gzip" name="chromosomes_out" label="Chromosome plots on ${on_string}"> <filter> chrplots </filter> </data>
|
|
|
86 </outputs>
|
|
|
87
|
|
|
88 <help>
|
|
|
89
|
|
|
90
|
|
|
91 </help>
|
|
|
92
|
|
|
93 </tool>
|
|
|
94
|
|
|
95
|