comparison COBRAxy/ras_to_bounds.xml @ 83:bfb17674d13b draft

Uploaded
author luca_milaz
date Sun, 13 Oct 2024 11:05:23 +0000
parents 226bee471503
children
comparison
equal deleted inserted replaced
82:226bee471503 83:bfb17674d13b
27 --medium $medium 27 --medium $medium
28 #end if 28 #end if
29 --ras_selector $cond_ras.ras_choice 29 --ras_selector $cond_ras.ras_choice
30 #if $cond_ras.ras_choice == "True" 30 #if $cond_ras.ras_choice == "True"
31 --input_ras $cond_ras.input_ras 31 --input_ras $cond_ras.input_ras
32 #set $names = "" 32 --classes $cond_ras.classes
33 #for $input_temp in $cond_ras.input_ras:
34 #set $names = $names + $input_temp.element_identifier + ","
35 #end for
36 --names $names
37 #end if 33 #end if
38 --out_log $log 34 --out_log $log
39 ]]> 35 ]]>
40 </command> 36 </command>
41 <inputs> 37 <inputs>
51 <option value="True" selected="true">Yes</option> 47 <option value="True" selected="true">Yes</option>
52 <option value="False">No</option> 48 <option value="False">No</option>
53 </param> 49 </param>
54 <when value="True"> 50 <when value="True">
55 <param name="input_ras" argument="--input_ras" multiple="true" type="data" format="tabular, csv, tsv" label="RAS matrix:" /> 51 <param name="input_ras" argument="--input_ras" multiple="true" type="data" format="tabular, csv, tsv" label="RAS matrix:" />
52 <param name="classes" argument="--classes" type="text" value="None" label="Classes:" help="Write here the the classes to assign to each of the uploaded RAS matrices. Example for two RAS matrices:'cellNormal, cellCancer'. If you uploaded just one matrix, leave default value." />
56 </when> 53 </when>
57 </conditional> 54 </conditional>
58 55
59 <conditional name="cond_medium"> 56 <conditional name="cond_medium">
60 <expand macro="options_ras_to_bounds_medium"/> 57 <expand macro="options_ras_to_bounds_medium"/>
85 Moreover, it enables to use custom/pre-defined growth mediums to constrain exchange reactions. For a custom medium, It is suggested to use the template file returned by the Custom Data Generator tool. 82 Moreover, it enables to use custom/pre-defined growth mediums to constrain exchange reactions. For a custom medium, It is suggested to use the template file returned by the Custom Data Generator tool.
86 If the RAS matrix, generated by the RAS generator tool, is used, then a bounds file is generated for each cell. Otherwise, a single bounds file is returned. 83 If the RAS matrix, generated by the RAS generator tool, is used, then a bounds file is generated for each cell. Otherwise, a single bounds file is returned.
87 84
88 Accepted files: 85 Accepted files:
89 - A model: JSON or XML file reporting reactions and rules contained in the model. 86 - A model: JSON or XML file reporting reactions and rules contained in the model.
90 - RAS matrix: tab-separated RAS file as returned by RAS generator. Multiple RAS files can be uploaded too (e.g. one RAS matrix for normal cells and one for cancer cells). Note that if multiple RAs matrices are uploaded, the bounds are normalzed across all cells. 87 - RAS matrix: tab-separated RAS file as returned by RAS generator. It can be a collection of RAS files too (e.g. one RAS matrix for normal cells and one for cancer cells). Note that if multiple RAs matrices are uploaded, the bounds are normalzed across all cells.
88 - Classes: If multiple RAS matrices are uploaded, then the tool returns a simple file containing for each cell the class it belongs to (cells coming from the same RAS matrix are assigned to the same class). This file is useful in the Flux enrichment analysis tool.
91 - Medium: tab-separated file containing lower and upper-bounds of medium reactions. 89 - Medium: tab-separated file containing lower and upper-bounds of medium reactions.
92 90
93 Example of custum growth medium file: 91 Example of custum growth medium file:
94 92
95 93
99 | r1 | 0.123167 | 0.371355 | 97 | r1 | 0.123167 | 0.371355 |
100 +------------+----------------+----------------+ 98 +------------+----------------+----------------+
101 | r2 | 0.268765 | 0.765567 | 99 | r2 | 0.268765 | 0.765567 |
102 +------------+----------------+----------------+ 100 +------------+----------------+----------------+
103 101
104 Example for multiple RAS matrices:
105 - cancer.csv and normal.csv generated by RAS generator tool (the two class names are 'cancer' and 'normal').
106 +
107 − - This tool returns one unique collection of bounds files for both cancer and normal cells (normalization is performed across all cells).
108 - The association cell-class is reported in the 'cell_class' file that is useful to perform flux enrichment analysis based on class partenrship.
109 102
110 Output: 103 Output:
111 ------------- 104 -------------
112 105
113 The tool generates: 106 The tool generates:
114 - bounds: reporting the bounds of the model, or cells if RAS is used. Format: tab-separated. 107 - bounds: reporting the bounds of the model, or cells if RAS is used. Format: tab-separated.
115 - Classes: a file containing the class of each cell (only if multiple RAS matrices were uploaded). The class name of a RAS matrix corresponds to its file name. Format: tab-separated. 108 - Classes: a file containing the class of each cell (only if multiple RAS matrices were uploaded). Format: tab-separated.
116 - a log file (.txt). 109 - a log file (.txt).
117 ]]> 110 ]]>
118 </help> 111 </help>
119 <expand macro="citations" /> 112 <expand macro="citations" />
120 </tool> 113 </tool>