BaselAbujamous / clust

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

Error using replicates files #62

Open anikaliu opened 3 years ago

anikaliu commented 3 years ago

I am trying to run clust with the replicate file replicates_clust.txt, and am receiving the error below. As far as I can see the format agrees with the example file and running without the replicate file is progressing to the next steps (still running). Is there something I missed? /===========================================================================\ | Clust | | (Optimised consensus clustering of multiple heterogenous datasets) | | Python package version 1.12.0 (2019) Basel Abu-Jamous | +---------------------------------------------------------------------------+ | Analysis started at: Sunday 08 November 2020 (18:10:59) | | 1. Reading dataset(s) | Traceback (most recent call last): File "/scratch/al862/envs/myroot/bin/clust", line 10, in sys.exit(main()) File "/home/al862/.local/lib/python3.6/site-packages/clust/main.py", line 103, in main args.cs, args.np, args.optimisation, args.q3s, args.basemethods, args.deterministic) File "/home/al862/.local/lib/python3.6/site-packages/clust/clustpipeline.py", line 92, in clustpipeline (replicatesIDs, conditions) = io.readReplicates(replicatesfile, datapath, datafiles, replicates) File "/home/al862/.local/lib/python3.6/site-packages/clust/scripts/io.py", line 125, in readReplicates conditions[c] = line[1:] TypeError: 'filter' object is not subscriptable