conda samtools
0
0
Entering edit mode
2.8 years ago
PROFESOR • 0

It gives me error when installing samtools I installed

curl -O https://repo.anaconda.com/miniconda/Miniconda3-latest-MacOSX-x86_64.sh
sh Miniconda3-latest-MacOSX-x86_64.sh

conda install -c bioconda samtools 



zsh: command not found: conda
javierpalomares@JAVIERs-Air ~ %
samtools conda • 1.9k views
ADD COMMENT
1
Entering edit mode

I installed

You may have to open a new terminal to have the $PATH amendment (if you chose to do that) come into play. So that is all that may be needed. Open a new terminal and then try conda install. Or try one of the other suggestions.

ADD REPLY
0
Entering edit mode

Possible that installing conda doesn't automatically add the binary to your PATH. Try running ./conda install -c bioconda samtools from where the binary is located or copying the binary to your PATH.

ADD REPLY
0
Entering edit mode

you probably need to add the conda directory to the zsh PATH variable.

Try this:

export PATH="~/miniconda3/bin":$PATH
ADD REPLY
0
Entering edit mode

i'm doing that but it keeps happening

javierpalomares@JAVIERs-Air ~ % ls
Desktop                 Movies
Documents               Music
Downloads               Pictures
Library                 Public
Miniconda3-latest-MacOSX-x86_64.sh  miniconda3j


javierpalomares@JAVIERs-Air ~ %  export PATH="~/miniconda3/bin":$PATH
javierpalomares@JAVIERs-Air ~ % conda install -c bioconda samtools
zsh: command not found: javierpalomares@JAVIERs-Air
ADD REPLY
0
Entering edit mode

maybe this could help: link

ADD REPLY
0
Entering edit mode

It appears that your miniconda3 directory may have a j at the end of it so you will need to modify @andres's command to account for that.

Try

export PATH="~/miniconda3j/bin":$PATH
ADD REPLY

Login before adding your answer.

Traffic: 2272 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6