BaselAbujamous / clust

Automatic and optimised consensus clustering of one or more heterogeneous datasets
Other
161 stars 36 forks source link

Warning during cluster optimization and completion when using multiple datasets #21

Closed apcamargo closed 5 years ago

apcamargo commented 5 years ago

Hi Basel,

When I'm using Clust with multiple datasets I get a warning message during the "Cluster optimization and completion" step. The output seems to be alright, except that I get no PDF with the cluster plots.

(clust) apcamargo@elementaryos:~/clust$ python clust.py ExampleData/1_RawData/Data/

/===========================================================================\
|                                   Clust                                   |
|    (Optimised consensus clustering of multiple heterogenous datasets)     |
|           Python package version 1.8.10 (2018) Basel Abu-Jamous           |
+---------------------------------------------------------------------------+
| Analysis started at: Monday 26 November 2018 (17:27:17)                   |
| 1. Reading dataset(s)                                                     |
| 2. Data pre-processing                                                    |
|  - Automatic normalisation mode (default in v1.7.0+).                     |
|    Clust automatically normalises your dataset(s).                        |
|    To switch it off, use the `-n 0` option (not recommended).             |
|    Check https://github.com/BaselAbujamous/clust for details.             |
|  - Flat expression profiles filtered out (default in v1.7.0+).            |
|    To switch it off, use the --no-fil-flat option (not recommended).      |
|    Check https://github.com/BaselAbujamous/clust for details.             |
| 3. Seed clusters production (the Bi-CoPaM method)                         |
| 10%                                                                       |
| 20%                                                                       |
| 30%                                                                       |
| 40%                                                                       |
| 50%                                                                       |
| 60%                                                                       |
| 70%                                                                       |
| 80%                                                                       |
| 90%                                                                       |
| 100%                                                                      |
| 4. Cluster evaluation and selection (the M-N scatter plots technique)     |
| 10%                                                                       |
| 20%                                                                       |
| 30%                                                                       |
| 40%                                                                       |
| 50%                                                                       |
| 60%                                                                       |
| 70%                                                                       |
| 80%                                                                       |
| 90%                                                                       |
| 100%                                                                      |
| 5. Cluster optimisation and completion                                    |
/home/apcamargo/anaconda3/envs/clust/lib/python2.7/site-packages/numpy/core/fromnumeric.py:2920: RuntimeWarning: Mean of empty slice.
  out=out, **kwargs)
| 6. Saving results in                                                      |
| /home/apcamargo/clust/Results_26_Nov_18                                   |
| Error: could not save clusters plots in a PDF file.                       |
| Resuming producing the other results files ...                            |
+---------------------------------------------------------------------------+
| Analysis finished at: Monday 26 November 2018 (17:28:09)                  |
| Total time consumed: 0 hours, 0 minutes, and 52 seconds                   |
|                                                                           |
\===========================================================================/

/===========================================================================\
|                              RESULTS SUMMARY                              |
+---------------------------------------------------------------------------+
| Clust received 3 datasets with 9332 unique genes. After filtering, 9330   |
| genes made it to the clustering step. Clust generated 14 clusters of      |
| genes, which in total include 4686 genes. The smallest cluster includes   |
| 27 genes, the largest cluster includes 1231 genes, and the average        |
| cluster size is 334.714285714 genes.                                      |
+---------------------------------------------------------------------------+
|                                 Citation                                  |
|                                 ~~~~~~~~                                  |
| When publishing work that uses Clust, please include this citation:       |
| Basel Abu-Jamous and Steven Kelly (2018) Clust: automatic extraction of   |
| optimal co-expressed gene clusters from gene expression data. Genome      |
| Biology 19:172; doi: https://doi.org/10.1186/s13059-018-1536-8.           |
+---------------------------------------------------------------------------+
| For enquiries contact:                                                    |
| Basel Abu-Jamous                                                          |
| Department of Plant Sciences, University of Oxford                        |
| basel.abujamous@plants.ox.ac.uk                                           |
| baselabujamous@gmail.com                                                  |
\===========================================================================/
apcamargo commented 5 years ago

The problem is solved now. I forgot to use the replicates file.