annotate format_repeat_library.xml @ 3:e955b40ad3a4 draft default tip

Uploaded
author petr-novak
date Tue, 12 Oct 2021 07:43:54 +0000
parents cf3cea0a3039
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
cf3cea0a3039 Uploaded
petr-novak
parents:
diff changeset
1 <tool id="annotate_contigs" name="Format Repeat Library" version="0.1.0" python_template_version="3.5">
cf3cea0a3039 Uploaded
petr-novak
parents:
diff changeset
2 <requirements>
cf3cea0a3039 Uploaded
petr-novak
parents:
diff changeset
3 <requirement type="package" version="2.60.0">bioconductor-biostrings</requirement>
cf3cea0a3039 Uploaded
petr-novak
parents:
diff changeset
4 </requirements>
cf3cea0a3039 Uploaded
petr-novak
parents:
diff changeset
5 <command detect_errors="exit_code"><![CDATA[
cf3cea0a3039 Uploaded
petr-novak
parents:
diff changeset
6 $__tool_directory__/annotate_contigs.R '$contigs' '$cluster_table' '$annotated_contigs'
cf3cea0a3039 Uploaded
petr-novak
parents:
diff changeset
7 ]]></command>
cf3cea0a3039 Uploaded
petr-novak
parents:
diff changeset
8 <inputs>
cf3cea0a3039 Uploaded
petr-novak
parents:
diff changeset
9 <param type="data" name="contigs" format="fasta" label="Contigs - Library of Repeats from TAREAN/RepeatExplorer pipeline" />
cf3cea0a3039 Uploaded
petr-novak
parents:
diff changeset
10 <param type="data" name="cluster_table" format="txt" label="CLUSTER_TABLE from RepeatExplorer pipeline" help="CLUSTER_TABLE which contain annotation of clusters from RepeatExplorer pipeline"/>
cf3cea0a3039 Uploaded
petr-novak
parents:
diff changeset
11 </inputs>
cf3cea0a3039 Uploaded
petr-novak
parents:
diff changeset
12 <outputs>
cf3cea0a3039 Uploaded
petr-novak
parents:
diff changeset
13 <data name="annotated_contigs" format="fasta" label="Annotated Repeat Library based on ${contigs.hid} and ${cluster_table.hid}" />
cf3cea0a3039 Uploaded
petr-novak
parents:
diff changeset
14 </outputs>
cf3cea0a3039 Uploaded
petr-novak
parents:
diff changeset
15 <help><![CDATA[
cf3cea0a3039 Uploaded
petr-novak
parents:
diff changeset
16 **What this tool does**
cf3cea0a3039 Uploaded
petr-novak
parents:
diff changeset
17
cf3cea0a3039 Uploaded
petr-novak
parents:
diff changeset
18 Contigs from RepeatExplorer archive are annotated based on the classification of repeats from cluster_table.
cf3cea0a3039 Uploaded
petr-novak
parents:
diff changeset
19
cf3cea0a3039 Uploaded
petr-novak
parents:
diff changeset
20 Preformated CLUSTER_TABLE can be extracted from RepeatExplorer archive and modified accordingly. By default, "Final_annotation" column is used to append annotation to contigs in repeat library (based on the cluster id). If "Final_annotation" column is incomplete, "Automatic_annotation" column is used instead.
cf3cea0a3039 Uploaded
petr-novak
parents:
diff changeset
21
cf3cea0a3039 Uploaded
petr-novak
parents:
diff changeset
22 Example of tab delimited CLUSTER_TABLE::
cf3cea0a3039 Uploaded
petr-novak
parents:
diff changeset
23
cf3cea0a3039 Uploaded
petr-novak
parents:
diff changeset
24
cf3cea0a3039 Uploaded
petr-novak
parents:
diff changeset
25 "Number_of_reads_in_clusters" 3886
cf3cea0a3039 Uploaded
petr-novak
parents:
diff changeset
26 "Number_of_clusters" 822
cf3cea0a3039 Uploaded
petr-novak
parents:
diff changeset
27 "Number_of_superclusters" 821
cf3cea0a3039 Uploaded
petr-novak
parents:
diff changeset
28 "Number_of_singlets" 6114
cf3cea0a3039 Uploaded
petr-novak
parents:
diff changeset
29 "Number_of_analyzed_reads" 10000
cf3cea0a3039 Uploaded
petr-novak
parents:
diff changeset
30
cf3cea0a3039 Uploaded
petr-novak
parents:
diff changeset
31 "Cluster" "Supercluster" "Size" "Size_adjusted" "Automatic_annotation" "TAREAN_annotation" "Final_annotation"
cf3cea0a3039 Uploaded
petr-novak
parents:
diff changeset
32 1 1 260 260 "All/repeat/satellite" "Putative satellites (low confidence)" ""
cf3cea0a3039 Uploaded
petr-novak
parents:
diff changeset
33 2 2 157 157 "All/repeat/satellite" "Putative satellites (low confidence)" ""
cf3cea0a3039 Uploaded
petr-novak
parents:
diff changeset
34 3 4 100 100 "All" "Other" ""
cf3cea0a3039 Uploaded
petr-novak
parents:
diff changeset
35 4 5 83 83 "All" "Other" ""
cf3cea0a3039 Uploaded
petr-novak
parents:
diff changeset
36 5 3 77 77 "All" "Other" ""
cf3cea0a3039 Uploaded
petr-novak
parents:
diff changeset
37 6 3 65 65 "All" "Other" ""
cf3cea0a3039 Uploaded
petr-novak
parents:
diff changeset
38 7 6 61 61 "All" "Other" ""
cf3cea0a3039 Uploaded
petr-novak
parents:
diff changeset
39 8 7 58 58 "All" "Other" ""
cf3cea0a3039 Uploaded
petr-novak
parents:
diff changeset
40 9 8 53 53 "All" "Other" ""
cf3cea0a3039 Uploaded
petr-novak
parents:
diff changeset
41 10 9 53 53 "All" "Other" ""
cf3cea0a3039 Uploaded
petr-novak
parents:
diff changeset
42 11 10 51 51 "All" "Other" ""
cf3cea0a3039 Uploaded
petr-novak
parents:
diff changeset
43 12 11 45 45 "All" "Other" ""
cf3cea0a3039 Uploaded
petr-novak
parents:
diff changeset
44 13 12 44 44 "All" "Other" ""
cf3cea0a3039 Uploaded
petr-novak
parents:
diff changeset
45 14 13 44 44 "All" "Other" ""
cf3cea0a3039 Uploaded
petr-novak
parents:
diff changeset
46 15 14 39 39 "All" "Other" ""
cf3cea0a3039 Uploaded
petr-novak
parents:
diff changeset
47 16 15 37 37 "All" "Other" ""
cf3cea0a3039 Uploaded
petr-novak
parents:
diff changeset
48 17 16 30 30 "All/repeat/satellite" "Putative satellites (low confidence)" ""
cf3cea0a3039 Uploaded
petr-novak
parents:
diff changeset
49 18 17 28 28 "All/repeat/satellite" "Putative satellites (low confidence)" ""
cf3cea0a3039 Uploaded
petr-novak
parents:
diff changeset
50 19 18 26 26 "All/repeat/satellite" "Putative satellites (high confidence)" ""
cf3cea0a3039 Uploaded
petr-novak
parents:
diff changeset
51 20 19 23 23 "All/repeat/../CRM" "Other" ""
cf3cea0a3039 Uploaded
petr-novak
parents:
diff changeset
52 21 20 21 21 "All" "Other" ""
cf3cea0a3039 Uploaded
petr-novak
parents:
diff changeset
53 22 21 21 21 "All" "Other" ""
cf3cea0a3039 Uploaded
petr-novak
parents:
diff changeset
54 23 22 21 21 "All" "Other" ""
cf3cea0a3039 Uploaded
petr-novak
parents:
diff changeset
55 24 23 21 21 "All" "Other" ""
cf3cea0a3039 Uploaded
petr-novak
parents:
diff changeset
56 25 24 20 20 "All/repeat/../Ogre" "Other" ""
cf3cea0a3039 Uploaded
petr-novak
parents:
diff changeset
57
cf3cea0a3039 Uploaded
petr-novak
parents:
diff changeset
58
cf3cea0a3039 Uploaded
petr-novak
parents:
diff changeset
59 Only Cluster, Automatic_annotation/Final_annnotation are mandatory"
cf3cea0a3039 Uploaded
petr-novak
parents:
diff changeset
60
cf3cea0a3039 Uploaded
petr-novak
parents:
diff changeset
61 Clusters with higher number than those in CLUSTER_TABLE are removed from Repeat library
cf3cea0a3039 Uploaded
petr-novak
parents:
diff changeset
62
cf3cea0a3039 Uploaded
petr-novak
parents:
diff changeset
63 Contigs are provided in followinf format::
cf3cea0a3039 Uploaded
petr-novak
parents:
diff changeset
64
cf3cea0a3039 Uploaded
petr-novak
parents:
diff changeset
65
cf3cea0a3039 Uploaded
petr-novak
parents:
diff changeset
66 >CL25Contig1
cf3cea0a3039 Uploaded
petr-novak
parents:
diff changeset
67 AGATCAAGATGGCGCCGGAGGACATGGAGAAAACGACGTTTATCACTCCCTGGGGAACATTTTGCTACAAGGTAATGCCT
cf3cea0a3039 Uploaded
petr-novak
parents:
diff changeset
68 TTCGGTCTGAAGAACGCAGGGGCCACTTACCAACGAGCAATGGTAACTT
cf3cea0a3039 Uploaded
petr-novak
parents:
diff changeset
69 >CL1Contig4#All/repeat/satellite
cf3cea0a3039 Uploaded
petr-novak
parents:
diff changeset
70 ACCCGAAGGCCGGCTCAACCCGAAGTTGAGAAGAACATCTGACCTCGCCGTCAGGCATCTGTTAAACAAACAGGCATCGA
cf3cea0a3039 Uploaded
petr-novak
parents:
diff changeset
71 A
cf3cea0a3039 Uploaded
petr-novak
parents:
diff changeset
72 >CL1Contig5
cf3cea0a3039 Uploaded
petr-novak
parents:
diff changeset
73 TGAGAAGAACATCTGACCTCGCCGTCAGGCATCTGTTAAACAAACAGGCATCGAACCCGAAGGCCGGCTCAACCCGAAGT
cf3cea0a3039 Uploaded
petr-novak
parents:
diff changeset
74 TGATAAGAACATCTGACCTCGCCGTCAGGCATCTGTTAAACAAACAGGCATCGAACCCGAAGGCCGGCTCAACACGAAGT
cf3cea0a3039 Uploaded
petr-novak
parents:
diff changeset
75 TGAGAGGAACATCTGACCTCGCCGTCAGGCATCTGTTAAA
cf3cea0a3039 Uploaded
petr-novak
parents:
diff changeset
76
cf3cea0a3039 Uploaded
petr-novak
parents:
diff changeset
77
cf3cea0a3039 Uploaded
petr-novak
parents:
diff changeset
78 Resulting repeat library will have following format::
cf3cea0a3039 Uploaded
petr-novak
parents:
diff changeset
79
cf3cea0a3039 Uploaded
petr-novak
parents:
diff changeset
80 >CL25Contig1#All/repeat/mobile_element/Class_I/LTR/Ty3_gypsy/non-chromovirus/OTA/Tat/Ogre
cf3cea0a3039 Uploaded
petr-novak
parents:
diff changeset
81 AGATCAAGATGGCGCCGGAGGACATGGAGAAAACGACGTTTATCACTCCCTGGGGAACATTTTGCTACAAGGTAATGCCT
cf3cea0a3039 Uploaded
petr-novak
parents:
diff changeset
82 TTCGGTCTGAAGAACGCAGGGGCCACTTACCAACGAGCAATGGTAACTT
cf3cea0a3039 Uploaded
petr-novak
parents:
diff changeset
83 >CL1Contig4#All/repeat/satellite
cf3cea0a3039 Uploaded
petr-novak
parents:
diff changeset
84 ACCCGAAGGCCGGCTCAACCCGAAGTTGAGAAGAACATCTGACCTCGCCGTCAGGCATCTGTTAAACAAACAGGCATCGA
cf3cea0a3039 Uploaded
petr-novak
parents:
diff changeset
85 A
cf3cea0a3039 Uploaded
petr-novak
parents:
diff changeset
86 >CL1Contig5#All/repeat/satellite
cf3cea0a3039 Uploaded
petr-novak
parents:
diff changeset
87 TGAGAAGAACATCTGACCTCGCCGTCAGGCATCTGTTAAACAAACAGGCATCGAACCCGAAGGCCGGCTCAACCCGAAGT
cf3cea0a3039 Uploaded
petr-novak
parents:
diff changeset
88 TGATAAGAACATCTGACCTCGCCGTCAGGCATCTGTTAAACAAACAGGCATCGAACCCGAAGGCCGGCTCAACACGAAGT
cf3cea0a3039 Uploaded
petr-novak
parents:
diff changeset
89 TGAGAGGAACATCTGACCTCGCCGTCAGGCATCTGTTAAA
cf3cea0a3039 Uploaded
petr-novak
parents:
diff changeset
90
cf3cea0a3039 Uploaded
petr-novak
parents:
diff changeset
91
cf3cea0a3039 Uploaded
petr-novak
parents:
diff changeset
92
cf3cea0a3039 Uploaded
petr-novak
parents:
diff changeset
93
cf3cea0a3039 Uploaded
petr-novak
parents:
diff changeset
94 ]]></help>
cf3cea0a3039 Uploaded
petr-novak
parents:
diff changeset
95 </tool>