492
|
1 # Tool| Tool | Purpose | Input | Output |
|
|
2 |------|---------|--------|---------|
|
|
3 | [RAS Generator](ras-generator.md) | Compute reaction activity scores | Gene expression + GPR rules | RAS values |
|
|
4 | [RPS Generator](rps-generator.md) | Compute reaction propensity scores | Metabolite abundance | RPS values |
|
|
5 | [MAREA](marea.md) | Statistical pathway enrichment | RAS/RPS data | Enriched maps + statistics |
|
|
6 | [RAS to Bounds](ras-to-bounds.md) | Apply RAS constraints to model | RAS + SBML model | Constrained bounds |
|
|
7 | [Flux Simulation](flux-simulation.md) | Sample metabolic fluxes | Constrained model | Flux distributions |
|
|
8 | [Flux to Map](flux-to-map.md) | Visualize flux data on maps | Flux samples + statistical comparison | Color-coded pathway maps |
|
|
9 | [Model Setting](metabolic-model-setting.md) | Extract model components | SBML/JSON/MAT/YML model | Tabular model data |
|
|
10 | [Tabular to Model](tabular-to-model.md) | Create COBRA models | Tabular reaction data | SBML/JSON/MAT/YAML models |
|
|
11 | [MAREA Cluster](marea-cluster.md) | Cluster analysis | Expression/RAS/RPS/flux data | Sample clusters + validation plots |ation
|
|
12
|
|
13 Complete reference for all COBRAxy tools with parameters, examples, and usage guidelines.
|
|
14
|
|
15 ## Available Tools
|
|
16
|
|
17 | Tool | Purpose | Input | Output |
|
|
18 |------|---------|--------|--------|
|
|
19 | [RAS Generator](ras-generator.md) | Compute reaction activity scores | Gene expression + GPR rules | RAS values |
|
|
20 | [RPS Generator](rps-generator.md) | Compute reaction propensity scores | Metabolite abundance | RPS values |
|
|
21 | [MAREA](marea.md) | Statistical pathway enrichment | RAS/RPS data | Enriched maps + statistics |
|
|
22 | [RAS to Bounds](ras-to-bounds.md) | Apply RAS constraints to model | RAS + SBML model | Constrained bounds |
|
|
23 | [Flux Simulation](flux-simulation.md) | Sample metabolic fluxes | Constrained model | Flux distributions |
|
|
24 | [Flux to Map](flux-to-map.md) | Visualize flux data on maps | Flux samples + statistical comparison | Color-coded pathway maps |
|
|
25 | [Model Setting](metabolic-model-setting.md) | Extract model components | SBML/JSON/MAT/YML model | Tabular model data |
|
|
26 | [MAREA Cluster](marea-cluster.md) | Cluster analysis | Expression/RAS/RPS/flux data | Sample clusters + validation plots |
|
|
27
|
|
28 ## Common Parameters
|
|
29
|
|
30 All tools share these basic parameters:
|
|
31
|
|
32 - **`-td, --tool_dir`**: COBRAxy installation directory (required)
|
|
33 - **`-in, --input`**: Input dataset file
|
|
34 - **`-idop, --output_dir`**: Output directory for results
|
|
35 - **`-rs, --rules_selector`**: Built-in model (ENGRO2, Recon, HMRcore)
|
|
36
|
|
37 ## Analysis Workflows
|
|
38
|
|
39 **Enrichment Analysis**: Gene Expression → RAS Generator → MAREA → Pathway Maps
|
|
40
|
|
41 **Flux Simulation**: Gene Expression → RAS Generator → RAS to Bounds → Flux Simulation → Flux to Map
|
|
42
|
|
43 ## Usage Patterns
|
|
44
|
|
45 ### Command Line Usage
|
|
46 ```bash
|
|
47 # Basic pattern for all tools
|
|
48 tool_name -td $(pwd) [tool-specific options]
|
|
49
|
|
50 # Example: Generate RAS scores
|
|
51 ras_generator -td $(pwd) -in expression.tsv -ra ras_output.tsv -rs ENGRO2
|
|
52 ```
|
|
53
|
|
54 ### Python API Usage
|
|
55 ```python
|
|
56 import tool_module
|
|
57
|
|
58 # All tools accept argument lists
|
|
59 args = ['-td', '/path/to/cobraxy', '-in', 'input.tsv', '-out', 'output.tsv']
|
|
60 tool_module.main(args)
|
|
61 ```
|
|
62
|
|
63 ### Galaxy Integration
|
|
64 All tools include Galaxy XML wrappers for web-based usage through the Galaxy interface.
|
|
65
|
|
66 ## Parameter Reference
|
|
67
|
|
68 ### File Format Requirements
|
|
69
|
|
70 **Gene Expression Files**
|
|
71 - Format: TSV (tab-separated values)
|
|
72 - Structure: Genes (rows) × Samples (columns)
|
|
73 - First column: Gene IDs (HGNC, Ensembl, etc.)
|
|
74 - Subsequent columns: Expression values
|
|
75
|
|
76 **Metabolite Files**
|
|
77 - Format: TSV (tab-separated values)
|
|
78 - Structure: Metabolites (rows) × Samples (columns)
|
|
79 - First column: Metabolite names
|
|
80 - Subsequent columns: Abundance values
|
|
81
|
|
82 **Model Files**
|
|
83 - Format: SBML (.xml) or tabular rules (.tsv)
|
|
84 - Content: Metabolic network with GPR rules
|
|
85
|
|
86 ### Built-in Models
|
|
87
|
|
88 | Model | Organism | Reactions | Genes | Best For |
|
|
89 |-------|----------|-----------|-------|----------|
|
|
90 | **ENGRO2** | Human | ~2,000 | ~500 | Focused analysis, faster computation |
|
|
91 | **Recon** | Human | ~10,000 | ~2,000 | Comprehensive metabolism |
|
|
92 | **HMRcore** | Human | ~5,000 | ~1,000 | Balanced coverage |
|
|
93
|
|
94 ## Tool Selection Guide
|
|
95
|
|
96 ### Choose Your Analysis Path
|
|
97
|
|
98 **For Pathway Enrichment**
|
|
99 1. [RAS Generator](ras-generator.md) → Generate activity scores
|
|
100 2. [RPS Generator](rps-generator.md) → Generate propensity scores (optional)
|
|
101 3. [MAREA](marea.md) → Statistical analysis and visualization
|
|
102
|
|
103 **For Flux Analysis**
|
|
104 1. [RAS Generator](ras-generator.md) → Generate activity scores
|
|
105 2. [RAS to Bounds](ras-to-bounds.md) → Apply constraints
|
|
106 3. [Flux Simulation](flux-simulation.md) → Sample fluxes
|
|
107 4. [Flux to Map](flux-to-map.md) → Create visualizations
|
|
108
|
|
109 **For Model Exploration**
|
|
110 1. [Model Setting](metabolic-model-setting.md) → Extract model info
|
|
111 2. Analyze model structure and gene coverage
|
|
112
|
|
113 **For Sample Classification**
|
|
114 1. Generate RAS/RPS scores
|
|
115 2. [MAREA Cluster](marea-cluster.md) → Cluster samples
|
|
116
|
|
117
|
|
118
|
|
119 ## Troubleshooting
|
|
120
|
|
121 ### Common Issues Across Tools
|
|
122
|
|
123 **File Path Problems**
|
|
124 - Use absolute paths when possible
|
|
125 - Ensure all input files exist before starting
|
|
126 - Check write permissions for output directories
|
|
127
|
|
128 **File Issues**
|
|
129 - Check file paths and permissions
|
|
130 - Verify input file formats
|
|
131 - Ensure sufficient disk space
|
|
132
|
|
133 **Model Issues**
|
|
134 - Verify model file format and gene ID consistency
|
|
135 - Check gene ID mapping between data and model
|
|
136 - Use built-in models to avoid compatibility issues
|
|
137
|
|
138 ### Getting Help
|
|
139
|
|
140 For tool-specific issues:
|
|
141 1. Check individual tool documentation
|
|
142 2. Review parameter requirements and formats
|
|
143 3. Test with smaller datasets first
|
|
144 4. Consult [troubleshooting guide](../troubleshooting.md)
|
|
145
|
|
146 ## Contributing
|
|
147
|
|
148 Help improve tool documentation:
|
|
149 - Report unclear instructions
|
|
150 - Suggest additional examples
|
|
151 - Contribute usage patterns
|
|
152 - Fix documentation errors
|
|
153
|
|
154 Each tool page includes detailed parameter descriptions, examples, and troubleshooting tips. Select a tool from the sidebar to get started! |