-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #429 from SysBioChalmers/feat/addACOD1
feat: add cis-aconitate decarboxylase reaction and change reversibility for MAR09498
- Loading branch information
Showing
5 changed files
with
60 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
% load model and new reaction info | ||
ihuman = importYaml('../../model/Human-GEM.yml'); | ||
rxnsToAdd = importTsvFile('../../data/modelCuration/addRxnACOD1_20221102.tsv'); | ||
|
||
% add new genes to Human-GEM | ||
newGEM = ihuman; | ||
newGEM.genes = [newGEM.genes; rxnsToAdd.grRules]; | ||
newGEM.rxnGeneMat(:, end+1) = 0; | ||
|
||
% reformat subsystem | ||
if ~iscell(rxnsToAdd.subSystems{1}) | ||
rxnsToAdd.subSystems = cellfun(@(s) {{s}}, rxnsToAdd.subSystems); | ||
end | ||
% add new reaction | ||
newGEM = addRxns(newGEM, rxnsToAdd, 3); | ||
|
||
% add reaction annotation | ||
rxnAssoc = importTsvFile('../../model/reactions.tsv'); | ||
annoNames = fieldnames(rxnAssoc); | ||
for i=1:length(annoNames) | ||
if ismember(annoNames{i}, fieldnames(rxnsToAdd)) | ||
rxnAssoc.(annoNames{i}) = [rxnAssoc.(annoNames{i}); rxnsToAdd.(annoNames{i})]; | ||
elseif isequal(annoNames{i},'spontaneous') | ||
rxnAssoc.(annoNames{i}) = [rxnAssoc.(annoNames{i}); 0]; | ||
else | ||
rxnAssoc.(annoNames{i}) = [rxnAssoc.(annoNames{i}); {''}]; | ||
end | ||
end | ||
|
||
% update yaml model and reaction association file | ||
exportYaml(newGEM, '../../model/Human-GEM.yml'); | ||
exportTsvFile(rxnAssoc,'../../model/reactions.tsv'); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
rxns equations ub lb eccodes subSystems grRules rxnReferences rxnConfidenceScores rxnKEGGID rxnMetaCycID rxnMetaNetXID rxnRheaID rxnRheaMasterID | ||
"MAR13087" "cis-aconitate[m] + H+[m] => CO2[m] + itaconate[m]" 1000 0 "4.1.1.6" "C5-branched dibasic acid metabolism" "ENSG00000102794" "PMID:23610393;PMID:31548418" 4 "R02243" "ACONITATE-DECARBOXYLASE-RXN" "MNXR107402" "RHEA:15254" "RHEA:15253" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ | |
short_name: "Human-GEM" | ||
full_name: "Generic genome-scale metabolic model of Homo sapiens" | ||
version: "" | ||
date: "2022-07-27" | ||
date: "2022-11-09" | ||
authors: "Jonathan Robinson, Hao Wang, Pierre-Etienne Cholley, Pinar Kocabas" | ||
email: "[email protected]" | ||
organization: "Chalmers University of Technology" | ||
|
@@ -163029,13 +163029,13 @@ | |
- MAM00216c: 1 | ||
- MAM01719c: -1 | ||
- MAM01720c: 1 | ||
- lower_bound: -1000 | ||
- lower_bound: 0 | ||
- upper_bound: 1000 | ||
- gene_reaction_rule: "ENSG00000170430" | ||
- rxnNotes: "" | ||
- rxnFrom: "HMRdatabase" | ||
- eccodes: "2.1.1.63" | ||
- references: "" | ||
- references: "PMID:34982531" | ||
- subsystem: | ||
- "Isolated" | ||
- confidence_score: 0 | ||
|
@@ -305064,6 +305064,24 @@ | |
- subsystem: | ||
- "Transport reactions" | ||
- confidence_score: 2 | ||
- !!omap | ||
- id: "MAR13087" | ||
- name: "" | ||
- metabolites: !!omap | ||
- MAM01580m: -1 | ||
- MAM01596m: 1 | ||
- MAM02039m: -1 | ||
- MAM02191m: 1 | ||
- lower_bound: 0 | ||
- upper_bound: 1000 | ||
- gene_reaction_rule: "ENSG00000102794" | ||
- rxnNotes: "" | ||
- rxnFrom: "" | ||
- eccodes: "4.1.1.6" | ||
- references: "PMID:23610393;PMID:31548418" | ||
- subsystem: | ||
- "C5-branched dibasic acid metabolism" | ||
- confidence_score: 4 | ||
- genes: | ||
- !!omap | ||
- id: "ENSG00000000419" | ||
|
@@ -311199,6 +311217,8 @@ | |
- id: "ENSG00000288702" | ||
- !!omap | ||
- id: "ENSG00000288705" | ||
- !!omap | ||
- id: "ENSG00000102794" | ||
- compartments: !!omap | ||
- e: "Extracellular" | ||
- x: "Peroxisome" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters