annotate summarize_cluster_table.xml @ 18:d7f3eff34c27 draft

Uploaded
author petr-novak
date Fri, 14 May 2021 11:08:46 +0000
parents
children 2f1b5d5c5dd5
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
18
d7f3eff34c27 Uploaded
petr-novak
parents:
diff changeset
1 <tool id="summarize_annotation" name="Make summary of CLUSTER_TABLE" version="1.0.0">
d7f3eff34c27 Uploaded
petr-novak
parents:
diff changeset
2 <description> Simple utility to summarize final annotation from RepeatExplorer CLUSTER_TABLE</description>
d7f3eff34c27 Uploaded
petr-novak
parents:
diff changeset
3 <requirements>
d7f3eff34c27 Uploaded
petr-novak
parents:
diff changeset
4 <requirement type="package">r-optparse</requirement>
d7f3eff34c27 Uploaded
petr-novak
parents:
diff changeset
5 </requirements>
d7f3eff34c27 Uploaded
petr-novak
parents:
diff changeset
6
d7f3eff34c27 Uploaded
petr-novak
parents:
diff changeset
7 <command interpreter="Rscript" detect_errors="exit_code" >
d7f3eff34c27 Uploaded
petr-novak
parents:
diff changeset
8 $__tool_directory__/summarize_cluster_table.R
d7f3eff34c27 Uploaded
petr-novak
parents:
diff changeset
9 --cluster_table=$cluster_table
d7f3eff34c27 Uploaded
petr-novak
parents:
diff changeset
10 --output=$output
d7f3eff34c27 Uploaded
petr-novak
parents:
diff changeset
11
d7f3eff34c27 Uploaded
petr-novak
parents:
diff changeset
12 </command>
d7f3eff34c27 Uploaded
petr-novak
parents:
diff changeset
13
d7f3eff34c27 Uploaded
petr-novak
parents:
diff changeset
14 <inputs>
d7f3eff34c27 Uploaded
petr-novak
parents:
diff changeset
15 <param format="txt" type="data" name="cluster_table" label="file from RepeatExplorer2 clustering - CLUSTER_TABLE.csv" help="CLUSTER_TABLE.csv must contains completed Final_annotation column" />
d7f3eff34c27 Uploaded
petr-novak
parents:
diff changeset
16 </inputs>
d7f3eff34c27 Uploaded
petr-novak
parents:
diff changeset
17
d7f3eff34c27 Uploaded
petr-novak
parents:
diff changeset
18 <outputs>
d7f3eff34c27 Uploaded
petr-novak
parents:
diff changeset
19 <data format="tabular" name="output" label="Summary of repeat proportion from ${cluster_table.hid}"/>
d7f3eff34c27 Uploaded
petr-novak
parents:
diff changeset
20 </outputs>
d7f3eff34c27 Uploaded
petr-novak
parents:
diff changeset
21 <help>
d7f3eff34c27 Uploaded
petr-novak
parents:
diff changeset
22 **Summarization of annotation from CLUSTER_TABLE**
d7f3eff34c27 Uploaded
petr-novak
parents:
diff changeset
23
d7f3eff34c27 Uploaded
petr-novak
parents:
diff changeset
24 Input file CLUSTER_TABLE.csv must contains filled "Final_annotation" column. Contamination and organelle clusters are discarded from quantification, cluster table must also contain header - see example.
d7f3eff34c27 Uploaded
petr-novak
parents:
diff changeset
25
d7f3eff34c27 Uploaded
petr-novak
parents:
diff changeset
26 Example of CLUSTER_TABLE.csv: ::
d7f3eff34c27 Uploaded
petr-novak
parents:
diff changeset
27
d7f3eff34c27 Uploaded
petr-novak
parents:
diff changeset
28 Number_of_reads_in_clusters 1185180
d7f3eff34c27 Uploaded
petr-novak
parents:
diff changeset
29 Number_of_clusters 62148
d7f3eff34c27 Uploaded
petr-novak
parents:
diff changeset
30 Number_of_superclusters 62031
d7f3eff34c27 Uploaded
petr-novak
parents:
diff changeset
31 Number_of_singlets 314820
d7f3eff34c27 Uploaded
petr-novak
parents:
diff changeset
32 Number_of_analyzed_reads 1500000
d7f3eff34c27 Uploaded
petr-novak
parents:
diff changeset
33 Cluster Supercluster Size Size_adjusted Automatic_annotation TAREAN_annotation Final_annotation
d7f3eff34c27 Uploaded
petr-novak
parents:
diff changeset
34 10 4 11967 11967 All/repeat/mobile_element/Class_I/LTR/Ty1_copia/SIRE Other All/repeat/mobile_element/Class_I/LTR/Ty1_copia/SIRE
d7f3eff34c27 Uploaded
petr-novak
parents:
diff changeset
35 137 5 2094 2094 All/repeat Other All/repeat
d7f3eff34c27 Uploaded
petr-novak
parents:
diff changeset
36 112 9 3117 3117 All/repeat/rDNA/45S_rDNA Other All/repeat/rDNA/45S_rDNA
d7f3eff34c27 Uploaded
petr-novak
parents:
diff changeset
37 16 11 10078 10078 All/repeat/satellite Putative satellites (high confidence) All/repeat/satellite
d7f3eff34c27 Uploaded
petr-novak
parents:
diff changeset
38 125 22 2630 2630 All/organelle/plastid Other All/organelle/plastid
d7f3eff34c27 Uploaded
petr-novak
parents:
diff changeset
39 124 40 2645 2645 All/repeat/mobile_element/Class_I/LTR/Ty1_copia/Ivana Putative LTR elements All/repeat/mobile_element/Class_I/LTR/Ty1_copia/Ivana
d7f3eff34c27 Uploaded
petr-novak
parents:
diff changeset
40
d7f3eff34c27 Uploaded
petr-novak
parents:
diff changeset
41 </help>
d7f3eff34c27 Uploaded
petr-novak
parents:
diff changeset
42 </tool>