|
Commit message:
"planemo upload for repository https://github.com/brinkmanlab/galaxy-tools/tree/master/mcl commit 33b02e08cbc8f76fb4b8537f8c968393f85a1b5e-dirty" |
|
added:
mcl.xml test-data/mash-dist-cluster.tabular test-data/mash-dist.tabular |
| b |
| diff -r 000000000000 -r 60609b076830 mcl.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mcl.xml Fri Jan 24 18:05:36 2020 -0500 |
| [ |
| @@ -0,0 +1,95 @@ +<tool id="mcl" name="MCL" version="14.137" profile="16.04"> + <description>The Markov Cluster Algorithm, a cluster algorithm for graphs</description> + <edam_topics> + <edam_topic>topic_3570</edam_topic> + </edam_topics> + <edam_operations> + <edam_operation>operation_3432</edam_operation> + </edam_operations> + <requirements> + <requirement type="package" version="14.137">mcl</requirement> + </requirements> + <version_command>mcl --version</version_command> + <command detect_errors="aggressive"><![CDATA[ + mcl $input_type_select.input -I $inflation $input_type_select.input_type -V all -te \${GALAXY_SLOTS:-1} $sum_loops $discard_loops + #if $verbosity + #for $v in $verbosity + -v $v + #end for + #end if + #if $reweight and $reweight != 1.0 + -c $reweight + #end if + #if $transform + #if $input_type_select.input_type == "--abc" + -abc-tf "$transform" + #else if $input_type_select.input_type == "" + -tf "$transform" + #end if + #end if + -o $output + ]]></command> + <inputs> + <conditional name="input_type_select"> + <param name="input_type" type="select" argument="--abc" label="Input Type"> + <option value="--abc" selected="true">Labeled</option> + <option value="--sif">SIF</option> + <option value="">Matrix</option> + </param> + <when value=""> + <param type="data" format="mclmat" name="input" argument="input" label="Input" optional="false"/> + </when> + <when value="--abc"> + <param type="data" format="tabular" name="input" argument="input" label="Input" optional="false"/> + </when> + <when value="--sif"> + <param type="data" format="sif" name="input" argument="input" label="Input" optional="false"/> + </when> + </conditional> + <param name="inflation" type="float" value="4.0" label="Inflation" 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." /> + <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" /> + <param name="discard_loops" type="boolean" checked="true" truevalue="" falsevalue="--discard-loops=n" argument="--discard-loops" 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." /> + <param name="sum_loops" type="boolean" checked="false" truevalue="--sum-loops" falsevalue="" argument="--sum-loops" label="Set loops to sum of other arcs weights" /> + <param name="reweight" type="float" value="1" argument="-c" optional="true" 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." /> + <param name="verbosity" type="select" multiple="true" optional="true" label="Verbosity"> + <option value="pruning">pruning</option> + <option value="explain">explain</option> + <option value="cls">cls</option> + </param> + </inputs> + <outputs> + <data format="txt" name="output"> + <change_format> + <when input="input_type_select.input_type" value="" format="mclmat" /> + <when input="input_type_select.input_type" value="--abc" format="tabular" /> + <when input="input_type_select.input_type" value="--sif" format="tabular" /> + </change_format> + </data> + </outputs> + <tests> + <test expect_num_outputs="1"> + <conditional name="input_type_select"> + <param name="input_type" value="--abc" /> + <param name="input" value="test-data/mash-dist.tabular" ftype="tabular" /> + </conditional> + <param name="transform" value="mul(-1),add(1),gq(0.96)" /> + <output name="output" file="test-data/mash-dist-cluster.tabular" ftype="tabular" /> + </test> + </tests> + <help> + https://micans.org/mcl/man/mcl.html + </help> + <citations> + <citation type="doi">10.5281/zenodo.3364789</citation> + <citation type="bibtex"><![CDATA[ + @article{dongen29graph, + title={Graph Clustering by Flow Simulation. 2000}, + author={Dongen, SV}, + journal={Domplein}, + volume={29}, + pages={3512} + } + ]]></citation> + <citation type="doi">10.1093/nar/30.7.1575</citation> + </citations> +</tool> |
| b |
| diff -r 000000000000 -r 60609b076830 test-data/mash-dist-cluster.tabular --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test-data/mash-dist-cluster.tabular Fri Jan 24 18:05:36 2020 -0500 |
| b |
| @@ -0,0 +1,25 @@ +NC_018080:1219150-1228065 NZ_CP006982:1349036-1357950 NC_011770:1349314-1358228 NZ_CH482384:3522883-3535764 NC_023066:1307166-1316080 +NZ_CP006982:2515161-2560181 NC_011770:2515458-2560479 NC_023066:2473255-2518276 +NZ_CP006982:1426904-1435435 NC_011770:1427182-1435713 NC_023066:1385033-1404279 +NZ_CP006982:1688543-1719942 NC_011770:1688837-1720236 NC_023066:1646675-1678074 +NZ_CP006982:3729016-3741559 NC_011770:3740004-3756742 NC_023066:3687227-3703965 +NZ_CP006982:4534025-4544361 NC_011770:4545250-4555586 NC_023066:4492492-4502828 +NC_011770:1813155-1825882 NC_023066:1770993-1783719 +NC_018080:1835838-1864566 +NC_018080:2295622-2341922 +NZ_CH482384:2093396-2161044 +NZ_CH482384:2347090-2383672 +NC_018080:2505749-2544853 +NZ_CH482384:2412085-2463519 +NZ_CH482384:2604522-2648798 +NC_018080:3063386-3089126 +NC_008463:1306242-1328974 +NC_018080:3112559-3125790 +NC_018080:5102592-5114199 +NZ_CH482384:6133302-6143599 +NC_018080:6079594-6097882 +NC_008463:1917629-1944257 +NC_002516:782569-792993 +NC_002516:692897-707366 +NZ_CH482384:6673834-6697328 +NZ_CH482384:1100815-1136673 |
| b |
| diff -r 000000000000 -r 60609b076830 test-data/mash-dist.tabular --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test-data/mash-dist.tabular Fri Jan 24 18:05:36 2020 -0500 |
| b |
| b'@@ -0,0 +1,156 @@\n+NC_018080:1219150-1228065\tNC_018080:1219150-1228065\t0\n+NZ_CP006982:1349036-1357950\tNC_018080:1219150-1228065\t0.0037263\n+NC_011770:1349314-1358228\tNC_018080:1219150-1228065\t0.0037263\n+NZ_CH482384:3522883-3535764\tNC_018080:1219150-1228065\t0.0323015\n+NC_023066:1307166-1316080\tNC_018080:1219150-1228065\t0.0037263\n+NC_018080:1835838-1864566\tNC_018080:1835838-1864566\t0\n+NC_018080:2295622-2341922\tNC_018080:1835838-1864566\t0.149777\n+NZ_CP006982:2515161-2560181\tNC_018080:1835838-1864566\t0.210897\n+NC_011770:1813155-1825882\tNC_018080:1835838-1864566\t0.136948\n+NC_011770:2515458-2560479\tNC_018080:1835838-1864566\t0.210897\n+NC_023066:1770993-1783719\tNC_018080:1835838-1864566\t0.136948\n+NC_023066:2473255-2518276\tNC_018080:1835838-1864566\t0.210897\n+NC_018080:1835838-1864566\tNC_018080:2295622-2341922\t0.149777\n+NC_018080:2295622-2341922\tNC_018080:2295622-2341922\t0\n+NZ_CP006982:2515161-2560181\tNC_018080:2295622-2341922\t0.0786628\n+NC_011770:1813155-1825882\tNC_018080:2295622-2341922\t0.147707\n+NC_011770:2515458-2560479\tNC_018080:2295622-2341922\t0.0786628\n+NZ_CH482384:2093396-2161044\tNC_018080:2295622-2341922\t0.080322\n+NZ_CH482384:2347090-2383672\tNC_018080:2295622-2341922\t0.295981\n+NC_023066:1770993-1783719\tNC_018080:2295622-2341922\t0.147707\n+NC_023066:2473255-2518276\tNC_018080:2295622-2341922\t0.0786628\n+NC_018080:2505749-2544853\tNC_018080:2505749-2544853\t0\n+NZ_CH482384:2412085-2463519\tNC_018080:2505749-2544853\t0.101551\n+NZ_CH482384:2604522-2648798\tNC_018080:2505749-2544853\t0.263022\n+NC_018080:3063386-3089126\tNC_018080:3063386-3089126\t0\n+NC_008463:1306242-1328974\tNC_018080:3063386-3089126\t0.295981\n+NC_018080:3112559-3125790\tNC_018080:3112559-3125790\t0\n+NC_018080:5102592-5114199\tNC_018080:5102592-5114199\t0\n+NZ_CH482384:6133302-6143599\tNC_018080:5102592-5114199\t0.0539403\n+NC_018080:6079594-6097882\tNC_018080:6079594-6097882\t0\n+NC_018080:3063386-3089126\tNC_008463:1306242-1328974\t0.295981\n+NC_008463:1306242-1328974\tNC_008463:1306242-1328974\t0\n+NC_008463:1917629-1944257\tNC_008463:1917629-1944257\t0\n+NC_018080:1219150-1228065\tNZ_CP006982:1349036-1357950\t0.0037263\n+NZ_CP006982:1349036-1357950\tNZ_CP006982:1349036-1357950\t0\n+NC_011770:1349314-1358228\tNZ_CP006982:1349036-1357950\t0\n+NZ_CH482384:3522883-3535764\tNZ_CP006982:1349036-1357950\t0.0297077\n+NC_023066:1307166-1316080\tNZ_CP006982:1349036-1357950\t0\n+NZ_CP006982:1426904-1435435\tNZ_CP006982:1426904-1435435\t0\n+NC_011770:1427182-1435713\tNZ_CP006982:1426904-1435435\t0\n+NC_023066:1385033-1404279\tNZ_CP006982:1426904-1435435\t0.0246831\n+NZ_CP006982:1688543-1719942\tNZ_CP006982:1688543-1719942\t0\n+NC_011770:1688837-1720236\tNZ_CP006982:1688543-1719942\t0\n+NC_023066:1646675-1678074\tNZ_CP006982:1688543-1719942\t0\n+NC_018080:1835838-1864566\tNZ_CP006982:2515161-2560181\t0.210897\n+NC_018080:2295622-2341922\tNZ_CP006982:2515161-2560181\t0.0786628\n+NZ_CP006982:2515161-2560181\tNZ_CP006982:2515161-2560181\t0\n+NC_011770:1813155-1825882\tNZ_CP006982:2515161-2560181\t0.219531\n+NC_011770:2515458-2560479\tNZ_CP006982:2515161-2560181\t4.76906e-05\n+NZ_CH482384:2093396-2161044\tNZ_CP006982:2515161-2560181\t0.0920479\n+NC_023066:1770993-1783719\tNZ_CP006982:2515161-2560181\t0.219531\n+NC_023066:2473255-2518276\tNZ_CP006982:2515161-2560181\t4.76906e-05\n+NZ_CP006982:3729016-3741559\tNZ_CP006982:3729016-3741559\t0\n+NC_011770:3740004-3756742\tNZ_CP006982:3729016-3741559\t0.00755945\n+NC_023066:3687227-3703965\tNZ_CP006982:3729016-3741559\t0.00766986\n+NZ_CP006982:4534025-4544361\tNZ_CP006982:4534025-4544361\t0\n+NC_011770:4545250-4555586\tNZ_CP006982:4534025-4544361\t0\n+NC_002516:782569-792993\tNZ_CP006982:4534025-4544361\t0.12214\n+NC_023066:4492492-4502828\tNZ_CP006982:4534025-4544361\t0\n+NC_018080:1219150-1228065\tNC_011770:1349314-1358228\t0.0037263\n+NZ_CP006982:1349036-1357950\tNC_011770:1349314-1358228\t0\n+NC_011770:1349314-1358228\tNC_011770:1349314-1358228\t0\n+NZ_CH482384:3522883-3535764\tNC_011770:1349314-1358228\t0.0297077\n+NC_023066:1307166-1316080\tNC_011770:1349314-1358228\t0\n+NZ_CP006982:1426904-1435435\tNC_011770:1427182-1435713\t0\n+NC_011770:1427182-1435713'..b'82569-792993\tNC_011770:4545250-4555586\t0.12214\n+NC_023066:4492492-4502828\tNC_011770:4545250-4555586\t0\n+NC_002516:692897-707366\tNC_002516:692897-707366\t0\n+NZ_CH482384:6673834-6697328\tNC_002516:692897-707366\t0.295981\n+NZ_CP006982:4534025-4544361\tNC_002516:782569-792993\t0.12214\n+NC_011770:4545250-4555586\tNC_002516:782569-792993\t0.12214\n+NC_002516:782569-792993\tNC_002516:782569-792993\t0\n+NC_023066:4492492-4502828\tNC_002516:782569-792993\t0.12214\n+NZ_CH482384:1100815-1136673\tNZ_CH482384:1100815-1136673\t0\n+NZ_CH482384:6673834-6697328\tNZ_CH482384:1100815-1136673\t0.140258\n+NC_023066:1385033-1404279\tNZ_CH482384:1100815-1136673\t0.295981\n+NC_018080:2295622-2341922\tNZ_CH482384:2093396-2161044\t0.080322\n+NZ_CP006982:2515161-2560181\tNZ_CH482384:2093396-2161044\t0.0920479\n+NC_011770:2515458-2560479\tNZ_CH482384:2093396-2161044\t0.0920479\n+NZ_CH482384:2093396-2161044\tNZ_CH482384:2093396-2161044\t0\n+NC_023066:2473255-2518276\tNZ_CH482384:2093396-2161044\t0.0920479\n+NC_018080:2295622-2341922\tNZ_CH482384:2347090-2383672\t0.295981\n+NZ_CH482384:2347090-2383672\tNZ_CH482384:2347090-2383672\t0\n+NC_018080:2505749-2544853\tNZ_CH482384:2412085-2463519\t0.101551\n+NZ_CH482384:2412085-2463519\tNZ_CH482384:2412085-2463519\t0\n+NC_018080:2505749-2544853\tNZ_CH482384:2604522-2648798\t0.263022\n+NZ_CH482384:2604522-2648798\tNZ_CH482384:2604522-2648798\t0\n+NC_018080:1219150-1228065\tNZ_CH482384:3522883-3535764\t0.0323015\n+NZ_CP006982:1349036-1357950\tNZ_CH482384:3522883-3535764\t0.0297077\n+NC_011770:1349314-1358228\tNZ_CH482384:3522883-3535764\t0.0297077\n+NZ_CH482384:3522883-3535764\tNZ_CH482384:3522883-3535764\t0\n+NC_023066:1307166-1316080\tNZ_CH482384:3522883-3535764\t0.0297077\n+NC_018080:5102592-5114199\tNZ_CH482384:6133302-6143599\t0.0539403\n+NZ_CH482384:6133302-6143599\tNZ_CH482384:6133302-6143599\t0\n+NC_002516:692897-707366\tNZ_CH482384:6673834-6697328\t0.295981\n+NZ_CH482384:1100815-1136673\tNZ_CH482384:6673834-6697328\t0.140258\n+NZ_CH482384:6673834-6697328\tNZ_CH482384:6673834-6697328\t0\n+NC_018080:1219150-1228065\tNC_023066:1307166-1316080\t0.0037263\n+NZ_CP006982:1349036-1357950\tNC_023066:1307166-1316080\t0\n+NC_011770:1349314-1358228\tNC_023066:1307166-1316080\t0\n+NZ_CH482384:3522883-3535764\tNC_023066:1307166-1316080\t0.0297077\n+NC_023066:1307166-1316080\tNC_023066:1307166-1316080\t0\n+NZ_CP006982:1426904-1435435\tNC_023066:1385033-1404279\t0.0246831\n+NC_011770:1427182-1435713\tNC_023066:1385033-1404279\t0.0246831\n+NZ_CH482384:1100815-1136673\tNC_023066:1385033-1404279\t0.295981\n+NC_023066:1385033-1404279\tNC_023066:1385033-1404279\t0\n+NZ_CP006982:1688543-1719942\tNC_023066:1646675-1678074\t0\n+NC_011770:1688837-1720236\tNC_023066:1646675-1678074\t0\n+NC_023066:1646675-1678074\tNC_023066:1646675-1678074\t0\n+NC_018080:1835838-1864566\tNC_023066:1770993-1783719\t0.136948\n+NC_018080:2295622-2341922\tNC_023066:1770993-1783719\t0.147707\n+NZ_CP006982:2515161-2560181\tNC_023066:1770993-1783719\t0.219531\n+NC_011770:1813155-1825882\tNC_023066:1770993-1783719\t0.000434439\n+NC_011770:2515458-2560479\tNC_023066:1770993-1783719\t0.219531\n+NC_023066:1770993-1783719\tNC_023066:1770993-1783719\t0\n+NC_023066:2473255-2518276\tNC_023066:1770993-1783719\t0.219531\n+NC_018080:1835838-1864566\tNC_023066:2473255-2518276\t0.210897\n+NC_018080:2295622-2341922\tNC_023066:2473255-2518276\t0.0786628\n+NZ_CP006982:2515161-2560181\tNC_023066:2473255-2518276\t4.76906e-05\n+NC_011770:1813155-1825882\tNC_023066:2473255-2518276\t0.219531\n+NC_011770:2515458-2560479\tNC_023066:2473255-2518276\t0\n+NZ_CH482384:2093396-2161044\tNC_023066:2473255-2518276\t0.0920479\n+NC_023066:1770993-1783719\tNC_023066:2473255-2518276\t0.219531\n+NC_023066:2473255-2518276\tNC_023066:2473255-2518276\t0\n+NZ_CP006982:3729016-3741559\tNC_023066:3687227-3703965\t0.00766986\n+NC_011770:3740004-3756742\tNC_023066:3687227-3703965\t7.15897e-05\n+NC_023066:3687227-3703965\tNC_023066:3687227-3703965\t0\n+NZ_CP006982:4534025-4544361\tNC_023066:4492492-4502828\t0\n+NC_011770:4545250-4555586\tNC_023066:4492492-4502828\t0\n+NC_002516:782569-792993\tNC_023066:4492492-4502828\t0.12214\n+NC_023066:4492492-4502828\tNC_023066:4492492-4502828\t0\n' |