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

Error: Please add the DBSCAN-SWA installation directory to your $PATH environment variable before running the executable from another folder #4

Open
dineshkumarsrk opened this issue Mar 1, 2021 · 3 comments

Comments

@dineshkumarsrk
Copy link

dineshkumarsrk commented Mar 1, 2021

I have followed all the instruction mentioned in your readme installed all the necessary dependencies and added the DBSCAN_SWA in my .bashrc and also added in terminal also using export option but still I am getting error as shown below,

ga@ga214:~$ python3 ~/Documents/tools/prophage_DBSCAN-SWA/bin/dbscan-swa.py --input ~/Documents/tools/prophage_DBSCAN-SWA/test/NC_007054.gb --output dinesh --prefix din
Warning:The parameter add_annotation default:PGPD,If you want to run fast, please set add_annotation to none
Error: Please add the DBSCAN-SWA installation directory to your $PATH environment variable before running the executable from another folder

my .bashrc file is shown below

export PATH=$PATH:/home/ga/ncbi-blast-2.8.1+/bin
export PATH=$PATH:/home/ga/Documents/tools/prokka/bin
export PATH=$PATH:/home/ga/Documents/tools/prophage_DBSCAN-SWA/software/blast+/bin:$PATH
export PATH=$PATH:/home/ga/Documents/tools/prophage_DBSCAN-SWA/bin
export PATH=$PATH:/home/ga/Documents/tools/prophage_DBSCAN-SWA/software/diamond

Please help me to fix this issue.

@HIT-ImmunologyLab
Copy link
Owner

@dineshkumarsrk I am sorry for the error. I have corrected the error in dbscan-swa.py and you could re-download the dbscan-swa.py. If you have any problem, welcome comment.

@dineshkumarsrk
Copy link
Author

Thank you @HIT-ImmunologyLab . PATH variable issue has resolved now. But, now I am getting another error as follows,

ga@ga214:~$ python3 ~/Documents/tools/prophage_DBSCAN-SWA/bin/dbscan-swa.py --input ~/Documents/tools/prophage_DBSCAN-SWA/test/NC_007054.gb --output dinesh --prefix din
Warning:The parameter add_annotation default:PGPD,If you want to run fast, please set add_annotation to none
You are running DBSCAN-SWA first time, the database will be downloaded in /home/ga/Documents/tools/prophage_DBSCAN-SWA/db
--2021-03-01 14:55:30--  http://www.microbiome-bigdata.com/PHISDetector/static/download/DBSCAN-SWA/db.tar.gz
Resolving www.microbiome-bigdata.com (www.microbiome-bigdata.com)... 113.6.251.9
Connecting to www.microbiome-bigdata.com (www.microbiome-bigdata.com)|113.6.251.9|:80... failed: Connection timed out.
Retrying.

--2021-03-01 14:57:42--  (try: 2)  http://www.microbiome-bigdata.com/PHISDetector/static/download/DBSCAN-SWA/db.tar.gz
Connecting to www.microbiome-bigdata.com (www.microbiome-bigdata.com)|113.6.251.9|:80... failed: Connection timed out.
Retrying.

--2021-03-01 14:59:54--  (try: 3)  http://www.microbiome-bigdata.com/PHISDetector/static/download/DBSCAN-SWA/db.tar.gz
Connecting to www.microbiome-bigdata.com (www.microbiome-bigdata.com)|113.6.251.9|:80... failed: Connection timed out.
Retrying.

--2021-03-01 15:02:08--  (try: 4)  http://www.microbiome-bigdata.com/PHISDetector/static/download/DBSCAN-SWA/db.tar.gz
Connecting to www.microbiome-bigdata.com (www.microbiome-bigdata.com)|113.6.251.9|:80... 

Even, I tried to open your site http://www.microbiome-bigdata.com/PHISDetector/static/download/DBSCAN-SWA/db.tar.gz on my google chrome but could not connect it. your site is having some issue.

@HIT-ImmunologyLab
Copy link
Owner

HIT-ImmunologyLab commented Mar 1, 2021

@dineshkumarsrk
The website is correct(http://www.microbiome-bigdata.com/PHISDetector/static/download/DBSCAN-SWA/db.tar.gz). You can use other tool like axel. Alternatively, you could download the database manually from http://www.microbiome-bigdata.com/PHISDetector/index/download

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

2 participants