-
Notifications
You must be signed in to change notification settings - Fork 30
setBioPython
Eaton edited this page Jan 15, 2019
·
1 revision
Although the typical AltAnalyze user will not need to install any additional python libraries, even if running python directly from the source code, users and developers wishing to customize or build databases (independent of Official releases) will need to install certain libraries:
- Python 2.7.1
- Numpy
- C compiler (Mac and some Linux)
- BioPython
Numpy and a C compiler are required for BioPython installation and not for other AltAnalyze functionality. With installation of Numpy, additional installation of a C compiler is not needed for Windows. BioPython itself is required for sequence analysis modules for protein prediction from mRNAs with no annotated protein sequence.
- Install Python: Although python is installed by default on the Mac, this version has certain compatibility issues that will require you to install a new version from Python. We recommend Python 2.7.1 (32 bit or 64 bit).
- Install setuptools for your OS and processor architecture from here. Follow the instructions to install by Terminal. This will allow you to run
easy_install
by command line. - Install Numpy: Select the appropriate download from Source Forge or through
easy_install
. - Install C compiler: It is recommended to install xCode from Apple. xCode is a large installation (3.6GB download - 10GB installed).
- Install BioPython: In a terminal window type
easy\_install biopython
. If you receive a warning, repeat the command, as intermittent issues can cause transient errors.
- Install Python: We recommend Python 2.7.1 (32 bit or 64 bit).
- Set Python path: See the following link.
- Install Numpy: Select the appropriate download from here.
- Install BioPython: Select the appropriate download from here.
Once complete, you will be ready to perform database installations. For further details, proceed here.