Error in 3_GetMatrix step when using coverage
Brought to you by:
oliverlinnhri
Dear authors of MyCC,
I tried using your method with the following command using coverage information (metagenomic reads mapped to contigs):
MyCC.py assembly.fa 5mer -a assembly.contig_depth.txt -meta
At the "3_GetMatrix.py 1222 for fisrt stage clustering " step the following error appears:
Traceback (most recent call last):
File "/home/mh/Uni_Lux/software/MyCC/Tools/3_GetMatrix.py", line 114, in <module>
ffea=np.loadtxt("./3_matrix_for_corr.txt");
File "/usr/local/lib/python2.7/dist-packages/numpy/lib/npyio.py", line 853, in loadtxt
% line_num)
ValueError: Wrong number of columns at line 513
Clustering...
The file 3_matrix_for_corr.txt apparently contains around 24500 columns about 500 less than other rows (?).
When I am not using coverage information the error does not appear.
Do you know why that could be?
Thanks for your help.
I meant the last row of 3_matrix_for_corr.txt apparently contains less columns*