Skip to content
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

Installation instruction of required Blast modules are missing in the README #11

Open
willigott opened this issue May 9, 2021 · 4 comments

Comments

@willigott
Copy link
Collaborator

When one follows the installation instructions of the README and tries to run a BLAST, one can end up with messages like this:


Starting first BLAST pass for IN - IN on 05/09/2021sh: 1: blastall: not found

no element found at line 1, column 0, byte -1 at ./blast_parser.pl line 110.

Starting second BLAST pass for IN - IN on 
Starting first BLAST pass for IN - DB on 05/09/202105/09/2021sh: 1: blastall: not found

no element found at line 1, column 0, byte -1 at ./blast_parser.pl line 110.

Starting second BLAST pass for IN - DB on 
Starting first BLAST pass for DB - IN on 05/09/202105/09/2021sh: 1: blastall: not found

no element found at line 1, column 0, byte -1 at ./blast_parser.pl line 110.

Starting second BLAST pass for DB - IN on 
Starting first BLAST pass for DB - DB on 05/09/202105/09/2021sh: 1: blastall: not found

no element found at line 1, column 0, byte -1 at ./blast_parser.pl line 110.

On a Linux system, one can easily solve it by installing the missing modules like this:

sudo apt-get install ncbi-blast+-legacy

Might be good to add it to the README (in case I overlooked it somewhere, my apologies for the noise).

@AdityaVaze
Copy link

AdityaVaze commented Sep 18, 2021

Hello,

I am a MSc student currently trying to use Metadraft for my thesis, and I am encountering a similar issue. I installed BLAST as per the instructions on the NCBI website, including the environment variables, so BLAST commands work in the Command Prompt. However, when I execute systemtest.py while in the metadraft3 environment, the BLAST tests fail.

@willigott
Copy link
Collaborator Author

@AdityaVaze: On which operating system do you work? If on linux, you can try the command I gave above:

sudo apt-get install ncbi-blast+-legacy

which worked fine for me. The legacy part is important, so if you are on windows make sure to download and install it.

@AdityaVaze
Copy link

AdityaVaze commented Sep 19, 2021

Ah, I had the most recent version installed instead. I installed legacy BLAST on Windows and now it passes the systemtest. Thank you!

@Samdeman35
Copy link

Ah, I had the most recent version installed instead. I installed legacy BLAST on Windows and now it passes the systemtest. Thank you!

Hi, where have you been able to download this legacy version? I have been trying to get BLAST to work for MetaDraft forever, but I can't seem to get it to work on my windows

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants