|
492
|
1 # RPS Generator
|
|
|
2
|
|
547
|
3 Compute Reaction Presence Scores (RPS) from metabolite abundance data.
|
|
492
|
4
|
|
|
5 ## Overview
|
|
|
6
|
|
547
|
7 RPS Generator calculates reaction presence scores based on metabolite availability in reaction formulas.
|
|
|
8
|
|
|
9 ## Galaxy Interface
|
|
|
10
|
|
|
11 In Galaxy: **COBRAxy → RPS Generator**
|
|
|
12
|
|
|
13 1. Select built-in model or upload custom reactions
|
|
|
14 2. Upload metabolite abundance data
|
|
|
15 3. Click **Execute**
|
|
492
|
16
|
|
|
17 ## Usage
|
|
|
18
|
|
|
19 ```bash
|
|
547
|
20 rps_generator -rs ENGRO2 \
|
|
|
21 -in metabolite_data.tsv \
|
|
|
22 -rps rps_scores.tsv \
|
|
|
23 -ol rps_generation.log
|
|
492
|
24 ```
|
|
|
25
|
|
|
26 ## Parameters
|
|
|
27
|
|
|
28 | Parameter | Flag | Description | Default |
|
|
|
29 |-----------|------|-------------|---------|
|
|
547
|
30 | Rules Selector | `-rs` | ENGRO2, Recon, or Custom | ENGRO2 |
|
|
|
31 | Input Data | `-in` | Metabolite abundance TSV file | - |
|
|
|
32 | Output RPS | `-rps` | Output RPS scores file | - |
|
|
|
33 | Output Log | `-ol` | Log file | - |
|
|
|
34 | Custom Rules | `-rl` | Custom reaction formulas file | - |
|
|
492
|
35
|
|
|
36 ## Input Format
|
|
|
37
|
|
547
|
38 Metabolite data file (TSV):
|
|
492
|
39
|
|
|
40 ```
|
|
|
41 Metabolite Sample1 Sample2 Sample3
|
|
547
|
42 glc_c 2.5 1.8 3.2
|
|
|
43 atp_c 5.2 4.9 5.8
|
|
|
44 pyr_c 1.5 2.1 1.8
|
|
492
|
45 ```
|
|
|
46
|
|
547
|
47 **File Format Notes:**
|
|
|
48 - Use **tab-separated** values (TSV)
|
|
|
49 - First row must contain column headers (Metabolite, Sample names)
|
|
|
50 - Metabolite names must include compartment suffix (e.g., _c, _m, _e)
|
|
|
51 - Numeric values only for abundance data
|
|
492
|
52
|
|
|
53 ## Output Format
|
|
|
54
|
|
|
55 ```
|
|
|
56 Reaction Sample1 Sample2 Sample3
|
|
547
|
57 R00001 1.25 0.95 1.42
|
|
|
58 R00002 0.85 1.15 0.92
|
|
492
|
59 ```
|
|
|
60
|
|
|
61 ## Examples
|
|
|
62
|
|
|
63 ### Basic Usage
|
|
|
64
|
|
|
65 ```bash
|
|
547
|
66 rps_generator -rs ENGRO2 \
|
|
|
67 -in metabolites.tsv \
|
|
|
68 -rps rps_scores.tsv
|
|
492
|
69 ```
|
|
|
70
|
|
547
|
71 ### Custom Reactions
|
|
492
|
72
|
|
547
|
73 ```bash
|
|
|
74 rps_generator -rs Custom \
|
|
|
75 -rl custom_reactions.csv \
|
|
|
76 -in metabolites.tsv \
|
|
|
77 -rps rps_scores.tsv
|
|
|
78 ```
|
|
492
|
79
|
|
|
80 ## Troubleshooting
|
|
|
81
|
|
547
|
82 | Error | Solution |
|
|
|
83 |-------|----------|
|
|
|
84 | "Metabolite not found" | Check metabolite nomenclature |
|
|
|
85 | "Invalid formula" | Verify reaction formula syntax |
|
|
492
|
86
|
|
|
87 ## See Also
|
|
|
88
|
|
547
|
89 - [MAREA](tools/marea)
|
|
|
90 - [RAS Generator](tools/ras-generator)
|
|
|
91 - [Built-in Models](reference/built-in-models)
|