annotate mcl.xml @ 1:e092787c0a29 draft default tip

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 8e05c68204da92683c62cb5448a1b3865ffe2683
author iuc
date Sun, 12 Nov 2023 14:30:23 +0000
parents 649b9cb20668
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
1 <tool id="mcl" name="MCL" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="21.05">
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
2 <description>Markov Cluster Algorithm for graphs</description>
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
3 <macros>
1
e092787c0a29 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 8e05c68204da92683c62cb5448a1b3865ffe2683
iuc
parents: 0
diff changeset
4 <token name="@TOOL_VERSION@">22.282</token>
0
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
5 <token name="@VERSION_SUFFIX@">0</token>
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
6 </macros>
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
7 <xrefs>
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
8 <xref type="bio.tools">mcl</xref>
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
9 </xrefs>
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
10 <requirements>
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
11 <requirement type="package" version="@TOOL_VERSION@">mcl</requirement>
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
12 </requirements>
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
13 <version_command>mcl --version</version_command>
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
14 <command detect_errors="aggressive">
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
15 <![CDATA[
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
16
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
17 mcl '$input'
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
18 -I '$inflation'
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
19 $input_type_select.input_type
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
20 -V all -te \${GALAXY_SLOTS:-1}
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
21 $sum_loops
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
22 $discard_loops
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
23 #if $verbosity
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
24 #for $v in $verbosity
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
25 -v $v
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
26 #end for
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
27 #end if
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
28 #if $reweight
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
29 -c $reweight
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
30 #end if
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
31 #if $transform
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
32 #if $input_type_select.input_type == "--abc" or $input_type_select.input_type == "--sif"
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
33 -abc-tf '$transform'
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
34 #else if $input_type_select.input_type == ""
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
35 -tf '$transform'
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
36 #end if
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
37 #end if
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
38 #if $input_type_select.input_type == "--sif"
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
39 $input_type_select.expect_values
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
40 #else if $input_type_select.input_type == "" and $input_type_select.use_tab
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
41 -use-tab $input_type_select.use_tab
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
42 #end if
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
43 #if $pruning_options.cutoff
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
44 -P $pruning_options.cutoff
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
45 #end if
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
46 #if $pruning_options.selection_number
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
47 -S $pruning_options.selection_number
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
48 #end if
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
49 #if $pruning_options.recover_number
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
50 -R $pruning_options.recover_number
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
51 #end if
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
52 #if $pruning_options.recover_percentage
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
53 -pct $pruning_options.recover_percentage
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
54 #end if
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
55 -o '$output'
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
56
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
57 ]]>
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
58 </command>
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
59 <inputs>
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
60 <conditional name="input_type_select">
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
61 <param name="input_type" type="select" label="Input type">
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
62 <option value="--abc" selected="true">Labeled</option>
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
63 <option value="--sif">SIF</option>
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
64 <option value="">Matrix</option>
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
65 </param>
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
66 <when value="">
1
e092787c0a29 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 8e05c68204da92683c62cb5448a1b3865ffe2683
iuc
parents: 0
diff changeset
67 <param argument="-use-tab" type="data" format="tabular" label="tabular label input" optional="true" help="use tab file to convert the output to labels"/>
0
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
68 </when>
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
69 <when value="--sif">
1
e092787c0a29 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 8e05c68204da92683c62cb5448a1b3865ffe2683
iuc
parents: 0
diff changeset
70 <param argument="--expect-values" type="boolean" checked="false" truevalue="--expect-values" falsevalue="" label="expect label:weight format" optional="true" help="accept extended SIF (label:weight fields)" />
0
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
71 </when>
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
72 <when value="--abc" />
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
73 </conditional>
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
74 <param type="data" format="txt,tabular,sif" name="input" label="Input" optional="false" />
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
75 <param name="inflation" argument="-I" type="float" value="2.0" label="Inflation" min="1" max="6" help="This value is the main handle for affecting cluster granularity. It is usually chosen somewhere in the range [1.2-5.0]. -I 5.0 will tend to result in fine-grained clusterings, and -I 1.2 will tend to result in very coarse grained clusterings. Your mileage will vary depending on the characteristics of your data. That is why it is a good idea to test the quality and coherency of your clusterings using clm dist and clm info. This will most likely reveal that certain values of -I are simply not right for your data." />
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
76 <param name="transform" type="text" area="true" label="Transform input matrix values" help="See https://micans.org/mcl/man/mcxio.html#trans for the transformation syntax" >
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
77 <sanitizer>
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
78 <valid initial="default">
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
79 <add value="#" />
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
80 </valid>
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
81 </sanitizer>
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
82 </param>
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
83 <param argument="--discard-loops" type="boolean" checked="true" truevalue="--discard-loops=y" falsevalue="--discard-loops=n" label="Discard loops in input" help="Remove any loops that are present in the input. Bear in mind that loops will still be modified in all cases where the loop weight is not maximal among the list of edge weights for a given node." />
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
84 <param name="reweight" argument="-c" optional="true" type="float" value="1" label="Reweight loops" help="As the final step of loop computation (i.e. after initialization and shadowing) all loop weights are multiplied by the provided value." />
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
85 <param type="boolean" checked="false" truevalue="--sum-loops" falsevalue="" argument="--sum-loops" label="Set loops to sum of other arcs weights" />
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
86 <param name="verbosity" type="select" multiple="true" optional="true" label="Verbosity">
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
87 <option value="pruning">pruning</option>
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
88 <option value="explain">explain</option>
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
89 <option value="cls">cls</option>
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
90 </param>
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
91 <section title="Pruning options" name="pruning_options">
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
92 <param name="cutoff" type="integer" value="4000" label="cutoff" argument="-P" optional="true" help="inverse cutoff pruning value. Entries smaller than cutoff are removed"></param>
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
93 <param name="selection_number" type="integer" value="500" label="selection number" argument="-S" optional="true" help="pruning selection value. maximum number of entries (if applicable)"></param>
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
94 <param name="recover_number" type="integer" value="600" label="recover number" argument="-R" optional="true" help="Pruning recover number. Revover the largest discarded entries during pruning, if number of entries less then -R"></param>
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
95 <param name="recover_percentage" type="integer" value="90" label="recover percentage" argument="-pct" min="0" max="100" optional="true" help="Pruning recover percentage. Revover the largest discarded entries during pruning, if sum of remaining entries is less than -pct/100"></param>
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
96 </section>
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
97 </inputs>
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
98 <outputs>
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
99 <data format="tabular" name="output" />
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
100 </outputs>
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
101 <tests>
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
102 <test expect_num_outputs="1">
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
103 <param name="input" value="mcl-simple.tabular" ftype="tabular" />
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
104 <conditional name="input_type_select">
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
105 <param name="input_type" value="--abc" />
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
106 </conditional>
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
107 <param name="transform" value="gq(0.7),add(-0.7)" />
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
108 <param name="inflation" value="3"/>
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
109 <output name="output" file="mcl-simple.out" ftype="tabular" />
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
110 </test>
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
111 <test expect_num_outputs="1">
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
112 <param name="input" value="mcl-simple.mci" ftype="txt" />
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
113 <conditional name="input_type_select">
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
114 <param name="input_type" value="" />
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
115 <param name="use_tab" value="mcl-simple.mci.tab" ftype="tabular" />
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
116 </conditional>
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
117 <param name="transform" value="gq(0.7),add(-0.7)" />
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
118 <param name="inflation" value="3"/>
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
119 <output name="output" file="mcl-simple.out" ftype="tabular" />
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
120 </test>
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
121 <test expect_num_outputs="1">
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
122 <param name="input" value="mcl-simple.sif" ftype="sif" />
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
123 <conditional name="input_type_select">
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
124 <param name="input_type" value="--sif" />
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
125 <param name="expect_values" value="true" ftype="tabular" />
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
126 </conditional>
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
127 <param name="transform" value="gq(0.7),add(-0.7)" />
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
128 <param name="inflation" value="3"/>
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
129 <output name="output" file="mcl-simple.out" ftype="tabular" />
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
130 </test>
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
131 <test expect_num_outputs="1">
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
132 <param name="input" value="mcl-simple.tabular" ftype="tabular" />
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
133 <conditional name="input_type_select">
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
134 <param name="input_type" value="--abc" />
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
135 </conditional>
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
136 <param name="cutoff" value="1"/>
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
137 <param name="recover_number" value="1"/>
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
138 <param name="selection_number" value="1"/>
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
139 <param name="discard_loops" value="false"/>
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
140 <param name="reweight" value="0.5"/>
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
141 <param name="sum_loops" value="true"/>
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
142 <output name="output" file="mcl-simple-pruning.out" ftype="tabular" />
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
143 </test>
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
144 <test>
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
145 <param name="input" value="mcl-simple.mci" ftype="txt" />
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
146 <conditional name="input_type_select">
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
147 <param name="input_type" value="" />
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
148 </conditional>
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
149 <output name="output" file="mcl-simple.mci-no-tab.out" ftype="tabular" lines_diff="2"/>
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
150 </test>
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
151 </tests>
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
152 <help>
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
153 <![CDATA[
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
154 **What it does**
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
155
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
156 The `Markov Cluster Algorithm`_, aka the MCL algorithm.
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
157
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
158 The MCL algorithm is short for the Markov Cluster Algorithm, a fast and scalable unsupervised cluster algorithm for graphs (also known as networks) based on simulation of (stochastic) flow in graphs. It has found usage in bioinformatics and other disciplines.
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
159
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
160 The MCL algorithm finds cluster structure in graphs by a mathematical bootstrapping procedure. The process deterministically computes (the probabilities of) random walks through the graph, and uses two operators transforming one set of probabilities into another. It does so using the language of stochastic matrices (also called Markov matrices) which capture the mathematical concept of random walks on a graph.
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
161
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
162 The MCL algorithm simulates random walks within a graph by alternation of two operators called expansion and inflation. Expansion coincides with taking the power of a stochastic matrix using the normal matrix product (i.e. matrix squaring). Inflation corresponds with taking the Hadamard power of a matrix (taking powers entrywise), followed by a scaling step, such that the resulting matrix is stochastic again, i.e. the matrix elements (on each column) correspond to probability values.
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
163
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
164 The basic interface to the algorithm is very simple - you need only one option (the -I flag) to get to the heart of it. The number of clusters cannot be specified. It is implicitly controlled using the inflation parameter. Inflation affects the granularity or resolution of the clustering outcome, with low values (1.3, 1.4) leading to fewer and larger clusters and high values (5, 6) leading to more and smaller clusters; the default value of 2 is a good starting point. For large graphs you should also be aware of the pruning options for regulating resources.
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
165
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
166 Network construction and reduction techniques should not be considered as part of a clustering algorithm. Nevertheless particular techniques may benefit particular methods or applications. In mcl many transformations are accessible through the *transform* option. It can be used for edge weight transformations and selection, as well as transformations that act on a graph as a whole. It is for example possible to remove edges with weight below 0.7 by issuing -tf 'gq(0.7)', where the quotes are necessary to prevent the shell from interpreting the parentheses. The option accepts more complicated sequences, such as -tf 'gq(0.7),add(-0.7)'. This causes all remaining edge weights to be shifted to the range [0-0.3], assuming that the input contains correlations. Many more transformations are supported, as documented in mcxio_.
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
167
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
168 .. _Markov Cluster Algorithm: https://micans.org/mcl/man/mcl.html
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
169 .. _mcxio: https://micans.org/mcl/man/mcxio.html
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
170
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
171 **Input**
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
172
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
173 MCL supports a number of different input formats. The recommended wayis to use a labeled input (ABC-format) The input is then a file or stream in which each line encodes an edge in terms of two labels (the 'A' and the 'B') and a numerical value (the 'C'), all separated by white space. MCL also supports SIF format and exposes a native matrix representation, which is useful whenever other programs of the mcl-suite are used in tandem::
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
174
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
175 Labeled
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
176 This simple format expects two or three fields separated by white space on each line. The first and sec-
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
177 ond fields are interpreted as labels specifying source and destination node respectively. The third fie-
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
178 ld, if present, specifies the weight of the arc connecting the two nodes.
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
179
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
180 SIF
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
181 This option tells mcl to expect SIF (Simple Interaction File) format. This format is line based. The fi-
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
182 rst two fields specify the source node (as a label) and the relationship type. An arbitrary number of f-
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
183 ields may follow, each containing a label identifying a destination node. The second field is simply ig-
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
184 nored by mcl. As an extension to the SIF format weights may optionally follow the labels, separated from
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
185 them with a colon character. It is in this case necessary to use the --expect-values option.
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
186
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
187 --expect-values(expect label:weight format)
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
188 accept extended SIF format (label:weight fields)
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
189
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
190 Matrix
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
191 MCL internal matrix representation. See https://micans.org/mcl/man/mcxio.html#gspec for detailed informa.
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
192 tion. Use -use-tab to write label output using dictionary file
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
193
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
194 -use-tab <fname> (use mapping to write)
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
195 -use-tab is only useful when matrix input is used. It will use the tab file to convert the output to lab-
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
196 els; it does not fail on indices missing from the tab file, but will bind these to generated dummy labels.
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
197
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
198 **Options**::
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
199
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
200 -I <num> (inflation)
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
201 Sets the main inflation value to <num>. This value is the main handle for affecting cluster granularity.
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
202 It is usually chosen somewhere in the range [1.2-5.0]. -I 5.0 will tend to result in fine-grained clust-
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
203 erings, and -I 1.2 will tend to result in very coarse grained clusterings. Your mileage will vary depen-
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
204 ding on the characteristics of your data.
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
205
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
206 -tf <tf-spec> (transform)
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
207 transforms the values of the input matrix according to <tf-spec>
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
208
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
209 -c <num> (reweight loops)
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
210 increase loop-weights <num>-fold
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
211 --sum-loops (set loops to sum of other arcs weights)
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
212 with the -c <num> option, as the final step of loop computation (i.e. after initialization and shadowing)
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
213 all loop weights are multiplied by <num>, if supplied.
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
214
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
215 --discard-loops=<y/n> (discard loops in input)
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
216 By default mcl will remove any loops that are present in the input. Use --discard-loops=n to turn this
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
217 off. Bear in mind that loops will still be modified in all cases where the loop weight is not maximal a-
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
218 mong the list of edge weights for a given node.
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
219
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
220 **Pruning options**
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
221
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
222 After computing a new (column stochastic) matrix vector during expansion (which is matrix multiplication c.q. squaring), the vector is successively exposed to different pruning strategies.The intent of pruning is that many small entries are removed while retaining much of the stochastic mass of the original vector. After pruning, vectors are rescaled to be stochastic again.MCL iterands are theoretically known to be sparse in a weighted sense, and this manoever effectively perturbs the MCL process a little in order to obtain matrices that are genuinely sparse, thus keeping the computation tractable.
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
223
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
224 mcl proceeds as follows. First, entries that are smaller than cutoff are removed, resulting in a vector with at most 1/cutoff entries. The cutoff can be supplied as the inverse value (1/cutoff) by **-P**.
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
225
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
226 Second, if the remaining stochastic mass (i.e. the sum of all remaining entries) is less than <pct>/100 (specified by the **-pct** flag) and the number of remaining entries is less than <r> (as specified by the **-R** flag), mcl will try to regain ground by recovering the largest discarded entries. The total number of entries is not allowed to grow larger than <r>. If recovery was not necessary, mcl tries to prune the vector further down to at most s entries (if applicable), as specified by the **-S** flag. If this results in a vector that satisfies the recovery condition then recovery is attempted, exactly as described above. The latter will not occur of course if <r> <= <s>.::
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
227
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
228 -P <int> (1/cutoff)
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
229 (inverted) rigid pruning threshold
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
230
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
231 -S <int> (selection number)
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
232 select down to <int> entries if needed
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
233
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
234 -R <int> (recover number)
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
235 recover to maximally <int> entries if needed
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
236
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
237 -pct <pct> (recover percentage)
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
238 try recovery if mass is less than <pct>
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
239
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
240 **Output**
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
241
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
242 The output is then a file where each line is a cluster of tab-separated labels.
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
243
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
244
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
245 ]]>
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
246 </help>
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
247 <citations>
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
248 <citation type="doi">10.5281/zenodo.3364789</citation>
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
249 <citation type="bibtex">
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
250 <![CDATA[
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
251 @article{dongen29graph,
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
252 title={Graph Clustering by Flow Simulation. 2000},
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
253 author={Dongen, SV},
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
254 journal={Domplein},
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
255 volume={29},
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
256 pages={3512}
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
257 }
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
258 ]]>
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
259 </citation>
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
260 <citation type="doi">10.1093/nar/30.7.1575</citation>
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
261 </citations>
649b9cb20668 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71
iuc
parents:
diff changeset
262 </tool>