Comments (6)
Hi @SamWilliamsUOB , I retrieved the same error with anaconda3, and network files were properly generated but there was no tree constructed.
With docker worked fine, though.
from big-scape.
Managed to get this script to work with the --clans-off flag
from big-scape.
Seems like scikit-learn's Affinity propagation was the cause.. which version do you have installed?
from big-scape.
Hi Jorge,
So looks like 1.0.2 for sklearn
>>> import sklearn
>>> print(sklearn.__version__)
1.0.2
Thanks,
Sam
from big-scape.
Could you try with v0.19.2?
from big-scape.
FYI, I had a similar error with --mix and --cutoffs above ~0.4.
/lustre/BIF/nobackup/reitz001/mambaforge/envs/bigscape/lib/python3.6/site-packages/sklearn/cluster/_affinity_propagation.py:247: ConvergenceWarning: Affinity propagation did not converge, this model will not have any cluster centers.
"will not have any cluster centers.", ConvergenceWarning)
Traceback (most recent call last):
File "/home/reitz001/lustre/software/BiG-SCAPE/bigscape.py", line 3042, in <module>
clanCutoff=options.clan_cutoff, htmlFolder=network_html_folder)
File "/home/reitz001/lustre/software/BiG-SCAPE/bigscape.py", line 1459, in clusterJsonBatch
labels[bgcExt2Int[bgcSub2Ext_[i]]] = bgcExt2Int[bgcSub2Ext_[exemplarsSub[labelsSub[i]]]]
IndexError: list index out of range
Downgrading sklearn from v0.24.2 to v0.19.2 solved it.
from big-scape.
Related Issues (20)
- Don't know why the task killed, the task have finished in network? is the task finished?
- 'ascii' codec can't decode byte 0xce & No sequence extracted HOT 3
- The inconsistent results in "mix_clustering_c0.30" and "mix_c0.30.network" HOT 7
- cosine distance among BGCs HOT 2
- Singularity Read-only file system Error HOT 3
- Error while running BiG-SCAPE HOT 3
- Docker HOT 1
- Add official singularity image HOT 1
- Memory error HOT 1
- MIBiG singletons in network file
- MIBiG subnetworks not pruned
- Delete or fix the bioconda recipe HOT 2
- Filter, warn or quit if input GenBank is too large
- error: TypeError: 'NoneType' object is not subscriptable HOT 5
- BGCs missing in network HOT 2
- BiG-SCAPE recognises gbk file but does not extract sequences HOT 2
- sklearn is deprecated HOT 1
- Affinity propagation did not converge HOT 7
- The error "did not find file MIBiG_1.4_final.zip" HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from big-scape.