This is a test version of Biostars. For the public version, visit https://www.biostars.org.
mcl error: [mclxaRead] (mclmatrix section not found

Hello, I am trying to cluster a graph but I am running into an error I cannot solve.

I am running the following command:

mcl graph.txt -I 1.5 -o outputs/mcl_cluster -te 4 -V all

The paths to graph.txt and outputs/mcl_cluster are specified correctly and the graph.txt looks like this:

(mclheader
mcltype matrix
dimensions 49347x49347

(mclmatrix
begin

0       4195:0.3275488069414316 $
1       1:0.6507592190889371    $
2       2:0.6507592190889371    $
3       3:0.6507592190889371    $
4       4:0.6507592190889371    $
5       5:0.6507592190889371    $
...
49344   25696:0.3275488069414316        $
49345   47268:0.3275488069414316        $
49346   33405:0.3275488069414316        $
49347   21194:0.3275488069414316        $
)

The error message I get is:

___ [mclxaRead] (mclmatrix section not found
___ [mcl] no jive
___ [mcl] failed

Any idea of why this is happening?

Thank you very much!

mcl

1 answer

At the very least you are missing a right parenthesis between the mclheader and mclmatrix sections. It should be like this:

(mclheader
mcltype matrix
dimensions 49347x49347
)
(mclmatrix
begin

That empty line after begin may need to be removed as well.

Log in to answer this question.