Mercurial > repos > iuc > proteinortho_summary
comparison proteinortho_summary.xml @ 0:2e0e9c418a85 draft
"planemo upload for repository https://gitlab.com/paulklemm_PHD/proteinortho commit 889335c0a31f156c3f90d4c2048cb4df155a53b2"
author | iuc |
---|---|
date | Tue, 18 Feb 2020 17:56:58 -0500 |
parents | |
children | c3f58c2eee1e |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:2e0e9c418a85 |
---|---|
1 <tool id="proteinortho_summary" name="Proteinortho summary" version="@TOOL_VERSION@+galaxy@WRAPPER_VERSION@"> | |
2 <description>summaries the orthology-pairs/RBH files</description> | |
3 <macros> | |
4 <import>proteinortho_macros.xml</import> | |
5 </macros> | |
6 <expand macro="requirements"/> | |
7 <expand macro="version_command"/> | |
8 <command detect_errors="exit_code"><![CDATA[ | |
9 proteinortho_summary.pl | |
10 $queryfile | |
11 #if $queryfile2: | |
12 '$queryfile2' | |
13 #end if | |
14 2>&1 | awk '/^$/ && !f{f=1;next}1' | awk -v RS= '{print > ("output" NR ".tsv")}' | |
15 && | |
16 mv output1.tsv adjacencyMat.tsv && | |
17 mv output2.tsv average1paths.tsv && | |
18 mv output3.tsv adjacencyMatSquared.tsv && | |
19 mv output4.tsv average2paths.tsv | |
20 ]]></command> | |
21 <inputs> | |
22 <param name="queryfile" type="data" format="tabular" label="A orthology-pairs / RBH file"/> | |
23 <param name="queryfile2" type="data" format="tabular" optional="true" label="(optional) A second orthology-pairs / RBH file" help="If you provide a second file, then difference is calculated (GRAPH - second GRAPH)"/> | |
24 </inputs> | |
25 <outputs> | |
26 <data name="adjacencyMat" format="tabular" label="${tool.name} on ${on_string}: Adjacency Matrix" from_work_dir="adjacencyMat.tsv"/> | |
27 <data name="average1paths" format="tabular" label="${tool.name} on ${on_string}: Average number of Edges" from_work_dir="average1paths.tsv"/> | |
28 <data name="adjacencyMatSquared" format="tabular" label="${tool.name} on ${on_string}: Matrix of 2-paths" from_work_dir="adjacencyMatSquared.tsv"/> | |
29 <data name="average2paths" format="tabular" label="${tool.name} on ${on_string}: Average number of 2-paths" from_work_dir="average2paths.tsv"/> | |
30 </outputs> | |
31 <tests> | |
32 <test expect_num_outputs="4"> | |
33 <param name="queryfile" value="result.proteinortho-graph"/> | |
34 <output name="adjacencyMat"> | |
35 <assert_contents> | |
36 <has_text text="18"/> | |
37 <has_text text="14"/> | |
38 </assert_contents> | |
39 </output> | |
40 <output name="average1paths"> | |
41 <assert_contents> | |
42 <has_text text="9.6"/> | |
43 <has_text text="15"/> | |
44 </assert_contents> | |
45 </output> | |
46 <output name="adjacencyMatSquared"> | |
47 <assert_contents> | |
48 <has_text text="750"/> | |
49 <has_text text="74"/> | |
50 </assert_contents> | |
51 </output> | |
52 <output name="average2paths"> | |
53 <assert_contents> | |
54 <has_text text="1088.8"/> | |
55 <has_text text="1374.2"/> | |
56 </assert_contents> | |
57 </output> | |
58 </test> | |
59 <test expect_num_outputs="4"> | |
60 <param name="queryfile" value="result.proteinortho-graph"/> | |
61 <param name="queryfile2" value="result.blast-graph"/> | |
62 <output name="average2paths"> | |
63 <assert_contents> | |
64 <has_text text="49.6"/> | |
65 <has_text text="59.8"/> | |
66 </assert_contents> | |
67 </output> | |
68 </test> | |
69 </tests> | |
70 <help><![CDATA[proteinortho summary | |
71 | |
72 **What it does** | |
73 | |
74 proteinortho_summary : Summaries the (orthology-pairs/RBH) file(s) to determine how well the species are connected to each other. | |
75 | |
76 * **Adjacency Matrix** : How well are the species connected to each other directly. | |
77 | |
78 * **Average number of Edges** : Averaged number of connections for each species. | |
79 | |
80 * **Matrix of 2-paths** : The square of the adjacency matrix = The number of paths of length 2 between two species. | |
81 | |
82 * **Average number of 2-paths** : The average number of 2-paths for each species. If a species is not well connected to all the other species, it will result in a low average. | |
83 | |
84 | |
85 If you supply a second orthology-pairs/RBH then the difference is calculated for all 4 outputs. | |
86 | |
87 E.g. given the RBH and the orthology-pairs of the same run : The outputs show how much the clustering removed from the initial reciprocal best hit graph. | |
88 Or given 2 orthology-pairs from the same set of fasta files with different parameters (evalue,...) : The output show how the parameters change the connectivity of the output. | |
89 | |
90 **Other Proteinortho-Tools for downstream analysis** | |
91 | |
92 * `proteinortho grab proteins` : find proteins/genes in a given fasta file and retrieve their sequence(s). You can also use a orthology-groups file. | |
93 | |
94 More information can be found on github https://gitlab.com/paulklemm_PHD/proteinortho | |
95 ]]> | |
96 </help> | |
97 <expand macro="citations"/> | |
98 </tool> |