|
492
|
1 Complete reference for all COBRAxy tools with parameters, examples, and usage guidelines.
|
|
|
2
|
|
|
3 ## Available Tools
|
|
|
4
|
|
|
5 | Tool | Purpose | Input | Output |
|
|
|
6 |------|---------|--------|--------|
|
|
542
|
7 | [Import Metabolic Model](tools/import-metabolic-model) | Import and extract model components | SBML/JSON/MAT/YAML model | Tabular model data |
|
|
|
8 | [Export Metabolic Model](tools/export-metabolic-model) | Export tabular data to model format | Tabular model data | SBML/JSON/MAT/YAML model |
|
|
|
9 | [RAS Generator](tools/ras-generator) | Compute reaction activity scores | Gene expression + GPR rules | RAS values |
|
|
|
10 | [RPS Generator](tools/rps-generator) | Compute reaction propensity scores | Metabolite abundance | RPS values |
|
|
|
11 | [MAREA](tools/marea) | Statistical pathway enrichment | RAS/RPS data | Enriched maps + statistics |
|
|
|
12 | [RAS to Bounds](tools/ras-to-bounds) | Apply RAS constraints to model | RAS + SBML model | Constrained bounds |
|
|
|
13 | [Flux Simulation](tools/flux-simulation) | Sample metabolic fluxes | Constrained model | Flux distributions |
|
|
|
14 | [Flux to Map](tools/flux-to-map) | Visualize flux data on maps | Flux samples + statistical comparison | Color-coded pathway maps |
|
|
|
15 | [MAREA Cluster](tools/marea-cluster) | Cluster analysis | Expression/RAS/RPS/flux data | Sample clusters + validation plots |
|
|
492
|
16
|
|
|
17
|
|
|
18 ## Analysis Workflows
|
|
|
19
|
|
|
20 **Enrichment Analysis**: Gene Expression → RAS Generator → MAREA → Pathway Maps
|
|
|
21
|
|
|
22 **Flux Simulation**: Gene Expression → RAS Generator → RAS to Bounds → Flux Simulation → Flux to Map
|
|
|
23
|
|
|
24 ## Usage Patterns
|
|
|
25
|
|
538
|
26 ### Galaxy Integration
|
|
|
27 All tools include Galaxy XML wrappers for web-based usage through the Galaxy interface.
|
|
|
28
|
|
492
|
29 ### Command Line Usage
|
|
|
30 ```bash
|
|
|
31 # Basic pattern for all tools
|
|
|
32 tool_name -td $(pwd) [tool-specific options]
|
|
|
33
|
|
|
34 # Example: Generate RAS scores
|
|
|
35 ras_generator -td $(pwd) -in expression.tsv -ra ras_output.tsv -rs ENGRO2
|
|
|
36 ```
|
|
|
37
|
|
|
38 ## Parameter Reference
|
|
|
39
|
|
|
40 ### File Format Requirements
|
|
|
41
|
|
|
42 **Gene Expression Files**
|
|
|
43 - Format: TSV (tab-separated values)
|
|
|
44 - Structure: Genes (rows) × Samples (columns)
|
|
|
45 - First column: Gene IDs (HGNC, Ensembl, etc.)
|
|
|
46 - Subsequent columns: Expression values
|
|
|
47
|
|
|
48 **Metabolite Files**
|
|
|
49 - Format: TSV (tab-separated values)
|
|
|
50 - Structure: Metabolites (rows) × Samples (columns)
|
|
|
51 - First column: Metabolite names
|
|
|
52 - Subsequent columns: Abundance values
|
|
|
53
|
|
|
54 **Model Files**
|
|
|
55 - Format: SBML (.xml) or tabular rules (.tsv)
|
|
|
56 - Content: Metabolic network with GPR rules
|
|
|
57
|
|
|
58 ### Built-in Models
|
|
|
59
|
|
|
60 | Model | Organism | Reactions | Genes | Best For |
|
|
|
61 |-------|----------|-----------|-------|----------|
|
|
538
|
62 | **ENGRO2** | Human | ~500 | ~500 | Focused analysis, faster computation |
|
|
|
63 | **RECON3D** | Human | ~10,000 | ~2,000 | Comprehensive metabolism |
|
|
492
|
64
|
|
|
65 ## Tool Selection Guide
|
|
|
66
|
|
|
67 ### Choose Your Analysis Path
|
|
|
68
|
|
|
69 **For Pathway Enrichment**
|
|
542
|
70 1. [RAS Generator](tools/ras-generator) → Generate activity scores
|
|
|
71 2. [RPS Generator](tools/rps-generator) → Generate propensity scores (optional)
|
|
|
72 3. [MAREA](tools/marea) → Statistical analysis and visualization
|
|
492
|
73
|
|
|
74 **For Flux Analysis**
|
|
542
|
75 1. [RAS Generator](tools/ras-generator) → Generate activity scores
|
|
|
76 2. [RAS to Bounds](tools/ras-to-bounds) → Apply constraints
|
|
|
77 3. [Flux Simulation](tools/flux-simulation) → Sample fluxes
|
|
|
78 4. [Flux to Map](tools/flux-to-map) → Create visualizations
|
|
492
|
79
|
|
|
80 **For Model Exploration**
|
|
542
|
81 1. [Import Metabolic Model](tools/import-metabolic-model) → Extract model info
|
|
492
|
82 2. Analyze model structure and gene coverage
|
|
|
83
|
|
542
|
84 **For Model Creation**
|
|
|
85 1. Create/edit tabular model data
|
|
|
86 2. [Export Metabolic Model](tools/export-metabolic-model) → Create SBML/JSON/MAT/YAML model
|
|
|
87
|
|
492
|
88 **For Sample Classification**
|
|
|
89 1. Generate RAS/RPS scores
|
|
542
|
90 2. [MAREA Cluster](tools/marea-cluster) → Cluster samples
|
|
492
|
91
|
|
|
92
|
|
|
93
|
|
|
94 ## Troubleshooting
|
|
|
95
|
|
|
96 ### Common Issues Across Tools
|
|
|
97
|
|
|
98 **Model Issues**
|
|
|
99 - Verify model file format and gene ID consistency
|
|
|
100 - Check gene ID mapping between data and model
|
|
|
101 - Use built-in models to avoid compatibility issues
|
|
|
102
|
|
|
103 ### Getting Help
|
|
|
104
|
|
|
105 For tool-specific issues:
|
|
|
106 1. Check individual tool documentation
|
|
|
107 2. Review parameter requirements and formats
|
|
|
108 3. Test with smaller datasets first
|
|
542
|
109 4. Consult [troubleshooting guide](/troubleshooting.md)
|
|
492
|
110
|
|
|
111 ## Contributing
|
|
|
112
|
|
|
113 Help improve tool documentation:
|
|
|
114 - Report unclear instructions
|
|
|
115 - Suggest additional examples
|
|
|
116 - Contribute usage patterns
|
|
|
117 - Fix documentation errors
|
|
|
118
|
|
|
119 Each tool page includes detailed parameter descriptions, examples, and troubleshooting tips. Select a tool from the sidebar to get started! |