-
Notifications
You must be signed in to change notification settings - Fork 15
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
PySlice_Unpack error #16
Comments
Fixed it by editing py36_env.yml to specify a newer python version (>=3.6.1), adding git to dependencies, and getting busco directly from the gitlab repository (v3.1) instead of the out-of-date anaconda repository (v3.02). Don't know if this latter bit was necessary, but I saw in the commits that there were problems with busco when using python>3.6. Anyway, it didn't give me any problems on the included test data. Here is my new py36_env.yml:
|
So just to confirm, the test dataset now runs properly, and gives an output something like
|
Here is the output:
|
ok good.. the other issues aside, have you been able to successfully run a real dataset through the pipeline? |
Sample problem not solved following the instructions above. (orp_v2) [ant@hillary Oyster_River_Protocol]$ cat py36_env.yml
The error message I get is the same than before editing py36 but slightly different to the one reported above by cooketho: Thank you for using SPAdes! Any thoughts? Thanks beforehand |
You have |
Yes, I did try it too: (orp_v2) [ant@hillary Oyster_River_Protocol]$ cat py36_env.yml
But I get the same error: Thank you for using SPAdes! Thanks! |
You still have |
got it! I will try |
Nope. Still the same error! Not sure what else to do. Thanks |
Hmm. Sorry! I don't have any more advice, except you might want to try deleting the entire installation and starting from scratch by downloading from github again, and following the installation instructions. But before you enter |
ok, great, will do, thanks again |
I've updated the repo with the Python changes. You should be able to Let me know if starting from scratch works - I'm committed to helping you get this up and running. |
Thanks Matt. I will keep you posted. Regards! |
I uninstalled everything, and all went smoothly. Now, before doing make, I modified the py36 file, but then I am getting this error message after make: Collecting git+https://gitlab.com/ezlab/busco (from -r /home/ant/Oyster_River_Protocol/condaenv._g9hpm_0.requirements.txt (line 9)) This problem was solved by adding '.git' at the end of the web address in the py36 file |
The installation went smoothly: I modified the py36 file according to the post above before 'make' and all run well. The previous error was resolved. However, I have a new issue. When I test the protocol, this is the message: (orp_v2) [ant@hillary Oyster_River_Protocol]$ cd sampledata/ (orp_v2) [ant@hillary sampledata]$ /home/ant/Oyster_River_Protocol/oyster.mk main \
So, I went to github and downloaded the script 'run_BUSCO.py' to anaconda/bin parallel: Error: --tollef has been retired. trying to solve this issue now: problem solved by adding flag --gnu to each parallel command found in each *.mk file. |
I wonder about what can be done if you are working on a linux centos machine with no administrator privileges. I got stuck because the version of coreutils in the machine I am using is old enough so that the command sort does not have --parallel. I installed a new version of coreutils with conda in the ORP_v2 environment [together with other mandatory updates requested by conda when installing coreutils]. Of course, this last action [mandatory script updates] broke the pipeline. I assume that is too much work to rework the pipeline so to have coreutils be integral part of it? Any comment will be appreciated. Thanks |
I will address ASAP! # |
oyster.mk main fails on the test data set with the following error. Quick google search reveals similar errors in conda, sometimes reported fixed by using newer Python.
======= SPAdes pipeline finished.
SPAdes log can be found here: /home/tc/sampledata/assemblies/test.spades_k55/spades.log
Thank you for using SPAdes!
Traceback (most recent call last):
File "/lab/pr/tc/ORP/software/transabyss/transabyss", line 18, in
from utilities.adj_utils import has_edges
File "/lab/pr/tc/ORP/software/transabyss/utilities/adj_utils.py", line 6, in
import igraph
File "/lab/pr/tc/ORP/software/anaconda/install/envs/orp_v2/lib/python3.6/site-packages/igraph/init.py", line 34, in
from igraph._igraph import *
ImportError: /lab/pr/tc/ORP/software/anaconda/install/envs/orp_v2/lib/python3.6/site-packages/igraph/_igraph.cpython-36m-x86_64-linux-gnu.so: undefine
d symbol: PySlice_Unpack
make: *** [/home/tc/sampledata/assemblies/test.transabyss.fasta] Error 1
The text was updated successfully, but these errors were encountered: