-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathRC_example4.m
More file actions
21 lines (17 loc) · 775 Bytes
/
RC_example4.m
File metadata and controls
21 lines (17 loc) · 775 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
function [outputArg1,outputArg2] = example4()
%example4 calculates the gene deletion strategy for growth coupling
%for riboflavin in iML1515, using RC genes as the initial remaining gene set.
load('CBM_model/iML1515.mat');
model=iML1515;
%The RC gene set size is defaulted to be 267 in iML1515.
RC_gene_selector(iML1515,267);
initial_remaining_gene_pool = readtable('initial_remaining_gene/RC_genes_iML1515.csv', 'Delimiter', ',').Remaining_gene.';
% Start the timer
tic;
[gvalue,gr,pr,it,success]=DBgDel(model,'ribflv_c',50,0.1,0.1,initial_remaining_gene_pool);
% Stop the timer and display the elapsed time
elapsedTime = toc;
fprintf('Elapsed Time for RC_example4: %.2f seconds\n', elapsedTime);
[GR,PR]=GRPRchecker(model,'ribflv_c',gvalue)
save('RC_example4.mat');
end