CovertLab / wcEcoli

Whole Cell Model of E. coli
Other
18 stars 3 forks source link

need a little cleanup and docs on variants #330

Open 1fish2 opened 5 years ago

1fish2 commented 5 years ago
EndoKcatFullRNA  # inaccessible
allShuffleParams
anaerobic
catalystShuffleParams
condition
gene_knockout
kineticCatalystShuffleParams
kineticTargetShuffleParams
kineticsConstraints
meneParams
metabolism_kinetic_objective_weight
metabolism_target_range
monomerDegRateShuffleParams
nutrientTimeSeries
nutrient_time_series_downshift
rnaDegRateShuffleParams  # inaccessible
scaling_factor
starvation_variant
tf_activity
time_step
transcriptionInitiationShuffleParams
translationEfficienciesShuffleParams
wildtype
tahorst commented 5 years ago

Most of these have fallen out of step with the actual code. I think we can remove a fair number and should probably think about having a quick jenkins build to test any we want to keep.

It would also be useful to standardize the notation to underscore_function_names. There are a few files with underscores but the functions are camel case so to properly run the variant, you would need to set VARIANT=tfActivity for the python fw_queue.py call even though the variant file is named tf_activity.py. I think it creates some confusion with the mixed standard and moving forward we should use underscore based on our style guidelines.

Variants to remove:

Variants to update:

Additionally, all of the *ShuffleParams variants could probably be removed. We really only added it for a figure in the old version of the paper. Removing this would also require cleaning up some additional code in process files and analysis files.

meneParams and metabolism_kinetic_objective_weight were used in the paper and might have limited utility moving forward (metabolism_kinetic_objective_weight could probably still be useful for future debugging). tf_activity is also probably only useful for debugging.

That means that the only really useful variants at this point are wildtype and condition which are both tested with Jenkins. I agree that we can add some docstrings to the ones we keep and can describe the useful indices and the intentions of the variant in those docstrings.