# HG changeset patch # User iuc # Date 1655141672 0 # Node ID 649b9cb20668d031e239873ed84f87ee21925768 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/mcl commit 6fcfaa3d5fefc854ec7398c2848e8db669593b71 diff -r 000000000000 -r 649b9cb20668 mcl.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mcl.xml Mon Jun 13 17:34:32 2022 +0000 @@ -0,0 +1,262 @@ + + Markov Cluster Algorithm for graphs + + 14.137 + 0 + + + mcl + + + mcl + + mcl --version + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + (use mapping to write) + -use-tab is only useful when matrix input is used. It will use the tab file to convert the output to lab- + els; it does not fail on indices missing from the tab file, but will bind these to generated dummy labels. + +**Options**:: + + -I (inflation) + Sets the main inflation value to . 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 clust- + erings, and -I 1.2 will tend to result in very coarse grained clusterings. Your mileage will vary depen- + ding on the characteristics of your data. + + -tf (transform) + transforms the values of the input matrix according to + + -c (reweight loops) + increase loop-weights -fold + --sum-loops (set loops to sum of other arcs weights) + with the -c option, as the final step of loop computation (i.e. after initialization and shadowing) + all loop weights are multiplied by , if supplied. + + --discard-loops= (discard loops in input) + By default mcl will remove any loops that are present in the input. Use --discard-loops=n to turn this + off. Bear in mind that loops will still be modified in all cases where the loop weight is not maximal a- + mong the list of edge weights for a given node. + +**Pruning options** + +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. + +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**. + +Second, if the remaining stochastic mass (i.e. the sum of all remaining entries) is less than /100 (specified by the **-pct** flag) and the number of remaining entries is less than (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 . 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 <= .:: + + -P (1/cutoff) + (inverted) rigid pruning threshold + + -S (selection number) + select down to entries if needed + + -R (recover number) + recover to maximally entries if needed + + -pct (recover percentage) + try recovery if mass is less than + +**Output** + +The output is then a file where each line is a cluster of tab-separated labels. + + + ]]> + + + 10.5281/zenodo.3364789 + + + + 10.1093/nar/30.7.1575 + +
diff -r 000000000000 -r 649b9cb20668 test-data/mcl-simple-pruning.out --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test-data/mcl-simple-pruning.out Mon Jun 13 17:34:32 2022 +0000 @@ -0,0 +1,7 @@ +F G +H J +A +B +C +D +E diff -r 000000000000 -r 649b9cb20668 test-data/mcl-simple.mci --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test-data/mcl-simple.mci Mon Jun 13 17:34:32 2022 +0000 @@ -0,0 +1,16 @@ +(mclheader +mcltype matrix +dimensions 9x9 +) +(mclmatrix +begin +0 1:35 2:10 3:15 4:40 5:20 6:10 8:13 $ +1 0:35 2:35 4:30 5:5 7:5 $ +2 0:10 1:35 3:55 6:15 $ +3 0:15 2:55 4:30 7:5 8:25 $ +4 0:40 1:30 3:30 7:10 $ +5 0:20 1:5 6:55 7:45 8:27 $ +6 0:10 2:15 5:55 7:75 8:30 $ +7 1:5 3:5 4:10 5:45 6:75 8:38 $ +8 0:13 3:25 5:27 6:30 7:38 $ +) diff -r 000000000000 -r 649b9cb20668 test-data/mcl-simple.mci-no-tab.out --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test-data/mcl-simple.mci-no-tab.out Mon Jun 13 17:34:32 2022 +0000 @@ -0,0 +1,10 @@ +# cline: mcl test.mci "-V" "all" "-o" "test_out.mci" +(mclheader +mcltype matrix +dimensions 9x2 +) +(mclmatrix +begin +0 0 1 2 3 4 $ +1 5 6 7 8 $ +) diff -r 000000000000 -r 649b9cb20668 test-data/mcl-simple.mci.tab --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test-data/mcl-simple.mci.tab Mon Jun 13 17:34:32 2022 +0000 @@ -0,0 +1,9 @@ +0 A +1 B +2 C +3 D +4 E +5 F +6 G +7 H +8 J diff -r 000000000000 -r 649b9cb20668 test-data/mcl-simple.out --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test-data/mcl-simple.out Mon Jun 13 17:34:32 2022 +0000 @@ -0,0 +1,3 @@ +F G H J +A B E +C D diff -r 000000000000 -r 649b9cb20668 test-data/mcl-simple.sif --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test-data/mcl-simple.sif Mon Jun 13 17:34:32 2022 +0000 @@ -0,0 +1,9 @@ +A x A:0 B:35 C:10 D:15 E:40 +B x A:35 B:0 C:35 D:0 E:30 +C x A:10 B:35 C:0 D:55 E:0 +D x A:15 B:0 C:55 D:0 E:30 +E x A:40 B:30 C:0 D:30 E:0 +F x A:20 G:55 H:45 B:5 +G x H:75 C:15 J:30 A:10 +H x J:38 D:5 E:10 B:5 +J x A:13 D:25 F:27 \ No newline at end of file diff -r 000000000000 -r 649b9cb20668 test-data/mcl-simple.tabular --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test-data/mcl-simple.tabular Mon Jun 13 17:34:32 2022 +0000 @@ -0,0 +1,40 @@ +A A 0 +A B 35 +A C 10 +A D 15 +A E 40 +B A 35 +B B 0 +B C 35 +B D 0 +B E 30 +C A 10 +C B 35 +C C 0 +C D 55 +C E 0 +D A 15 +D B 0 +D C 55 +D D 0 +D E 30 +E A 40 +E B 30 +E C 0 +E D 30 +E E 0 +F A 20 +F G 55 +F H 45 +F B 5 +G H 75 +G C 15 +G J 30 +G A 10 +H J 38 +H D 5 +H E 10 +H B 5 +J A 13 +J D 25 +J F 27 \ No newline at end of file