Skip to content

How to install via conda manually?  #10

@jolespin

Description

@jolespin

Here is your install.sh script:

# install python packages
#python -mpip install -U pip numpy==1.16.4 scipy==1.3.0 networkx==2.3 cffi==1.12.3 biopython==1.73
conda install -y networkx=2.3 cffi=1.12.3 biopython=1.73 numpy=1.16.4 scipy=1.3.0

rm -rf ./pypy
# 1. download portable pypy
wget -c https://bitbucket.org/squeaky/portable-pypy/downloads/pypy-7.1.0-linux_x86_64-portable.tar.bz2

# 2. unzip the compressed file
tar xvf pypy-7.1.0-linux_x86_64-portable.tar.bz2

# 3. remove the compressed file
rm pypy-7.1.0-linux_x86_64-portable.tar.bz2

# 4. install pypy

mv ./pypy-7.1.0-linux_x86_64-portable/ ./pypy
cd pypy
mkdir install_dir
./bin/virtualenv-pypy -p ./bin/pypy ./install_dir

./install_dir/bin/pypy -mpip install -U pip rpython

#pypy/bin/pypy ./bin/find_hit.py &> /dev/null
#./install_dir/bin/pypy ../bin/find_hit.py &> /dev/null
./install_dir/bin/pypy ../bin/find_hit.py


I have a conda environment I've created for this program:

(swiftortho_env) -bash-4.1$ echo $CONDA_PREFIX
/usr/local/devel/ANNOTATION/jespinoz/anaconda3/envs/swiftortho_env

I want to put everything in here but I'm confused on your install script. I get what conda install -y networkx=2.3 cffi=1.12.3 biopython=1.73 numpy=1.16.4 scipy=1.3.0 is doing. I'm a little confused on why portable-pypy is being used instead pip.

I have 2 directories:
/usr/local/devel/ANNOTATION/jespinoz/anaconda3/envs/swiftortho_env/bin
/usr/local/devel/ANNOTATION/jespinoz/anaconda3/envs/swiftortho_env/lib

Can I just move your bin and lib files into these directories?

It would be much easier to have a conda install -c bioconda swiftortho in the future if possible.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions