annotate plot_comparative_clustering_summary.xml @ 20:5a05925340b0 draft

Uploaded
author petr-novak
date Mon, 07 Jun 2021 08:46:07 +0000
parents d14b68e9fd1d
children 58807b35777a
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
17
d14b68e9fd1d Uploaded - new tools added
petr-novak
parents:
diff changeset
1 <tool id="plot_comparative" name="Visualization of comparative clustering" version="1.0.0">
d14b68e9fd1d Uploaded - new tools added
petr-novak
parents:
diff changeset
2 <description> Simple utility to create visualization of RepeatExplorer conmparative analysis</description>
d14b68e9fd1d Uploaded - new tools added
petr-novak
parents:
diff changeset
3 <requirements>
d14b68e9fd1d Uploaded - new tools added
petr-novak
parents:
diff changeset
4 <requirement type="package">r-optparse</requirement>
d14b68e9fd1d Uploaded - new tools added
petr-novak
parents:
diff changeset
5 </requirements>
d14b68e9fd1d Uploaded - new tools added
petr-novak
parents:
diff changeset
6
d14b68e9fd1d Uploaded - new tools added
petr-novak
parents:
diff changeset
7 <command interpreter="Rscript" detect_errors="exit_code" >
d14b68e9fd1d Uploaded - new tools added
petr-novak
parents:
diff changeset
8 $__tool_directory__/plot_comparative_clustering_summary.R
d14b68e9fd1d Uploaded - new tools added
petr-novak
parents:
diff changeset
9 --cluster_table=$cluster_table
d14b68e9fd1d Uploaded - new tools added
petr-novak
parents:
diff changeset
10 --comparative_counts=$counts
d14b68e9fd1d Uploaded - new tools added
petr-novak
parents:
diff changeset
11 --number_of_colors=$number_of_colors
d14b68e9fd1d Uploaded - new tools added
petr-novak
parents:
diff changeset
12 --output=$outpdf
d14b68e9fd1d Uploaded - new tools added
petr-novak
parents:
diff changeset
13 $nuclear_only
d14b68e9fd1d Uploaded - new tools added
petr-novak
parents:
diff changeset
14
d14b68e9fd1d Uploaded - new tools added
petr-novak
parents:
diff changeset
15 #if $normalization.use_genome_size:
d14b68e9fd1d Uploaded - new tools added
petr-novak
parents:
diff changeset
16 --genome_size $normalization.genome_size_table
d14b68e9fd1d Uploaded - new tools added
petr-novak
parents:
diff changeset
17 #end if
d14b68e9fd1d Uploaded - new tools added
petr-novak
parents:
diff changeset
18 </command>
d14b68e9fd1d Uploaded - new tools added
petr-novak
parents:
diff changeset
19
d14b68e9fd1d Uploaded - new tools added
petr-novak
parents:
diff changeset
20 <inputs>
d14b68e9fd1d Uploaded - new tools added
petr-novak
parents:
diff changeset
21 <param format="txt" type="data" name="cluster_table" label="file from RepeatExplorer2 clustering - CLUSTER_TABLE.csv"/>
d14b68e9fd1d Uploaded - new tools added
petr-novak
parents:
diff changeset
22 <param format="txt" type="data" name="counts" label="file from RepeatExplorer2 output - COMPARATIVE_ANALYSIS_COUNTS.csv"/>
d14b68e9fd1d Uploaded - new tools added
petr-novak
parents:
diff changeset
23 <param value="10" min="2" max="20" type="integer" name="number_of_colors" label="Maximum number of color used for plottting"/>
d14b68e9fd1d Uploaded - new tools added
petr-novak
parents:
diff changeset
24 <param value="false" type="boolean" truevalue="--nuclear_only" falsevalue="" name="nuclear_only" label="Remove all non-nuclear sequences (organel and contamination)"/>
d14b68e9fd1d Uploaded - new tools added
petr-novak
parents:
diff changeset
25 <conditional name="normalization">
d14b68e9fd1d Uploaded - new tools added
petr-novak
parents:
diff changeset
26 <param name="use_genome_size" type="boolean" checked="False" label="Normalize to genome size" help="Note that if this option is used, non-nuclear sequences are always removed."/>
d14b68e9fd1d Uploaded - new tools added
petr-novak
parents:
diff changeset
27 <when value="false">
d14b68e9fd1d Uploaded - new tools added
petr-novak
parents:
diff changeset
28 <!-- pass -->
d14b68e9fd1d Uploaded - new tools added
petr-novak
parents:
diff changeset
29 </when>
d14b68e9fd1d Uploaded - new tools added
petr-novak
parents:
diff changeset
30 <when value="true">
d14b68e9fd1d Uploaded - new tools added
petr-novak
parents:
diff changeset
31 <param name="genome_size_table" type="data" format="txt" label="table with genome sizes"/>
d14b68e9fd1d Uploaded - new tools added
petr-novak
parents:
diff changeset
32
d14b68e9fd1d Uploaded - new tools added
petr-novak
parents:
diff changeset
33 </when>
d14b68e9fd1d Uploaded - new tools added
petr-novak
parents:
diff changeset
34
d14b68e9fd1d Uploaded - new tools added
petr-novak
parents:
diff changeset
35 </conditional>
d14b68e9fd1d Uploaded - new tools added
petr-novak
parents:
diff changeset
36 </inputs>
d14b68e9fd1d Uploaded - new tools added
petr-novak
parents:
diff changeset
37
d14b68e9fd1d Uploaded - new tools added
petr-novak
parents:
diff changeset
38 <outputs>
d14b68e9fd1d Uploaded - new tools added
petr-novak
parents:
diff changeset
39 <data format="pdf" name="outpdf" label="Comparative analysis summary"/>
d14b68e9fd1d Uploaded - new tools added
petr-novak
parents:
diff changeset
40 </outputs>
d14b68e9fd1d Uploaded - new tools added
petr-novak
parents:
diff changeset
41 <help>
d14b68e9fd1d Uploaded - new tools added
petr-novak
parents:
diff changeset
42 **Visualization of comparative clustering**
d14b68e9fd1d Uploaded - new tools added
petr-novak
parents:
diff changeset
43 Visualization can be created two output files from RepeatExplorer pipeline.
d14b68e9fd1d Uploaded - new tools added
petr-novak
parents:
diff changeset
44
d14b68e9fd1d Uploaded - new tools added
petr-novak
parents:
diff changeset
45 Input file CLUSTER_TABLE.csv contains automatic annotation, information about cluster sizes and the total number of reads used for analysis
d14b68e9fd1d Uploaded - new tools added
petr-novak
parents:
diff changeset
46 Example of CLUSTER_TABLE.csv: ::
d14b68e9fd1d Uploaded - new tools added
petr-novak
parents:
diff changeset
47
d14b68e9fd1d Uploaded - new tools added
petr-novak
parents:
diff changeset
48 "Number_of_reads_in_clusters" 3002
d14b68e9fd1d Uploaded - new tools added
petr-novak
parents:
diff changeset
49 "Number_of_clusters" 895
d14b68e9fd1d Uploaded - new tools added
petr-novak
parents:
diff changeset
50 "Number_of_superclusters" 895
d14b68e9fd1d Uploaded - new tools added
petr-novak
parents:
diff changeset
51 "Number_of_singlets" 6998
d14b68e9fd1d Uploaded - new tools added
petr-novak
parents:
diff changeset
52
d14b68e9fd1d Uploaded - new tools added
petr-novak
parents:
diff changeset
53 "Number_of_analyzed_reads" 10000
d14b68e9fd1d Uploaded - new tools added
petr-novak
parents:
diff changeset
54
d14b68e9fd1d Uploaded - new tools added
petr-novak
parents:
diff changeset
55 "Cluster" "Supercluster" "Size" "Size_adjusted" "Automatic_annotation" "TAREAN_classification" "Final_annotation"
d14b68e9fd1d Uploaded - new tools added
petr-novak
parents:
diff changeset
56 1 1 61 61 "All" "Other"
d14b68e9fd1d Uploaded - new tools added
petr-novak
parents:
diff changeset
57 2 2 59 59 "All/repeat/satellite" "Putative satellites (high confidence)"
d14b68e9fd1d Uploaded - new tools added
petr-novak
parents:
diff changeset
58 3 3 45 45 "All/repeat/satellite" "Putative satellites (low confidence)"
d14b68e9fd1d Uploaded - new tools added
petr-novak
parents:
diff changeset
59 4 4 38 38 "All" "Other"
d14b68e9fd1d Uploaded - new tools added
petr-novak
parents:
diff changeset
60 5 5 32 32 "All" "Other"
d14b68e9fd1d Uploaded - new tools added
petr-novak
parents:
diff changeset
61 6 6 28 28 "All" "Other"
d14b68e9fd1d Uploaded - new tools added
petr-novak
parents:
diff changeset
62 7 7 25 25 "All" "Other"
d14b68e9fd1d Uploaded - new tools added
petr-novak
parents:
diff changeset
63 8 8 24 24 "All" "Other"
d14b68e9fd1d Uploaded - new tools added
petr-novak
parents:
diff changeset
64 9 9 23 23 "All" "Other"
d14b68e9fd1d Uploaded - new tools added
petr-novak
parents:
diff changeset
65 10 10 22 22 "All/repeat/mobile_element/Class_I/LTR/Ty3_gypsy/non-chromovirus/OTA/Tat/Ogre" "Other"
d14b68e9fd1d Uploaded - new tools added
petr-novak
parents:
diff changeset
66 11 11 20 20 "All" "Other"
d14b68e9fd1d Uploaded - new tools added
petr-novak
parents:
diff changeset
67 12 12 20 20 "All" "Other"
d14b68e9fd1d Uploaded - new tools added
petr-novak
parents:
diff changeset
68
d14b68e9fd1d Uploaded - new tools added
petr-novak
parents:
diff changeset
69
d14b68e9fd1d Uploaded - new tools added
petr-novak
parents:
diff changeset
70 </help>
d14b68e9fd1d Uploaded - new tools added
petr-novak
parents:
diff changeset
71 </tool>