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

Not work #1

Closed
shenweima opened this issue May 9, 2019 · 17 comments
Closed

Not work #1

shenweima opened this issue May 9, 2019 · 17 comments

Comments

@shenweima
Copy link

Hi, I find a your blast tool from here. But I don't know why it is not work for me.
I also add my local database to db file, but they were not found in web page.
Could you help me?
2019-05-09 17-33-18
image

@AshokHub
Copy link
Owner

AshokHub commented May 9, 2019

I found that you are using Linux OS. You must provide access permission to the locBLAST folder using sudo chmod -R 777 locBLAST command before testing the tool.

@shenweima
Copy link
Author

shenweima commented May 10, 2019

I think I have gave these files access permission
image
Like first time, there is still no response when I click "search" button.

@AshokHub
Copy link
Owner

AshokHub commented May 10, 2019

I run the program on Microsoft Windows 10 operating system with PHP Version 7.3.5 in web server. It works fine. The only possible chances is with the PHP version, shown in the snapshot.

If you are using lower PHP version, replace the conditional statement with following lines (for Linux) in index.php file:

$osextn = "";
$osstrt = "./";

Working Demo GIF and WMV

GIF

OR

WMV

I hope this will solve your problem.

@shenweima
Copy link
Author

shenweima commented May 10, 2019

Thanks for your answer. Yes, my server is centos 7. I have updated php version and restart apache server. But, it still not work.
If you know docker , you can make a docker image. It's good for people who wants to use this web blast.

Thank you again!

image

@AshokHub
Copy link
Owner

Did you tried the code changes below?

$osextn = "";
$osstrt = "./";

@AshokHub
Copy link
Owner

I am not familiar with Docker.
If still problem exists, give few days time to run through Linux through VMware and i'll conclude.

@shenweima
Copy link
Author

$osextn = "";
$osstrt = "./";

The code is not changed because it is same with code in index.php
image

@mav-cii
Copy link

mav-cii commented May 10, 2019

Hi, Ashok Kumar T.
Thank you very much for sharing your knowledge. I have the same problem that does not work the search used the demo, I am in ubuntu 16.04.
regards

@AshokHub
Copy link
Owner

I have tested in Linux server. It works.
Just do the following changes in index.php file, for Linux OS. Lines to replace: 246 to 260

1

to

2

@mav-cii
Copy link

mav-cii commented May 13, 2019

Thanks for answering AshokHub, I will prove it

@AshokHub
Copy link
Owner

Best Wishes. I'll soon find a solution for OS compatibility issues.

@mav-cii
Copy link

mav-cii commented May 13, 2019

I'm sorry, I still have problems. I get this error Invalid Input / Program / Database Selection!
Select the DEMO option and search button

@AshokHub
Copy link
Owner

AshokHub commented May 13, 2019

Do changes as mentioned before. I have not updated in GitHub repository. You must do changes in your index.php file.

2019-05-13_223356

Demo: http://118.25.192.119/locBLAST/index.php
Source Code: http://www.biogem.org/downloads/github/index.txt

@shenweima
Copy link
Author

Thanks, it works. I want to use my local db. But, I am failed.
This is my local db (six_plant).
image
And I changed the code in the index.php for using my local db.
image

But, I can't find that in web page.
image

Do changes as mentioned before. I have not updated in GitHub repository. You must do changes in your index.php file.

2019-05-13_223356

Demo: http://118.25.192.119/locBLAST/index.php
Source Code: http://www.biogem.org/downloads/github/index.txt

@shenweima
Copy link
Author

shenweima commented May 14, 2019

I think I have known how to change code in index.php and footer.php.
However, I think this is not very simple.
Maybe you can refer viroblast which give a viroblast.ini file. viroblast

My boss very like the graphical overview.
image
It's better to add history result.

Also you can add get sequence function like ncbi blast. Or, develop a page which can get sequence using blastdbcmd commond.
image

I think your locblast will be better than viroblast in some days.

Thanks

@AshokHub
Copy link
Owner

@shenweima Thank you for you valuable feedback. I have planned to release new version locBLAST v3.0 with rich features mimic to NCBI BLAST. My aim is to design user-friendly interface with no manual configuration. For the time being, i'll do changes for your custom db through FTP.

@AshifSA
Copy link

AshifSA commented Jul 30, 2024

i have the same problem with php server@AshokHub kindly help me

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

4 participants