I'm looking to use Minerva to visualize a pathway and I had a couple questions about the application.
1. Can it be used to visualize metabolic reconstructions other than ReconMap? I'm currently interested in visualized pathways in the Harvey Harvetta model, is this possible using Minerva?
3. When I currently try to follow the tutorial online about visualization using ReconMap 2, I get the following error:
load('minerva.mat')
minerva.map = 'ReconMap-3';
minerva.login = 'user-name';
minerva.password = 'user-password';
minerva.googleLicenseConsent = 'true';
%initialize the cobra toolbox
% changeCobraSolver('ibm_cplex','QP');
% changeCobraSolver('ibm_cplex', 'LP')
% model = readCbModel('Recon2.v04.mat');
model = load('Recon2.v04.mat');
model = model.modelR204;
formula = printRxnFormula(model, 'ATPS4m');
model_atp_production = model;
model_atp_production = changeObjective(model_atp_production, 'ATPS4m');
solution_atp_prod_max_regularised = optimizeCbModel(model_atp_production, 'max',1e-6);
solution_atp_prod_max_sparse = optimizeCbModel(model_atp_production, 'max','zero');
formula = printRxnFormula(model, 'r0603');
nnz(solution_atp_prod_max_regularised.v)
solution_atp_prod_max_regularised.v(strcmp(model.rxns,'r0603'))
nnz(solution_atp_prod_max_sparse.v)
solution_atp_prod_max_sparse.v(strcmp(model.rxns,'r0603'))
solution_atp_prod_max_regularised.v(solution_atp_prod_max_regularised.v~=0)=1;
solution_atp_prod_max_sparse.v(solution_atp_prod_max_sparse.v~=0)=1;
serverResponse = buildFluxDistLayout(minerva, model, solution_atp_prod_max_sparse, 'atp_prod_max_sparse_2020','#6617B5')
serverResponse = buildFluxDistLayout(minerva, model, solution_atp_prod_max_sparse, 'atp_prod_max_sparse_2020','#6617B5')
I was wondering if I am using the minerva structure wrong, or if I need to be loading a Recon3 to use Minerva? I'm not sure where to currently download it at the moment.
Thank you so much for your help and assistance! Help on any of these three questions would be greatly appreciated!