Skip to content

Testing BioCompass in AWS EC2, installing requirements using conda  #39

@tiagolbiotech

Description

@tiagolbiotech

This time I attempted to install BioCompass requirements using conda, according to the commands below

$ scp -r -i ~/Downloads/my-key.pem ~/Desktop/BioCompass/antiSMASH_input/ ubuntu@ec2-54-153-112-136.us-west-1.compute.amazonaws.com:~/

$ scp -r -i ~/Downloads/my-key.pem ~/Desktop/BioCompass/multigeneblast/ ubuntu@ec2-54-153-112-136.us-west-1.compute.amazonaws.com:~/

$ git clone git://github.com/NP-Omix/BioCompass

$ curl -O https://repo.continuum.io/archive/Anaconda3-4.2.0-Linux-x86_64.sh

$ bash Anaconda3-4.2.0-Linux-x86_64.sh

$ conda install -c anaconda click

$ conda install -c anaconda scipy

$ conda install -c anaconda pandas

$ conda install -c anaconda biopython=1.67

$ conda install scikit-learn

$ conda create -n py27 python=2.7 anaconda

$ source ~/.bashrc

$ source activate py27

$ cd BioCompass

$ make INPUTDIR='/home/ubuntu/antiSMASH_input' REFNAME='PAL' MULTIGENEBLASTDIR='/home/ubuntu/multigeneblast' ALL

Resulting in the error

Traceback (most recent call last):
  File "/usr/local/bin/BioCompass", line 5, in <module>
    from pkg_resources import load_entry_point
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 3080, in <module>
    @_call_aside
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 3066, in _call_aside
    f(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 3093, in _initialize_master_working_set
    working_set = WorkingSet._build_master()
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 651, in _build_master
    ws.require(__requires__)
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 952, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 839, in resolve
    raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'biopython==1.67' distribution was not found and is required by BioCompass
Makefile:63: recipe for target '/home/ubuntu/BioCompass/outputs/database_clusters' failed
make[1]: *** [/home/ubuntu/BioCompass/outputs/database_clusters] Error 1
make[1]: Leaving directory '/home/ubuntu/BioCompass/BioCompass'
Makefile:43: recipe for target 'ALL' failed
make: *** [ALL] Error 2

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions