-
Notifications
You must be signed in to change notification settings - Fork 86
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
Error in Installation #16
Comments
Do you have HMMER installed on your computer ? |
Was this ever resolved? @lordim |
First of all my working environment: On docker image ubuntu you are root, so I installed with: python3 setup.py install. Had the same issue. Next ERROR: Error: File existence/permissions problem in trying to open HMM file ./HMMs/ALL.hmm. Traceback (most recent call last): tried to run a example anyway: root@a7c20636b99b:/ANARCI# ANARCI -i Example_sequence_files/12e8.fasta So what happens here is, that if I run the command from outside the directory 'Example_scripts_and_files' it breaks with ERROR unknown amino acids, which seems to be from a fasta-reader which takes also the path of the file not only the name of the file or something. When running the command from whitin the folder there is the actual ERROR which says that there are no hmms in installation-path. Somehow it seems the installation doesnt copy the files from "./ANARCI/lib/python/anarci/dat/HMMs/ALL.hmm" to "/usr/local/lib/python3.8/dist-packages/anarci/dat/HMMs/ALL.hmm". Hope this gives someone an idea what might be the issue. And I hope someone could help me get ANARCI running in a docker-image. Update |
Same error. I used the docker image of ANARCI instead |
Going off of @awesome-crab's troubleshooting, this minimal Dockerfile creates a functioning ANARCI that can be run from any folder in the container. Including the
|
Uncommenting the following lines in Lines 23 to 27 in c2fd0f7
|
Just tested this and the error is still: Traceback (most recent call last): And the setup.py file is: root@fb0e07de9017:/ANARCI# more setup.py setup(name='anarci', |
Right, I was using |
Wow. Thanks for the hint!! I was naively following the installation instructions. But just using |
Right, but can you confirm ANARCI actually works lines 23-27 commented out? For me any input fails with |
Sorry. Contrary to my previous comment it is not working for me. To be clear: installation with pip install . and uncommented setup.py file does not work. installation with python setup.py install . and uncommented setup.py file does not work. use #16 (comment) |
I see. Are you seeing the same message in all four cases? To me |
The uncommented install attempt works. But running the ANARCI commands only work when the working dir is where the fasta file is. Otherwise the error is The other 2 fail as described here #16 (comment) and here #16 (comment) |
Thanks for testing. Although I do not quite get what do you mean by "running the ANARCI commands only work when the working dir is where the fasta file is". It might be that when ANARCI is unable to find the file it interprets the name of the file as amino acid letter sequence, but this is my wild guess. |
when I run this command in the folder ANARCI/ : |
I have cloned the repository for ANARCI and tried to install it, but got the following error:
I have no idea what could have gone wrong in my installation process since all I've done was "python3 setup.py install --user"
Thanks!
The text was updated successfully, but these errors were encountered: