Commit c42d2e17 authored by St. Elmo's avatar St. Elmo
Browse files

coded

parent 79795b2b
......@@ -8,6 +8,8 @@ Gurobi = "2e9cd046-0924-5485-92f1-d5272153d98b"
JSON = "682c06a0-de6a-54ab-a142-c8b1cf79cde6"
JuMP = "4076af6c-e467-56ae-b986-b466b2749572"
MATLAB = "10e44e05-a98a-55b3-a45b-ba969058deb6"
Revise = "295af30f-e4ad-537b-8983-00126c2a3abe"
SparseArrays = "2f01184e-e22b-5df5-ae63-d93ebab69eaf"
[compat]
julia = "1.5"
\ No newline at end of file
using Revise
include("CobraTools.jl")
\ No newline at end of file
# CobraTools
This is package aims to provide basic constraint based reconstruction analysis (COBRA) tools in the Julia environment
\ No newline at end of file
This is package aims to provide basic constraint based reconstruction analysis (COBRA) tools in the Julia environment.
\ No newline at end of file
......@@ -3,8 +3,18 @@ module Cobra
using SparseArrays
using JuMP
"""
Model fields define the basic information necessary to run analysis tools
"""
struct Model
S ::
S :: SparseMatrixCSC{Float64,Int64} # stoichiometric matrix
b :: SparseVector{Float64,Int64} # mass balance rhs
lb :: Array{Float64, 1} # reaction lower bounds
ub :: Array{Float64, 1} # rxn upper bounds
rxns :: Array{String, 1} # reactions
mets :: Array{String, 1} # metabolites
grrs :: # gene-reaction-rules
end
end
\ No newline at end of file
module CobraTools
include("Cobra.jl")
include("parsemodels.jl")
end # module
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment