Harvard:Biophysics 101/2007:Python: Difference between revisions
From OpenWetWare
Jump to navigationJump to search
ShawnDouglas (talk | contribs) m (→Python) |
ShawnDouglas (talk | contribs) |
||
Line 21: | Line 21: | ||
==BioPython== | ==BioPython== | ||
'''Documentation''' | |||
*[http://biopython.org/wiki/Documentation BioPython documentation] | |||
*[http://www.bioinformatics.org/bradstuff/bp/tut/index.html Tutorial & Cookbook] | |||
'''Pre-installation dependencies''' | '''Pre-installation dependencies''' | ||
*Python (see above) | *Python (see above) | ||
Line 50: | Line 54: | ||
</pre> | </pre> | ||
''' | '''Linux''' | ||
*[ | *[[Harvard:Biophysics_101/2007/Notebook:Denizkural/2007-2-2|Ubuntu]] | ||
</div> | </div> |
Revision as of 17:15, 14 February 2007
Python
Installation
Documentation
- Beginner's Guide (includes instructions for non-programmers)
- Learning Python (Online textbook for beginners)
- Dive Into Python (for experienced programmers)
- Python Tutorial
- Python Lib Ref
- Python Style Guide
- Perl-to-Python
- Py Reg Ex (regular expressions)
BioPython
Documentation
Pre-installation dependencies
- Python (see above)
- mxTextTools (direct link to Windows installer)
- Numeric 24.2 (direct link to Windows installer)
Windows Installation
OS X Installation
- Install xcode tools (either download ~1GB from the developer site) or install from the OS X installation DVD.
- Download the three dependencies and extract them (double click on the file, or use "tar -xzf filename.tar.gz" for tar.gz files, or "tar -xf filename.tar")
- For each of the three packages, use a terminal window (/Applications/Utilities/Terminal) to enter the package directory (created when you extracted the files) and run the following commands:
python setup.py build python setup.py install
- Download and extract BioPython source file
- From the extracted directory, run the following commands:
python setup.py build python setup.py test python setup.py install
Linux