diff summarize_cluster_table.xml @ 18:d7f3eff34c27 draft

Uploaded
author petr-novak
date Fri, 14 May 2021 11:08:46 +0000
parents
children 2f1b5d5c5dd5
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/summarize_cluster_table.xml	Fri May 14 11:08:46 2021 +0000
@@ -0,0 +1,42 @@
+<tool id="summarize_annotation" name="Make summary of CLUSTER_TABLE" version="1.0.0">
+  <description> Simple utility to summarize final annotation from RepeatExplorer CLUSTER_TABLE</description>
+  <requirements>
+    <requirement type="package">r-optparse</requirement>
+  </requirements>
+  
+    <command interpreter="Rscript" detect_errors="exit_code" >
+    $__tool_directory__/summarize_cluster_table.R
+    --cluster_table=$cluster_table
+    --output=$output
+
+    </command>
+
+    <inputs>
+      <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" />
+    </inputs>
+
+    <outputs>
+         	<data format="tabular" name="output" label="Summary of repeat proportion from ${cluster_table.hid}"/>
+    </outputs>
+    <help>
+      **Summarization of annotation from CLUSTER_TABLE**
+          
+      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.
+
+      Example of CLUSTER_TABLE.csv: ::
+
+          Number_of_reads_in_clusters	1185180					
+          Number_of_clusters	62148					
+          Number_of_superclusters	62031					
+          Number_of_singlets	314820					
+          Number_of_analyzed_reads	1500000					
+          Cluster	Supercluster	Size	Size_adjusted	Automatic_annotation	TAREAN_annotation	Final_annotation						
+          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
+          137	5	2094	2094	All/repeat	Other	All/repeat
+          112	9	3117	3117	All/repeat/rDNA/45S_rDNA	Other	All/repeat/rDNA/45S_rDNA
+          16	11	10078	10078	All/repeat/satellite	Putative satellites (high confidence)	All/repeat/satellite
+          125	22	2630	2630	All/organelle/plastid	Other	All/organelle/plastid
+          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
+
+    </help>
+</tool>