-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
IndexError with netsyn_getINSDCFiles.py or netsyn.py #1
Comments
Hello, Best Regards |
Hello, the command line I used is:netsyn -u uniprot_acc.list -o netsyn_test_for_toxphylAnd here is my uniprot list file: Thank you very much for your help |
Hello, don't know if this information can help but, I have the error message following the download of M30127.embl INSDCFiles. I have tried to reinstall the tool and rerun the command but I got the same error message at the same time in the process. Thank you very much in advance |
Hello, |
Hello, |
Hello, I have made a new try with the latest version and the previous error is gone. But I still have an error. Now the problem came at the Walktrap clustering with the folowing message: Traceback (most recent call last): Any idea how I can pass this one? Have a great day |
Hello, |
Hello, |
Hello, thanks for your answer. Have a great day |
Hello, |
Hello, |
Hello, sorry for beeing loong to test the new version, I was on holiday :) [INFO] MCL clustering... Any idea how I can pass this one? Have a great day |
Hello, |
Hello, I have modified the README on the NetSyn githup. |
Hello, it took me quite a time to come back to this analysis but I'm back ^^
Now I run it with python/3.8.5 but not sure which version of networkx (BTW, do you know a quite way to check for that, please?). Thanks |
Hello, It should give you the version of networkx |
Hello, thanks for that, and yes I tested with networkx 2.8.6 Have a great day |
Hello, have a great day |
Hello, Best Regard |
Hello, We have added a fix to prevent the igraph error you mentioned earlier (in PR #3). We are now using networkx instead of igraph to write the graphML. On our side, it seems to solve the problem. Could you try this fix ? You would need to reinstall the current version of netsyn. To do so you can for example use a conda environnement : # install netsyn with conda in an env and activate it
conda create -n netsyn_env -c bioconda netsyn
conda activate netsyn_env
# get the last version of netsyn
git clone https://github.com/labgem/netsyn
# install the last version in your conda environnement
pip install netsyn/
Tell us if it works :-) |
Hello, it's working! C. |
Hello, I'm using NetSyn with a new dataset and got a new error message :
|
Hello, |
Hello, sorry, I forgot to answer and unfortunately I am not able to share the data.
I run with python/3.8.5 netsyn/0.1.1 mmseqs2/13.45111 and networkx '2.8.6' Thanks for your help |
Hello, by any chance, did you had time to check for the error I got just below? Have a great day |
Hello, Best Regard |
Hello @cmonat, It appears that the error you encountered might be due to an old scipy version. If you installed netsyn using conda, you can try the following command: conda install 'scipy==1.8' Alternatively, it should also work using pip directly: pip install "scipy==1.8.0" Best, Jean |
Hello,
I'm trying to run netsyn and got the following error:
Traceback (most recent call last):
File "/grid/sw/netsyn/0.1.0/bin/netsyn", line 11, in
load_entry_point('netsyn==0.1.0', 'console_scripts', 'netsyn')()
File "/grid/sw/netsyn/0.1.0/lib/python3.8/site-packages/netsyn-0.1.0-py3.8.egg/netsyn/netsyn.py", line 668, in main
boxesManager(runFromBox, resultsDirectory,
File "/grid/sw/netsyn/0.1.0/lib/python3.8/site-packages/netsyn-0.1.0-py3.8.egg/netsyn/netsyn.py", line 427, in boxesManager
runBox(nameBox, resultsDirectory, analysisNumber, ORDERBOX, args)
File "/grid/sw/netsyn/0.1.0/lib/python3.8/site-packages/netsyn-0.1.0-py3.8.egg/netsyn/netsyn.py", line 535, in runBox
netsyn_getINSDCFiles.run(args.UniProtACList)
File "/grid/sw/netsyn/0.1.0/lib/python3.8/site-packages/netsyn-0.1.0-py3.8.egg/netsyn/netsyn_getINSDCFiles.py", line 203, in run
crossReference[entry]['Cross-reference (embl)'][index],
IndexError: list index out of range
My uniprot_acc.list contains 5951 lines including the "header" line: UniProt_AC, is there a limitation in the number of UniProt accessions we can process with NetSyn?
Have a great day
Regards
C.
The text was updated successfully, but these errors were encountered: