Skip to content

Commit 9a63334

Browse files
authored
Merge pull request #191 from CovertLab/final_sims
Whole-colony modeling paper
2 parents 354f29e + d4c363c commit 9a63334

File tree

108 files changed

+46181
-11504
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

108 files changed

+46181
-11504
lines changed
File renamed without changes.
File renamed without changes.
File renamed without changes.

ecoli/experiments/marA_binding/get_TU_ID.py renamed to data/marA_binding/get_TU_ID.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ def main():
2626

2727

2828
# Use fold change from exposure to 1.5 mg/L tetracycline
29-
tet_FC = pd.read_table("ecoli/experiments/marA_binding/tet_FC.tsv")
29+
tet_FC = pd.read_table("data/marA_binding/tet_FC.tsv")
3030
tet_FC = tet_FC.loc[:,["Gene Name ", "1.5 mg/L tet."]]
3131
tet_FC.rename(columns={
3232
"Gene Name ": "Gene name", "1.5 mg/L tet.": "Fold change"}, inplace=True)
@@ -49,7 +49,7 @@ def main():
4949
# Delete these two duplicates that are the incorrect genes
5050
model_degenes = model_degenes.loc[~((model_degenes['Gene name']=="acrE") & (model_degenes['common_name']=='acrB'))]
5151
model_degenes = model_degenes.loc[~((model_degenes['Gene name']=="acrB") & (model_degenes['common_name']=='gyrB'))]
52-
with open("ecoli/experiments/marA_binding/TU_id_to_index.json") as f:
52+
with open("data/marA_binding/TU_id_to_index.json") as f:
5353
TU_id_to_index = json.load(f)
5454

5555
# Get model RNAs names by appending the "[c]" suffix, then get TU index for RNA
@@ -62,8 +62,8 @@ def main():
6262

6363
# Include complexes
6464
# These numpy arrays were saved directly from complexation sim data
65-
comp_stoich = np.load('ecoli/experiments/marA_binding/complexation_stoich.npy')
66-
comp_molecules = np.load('ecoli/experiments/marA_binding/complexation_molecules.npy')
65+
comp_stoich = np.load('data/marA_binding/complexation_stoich.npy')
66+
comp_molecules = np.load('data/marA_binding/complexation_molecules.npy')
6767
comp_rxns = pd.DataFrame(comp_stoich, columns=comp_molecules)
6868

6969
def recursive_search(complex_name, monomers_used):
@@ -140,7 +140,7 @@ def get_IDs(monomer_id):
140140
marR_monomers_used.append(-2)
141141

142142
model_degenes.to_csv(
143-
"ecoli/experiments/marA_binding/model_degenes.csv", index=False)
143+
"data/marA_binding/model_degenes.csv", index=False)
144144

145145
if __name__=="__main__":
146146
main()
File renamed without changes.

data/overrides/reduced_murein.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
{
22
"bulk": {
3-
"CPD-12261[p]": 450000
3+
"CPD-12261[p]": 558735
44
},
55
"murein_state": {
66
"shadow_murein": 0,
7-
"unincorporated_murein": 1800000,
7+
"unincorporated_murein": 2234940,
88
"incorporated_murein": 0
99
},
1010
"wall_state": {

data/subgen_gene_plots/generate_plots.py

Lines changed: 0 additions & 133 deletions
This file was deleted.

0 commit comments

Comments
 (0)