0
|
1 <tool id="network_attributes" name="Calculate Network Attributes">
|
|
2 <description></description>
|
|
3 <command interpreter="python">Calculate_attributes_wrapper.py $edges $centrality $modularity $node_attr \$INSTALL_RUN_PATH/</command>
|
|
4 <requirements>
|
|
5 <requirement type="set_environment">INSTALL_RUN_PATH</requirement>
|
|
6 </requirements>
|
|
7 <inputs>
|
|
8 <param format="sif" name="edges" type="data" label="Network File"/>
|
|
9 <param type="select" name="centrality" label="Select Centrality Metric"/>
|
|
10 <option value="eigenvector">eigenvector centrality</option>
|
|
11 <option value="betweenness">betweenness centrality</option>
|
|
12 <option value="closeness">closeness centrality</option>
|
|
13 <option value="PageRank">Page Rank</option>
|
|
14 <param type="select" name="modularity" label="Select Community Detection Algorithm">
|
|
15 <option value="fast.greedy">Fast Greedy (recommended)</option>
|
|
16 <option value="optimal">Optimal (see note)</option>
|
|
17 <option value="edge.betweenness">Edge Betweenness</option>
|
|
18 <option value="walk.trap">Walk Trap</option>
|
|
19 <option value="spin.glass">Spin Glass</option>
|
|
20 <option value="leading eigenvector">Leading Eigenvector</option>
|
|
21 <option value="label.propagation">Label Propagation</option>
|
|
22 <option value="multilevel">Multilevel</option>
|
|
23 </param>
|
|
24 </inputs>
|
|
25 <outputs>
|
|
26 <data format="txt" name="Node_attributes" label="Node Attributes"/>
|
|
27 </outputs>
|
|
28 <stdio>
|
|
29 <regex match="Error|error"
|
|
30 source="stdout"
|
|
31 level="fatal"
|
|
32 description="Unknown error"/>
|
|
33 <regex match="Error|error"
|
|
34 source="stderr"
|
|
35 level="fatal"
|
|
36 description="Unknown error"/>
|
|
37 </stdio>
|
|
38
|
|
39 <tests>
|
|
40 <test>
|
|
41 <param name="input" value="fa_gc_content_input.fa"/>
|
|
42 <output name="out_file1" file="fa_gc_content_output.txt"/>
|
|
43 </test>
|
|
44 </tests>
|
|
45 <help>
|
|
46 SAINT Output to Protein Interaction File
|
|
47 ----------------------------------------
|
|
48
|
|
49 This tool reads in a network sif file and calculates the specified centrality
|
|
50 metric and perform community detection based on the specified algorithm.
|
|
51
|
|
52 **1) Network File **
|
|
53 This file must be a two column sif file (tab delimited)
|
|
54 e.g. EGFR\_HUMAN GRB2\_HUMAN
|
|
55
|
|
56 **2) Centrality**
|
|
57 Specify centrality metric measuring influence or bottlenecks in the network
|
|
58
|
|
59 **3) Modularity**
|
|
60 Please specify community detection algorithm.
|
|
61 **NOTE:** Optimal community detection computational time scales exponentially
|
|
62 with the number of nodes. Use with caution if number of nodes > 30.
|
|
63 </help>
|
|
64 </tool>
|