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

installing kraken2 database #72

Open
claramicro opened this issue Jan 11, 2024 · 2 comments
Open

installing kraken2 database #72

claramicro opened this issue Jan 11, 2024 · 2 comments

Comments

@claramicro
Copy link

while tormes-setup there is no conection with the web
Connecting nto ftp.ccb.jhu.edu (ftp.ccb.jhu.edu) \128.220.174.63\ :21...failed: Conection timed out

I think that since 2020 the downloading of kraken2 database have changed but i dont know how to avoid the step in the instalation.
Thks you so much

Clara

@biobrad
Copy link
Collaborator

biobrad commented Jan 20, 2024

Hi Clara,
sorry for the late response.
You are right, that link appears to no longer work.
I am working on a fix and will advise when completed.

@biobrad
Copy link
Collaborator

biobrad commented Jan 20, 2024

Hi Clara,
This fix should work.

you need to run the following commands on the 'tormes-setup' file that will be located in your (conda or mambaforge)/envs/tormes-1.3.0/bin folder.

The commands can be run 'as is' one at a time.
the '*' in the filepath allows the command to work with either conda or mamba installation directories.

rm -ri ~/*/envs/tormes-1.3.0/db/minikraken-DB

sed -i 's@ftp:\/\/ftp\.ccb\.jhu\.edu\/pub\/data\/kraken2_dbs\/minikraken_8GB_202003\.tgz@https:\/\/genome-idx.s3.amazonaws.com\/kraken\/k2_standard_08gb_20231009.tar.gz@g' ~/*/envs/tormes-1.3.0/bin/tormes-setup

sed -i 's/minikraken_8GB_202003.tgz/k2_standard_08gb_20231009.tar.gz/g' ~/*/envs/tormes-1.3.0/bin/tormes-setup

sed -i 's@\/minikraken_8GB_20200312@@g' ~/*/envs/tormes-1.3.0/bin/tormes-setup

after you have run these commands, activate your tormes environment and run the tormes-setup step of the installation again.

let me know how you go.

cheers
Brad

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