I am having trouble running Clust to compare two species (it runs fine with just 1). Whenever I include a Mapping file, I get an error. I've pasted it below and attached the mapping file (from orthofinder- I have tried many formats for this)
Map.txt
/===========================================================================\
| Clust |
| (Optimised consensus clustering of multiple heterogenous datasets) |
| Python package version 1.12.0 (2019) Basel Abu-Jamous |
+---------------------------------------------------------------------------+
| Analysis started at: Friday 28 May 2021 (12:11:01) |
| 1. Reading dataset(s) |
| 2. Data pre-processing |
Traceback (most recent call last):
File "/home/alice/miniconda3/bin/clust", line 10, in
sys.exit(main())
File "/home/alice/miniconda3/lib/python3.7/site-packages/clust/main.py", line 103, in main
args.cs, args.np, args.optimisation, args.q3s, args.basemethods, args.deterministic)
File "/home/alice/miniconda3/lib/python3.7/site-packages/clust/clustpipeline.py", line 100, in clustpipeline
OGsIncludedIfAtLeastInDatasets=OGsIncludedIfAtLeastInDatasets)
File "/home/alice/miniconda3/lib/python3.7/site-packages/clust/scripts/preprocess_data.py", line 436, in calculateGDMandUpdateDatasets
OGsFirstColMap, delimGenesInMap)
File "/home/alice/miniconda3/lib/python3.7/site-packages/clust/scripts/preprocess_data.py", line 419, in mapGenesToCommonIDs
Maploc = Maploc.transpose()[I]
IndexError: arrays used as indices must be of integer (or boolean) type
Hello.
I am having trouble running Clust to compare two species (it runs fine with just 1). Whenever I include a Mapping file, I get an error. I've pasted it below and attached the mapping file (from orthofinder- I have tried many formats for this) Map.txt
Thank you! Alice
$ clust -n Normalisation.txt -r Replicates.txt -m Map.txt Data/
/===========================================================================\ | Clust | | (Optimised consensus clustering of multiple heterogenous datasets) | | Python package version 1.12.0 (2019) Basel Abu-Jamous | +---------------------------------------------------------------------------+ | Analysis started at: Friday 28 May 2021 (12:11:01) | | 1. Reading dataset(s) | | 2. Data pre-processing | Traceback (most recent call last): File "/home/alice/miniconda3/bin/clust", line 10, in
sys.exit(main())
File "/home/alice/miniconda3/lib/python3.7/site-packages/clust/main.py", line 103, in main
args.cs, args.np, args.optimisation, args.q3s, args.basemethods, args.deterministic)
File "/home/alice/miniconda3/lib/python3.7/site-packages/clust/clustpipeline.py", line 100, in clustpipeline
OGsIncludedIfAtLeastInDatasets=OGsIncludedIfAtLeastInDatasets)
File "/home/alice/miniconda3/lib/python3.7/site-packages/clust/scripts/preprocess_data.py", line 436, in calculateGDMandUpdateDatasets
OGsFirstColMap, delimGenesInMap)
File "/home/alice/miniconda3/lib/python3.7/site-packages/clust/scripts/preprocess_data.py", line 419, in mapGenesToCommonIDs
Maploc = Maploc.transpose()[I]
IndexError: arrays used as indices must be of integer (or boolean) type