|
492
|
1 # Installation
|
|
|
2
|
|
|
3 This guide walks you through installing COBRAxy on your system.
|
|
|
4
|
|
|
5 ## System Requirements
|
|
|
6
|
|
538
|
7 - **Python**: 3.8-3.12
|
|
492
|
8 - **Operating System**: Linux (recommended), macOS, Windows
|
|
|
9 - **Storage**: 2GB free space for installation and temporary files
|
|
|
10
|
|
|
11 ## Quick Install
|
|
|
12
|
|
|
13 The fastest way to install COBRAxy:
|
|
|
14
|
|
|
15 ```bash
|
|
|
16 # Clone the repository
|
|
|
17 git clone https://github.com/CompBtBs/COBRAxy.git
|
|
|
18 cd COBRAxy
|
|
|
19
|
|
|
20 # Install COBRAxy
|
|
|
21 pip install .
|
|
|
22 ```
|
|
|
23
|
|
|
24 ## Development Install
|
|
|
25
|
|
|
26 For development or if you want to modify COBRAxy:
|
|
|
27
|
|
|
28 ```bash
|
|
|
29 # Clone and install in development mode
|
|
|
30 git clone https://github.com/CompBtBs/COBRAxy.git
|
|
|
31 cd COBRAxy
|
|
|
32 pip install -e .
|
|
|
33 ```
|
|
|
34
|
|
|
35 ## Dependencies
|
|
|
36
|
|
538
|
37 COBRAxy automatically installs its Python dependencies (COBRApy, pandas, numpy, etc.)
|
|
492
|
38
|
|
|
39 ## Verify Installation
|
|
|
40
|
|
|
41 Test your installation:
|
|
|
42
|
|
|
43 ```bash
|
|
|
44 # Check if COBRAxy tools are available
|
|
|
45 ras_generator --help
|
|
|
46 flux_simulation --help
|
|
|
47 ```
|
|
|
48
|
|
|
49 ## Virtual Environment (Recommended)
|
|
|
50
|
|
|
51 Using a virtual environment prevents conflicts with other Python packages:
|
|
|
52
|
|
|
53 ```bash
|
|
|
54 # Create virtual environment
|
|
|
55 python -m venv cobraxy-env
|
|
|
56
|
|
|
57 # Activate environment
|
|
|
58 source cobraxy-env/bin/activate # Linux/macOS
|
|
|
59 # cobraxy-env\Scripts\activate # Windows
|
|
|
60
|
|
|
61 # Install COBRAxy
|
|
|
62 pip install .
|
|
|
63
|
|
|
64 # When done, deactivate
|
|
|
65 deactivate
|
|
|
66 ```
|
|
|
67
|
|
|
68 ## Next Steps
|
|
|
69
|
|
|
70 After successful installation:
|
|
|
71
|
|
|
72 1. **[Quick Start Guide](quickstart.md)** - Run your first analysis
|
|
|
73 2. **[Tutorial: Python API](tutorials/python-api.md)** - Learn programmatic usage
|
|
|
74 3. **[Tutorial: Galaxy Setup](tutorials/galaxy-setup.md)** - Set up web interface
|
|
|
75
|
|
|
76 ## Getting Help
|
|
|
77
|
|
|
78 If you encounter issues:
|
|
|
79
|
|
|
80 1. Check the [Troubleshooting Guide](troubleshooting.md)
|
|
|
81 2. Search [existing issues](https://github.com/CompBtBs/COBRAxy/issues)
|
|
|
82 3. Create a [new issue](https://github.com/CompBtBs/COBRAxy/issues/new) with:
|
|
|
83 - Your operating system
|
|
|
84 - Python version (`python --version`)
|
|
|
85 - Complete error message
|
|
|
86 - Installation method used |