- Ssh into sherlock. Clone this repository using
git clone. Runml python/3.6.1. - Run a parallelized simulation using the following command:
python parallel_simulation.py n_runs simulation_type.n_runsindicates how many jobs you want to submit or how many times you want to run the simulation.simulation_typeindicates what to run, whether the baseline simulation, indicated withsimulationpassed in (or a variation with different motif affinity such assimulation_mutatedorsimulation_strong), or a sensitivity analysis, which can be one of the following:n_flanks,core_affinity,koff_slope,koff_intercept,n_TF,switching_ratio,diffusion,DNA_concentration,local_volume. For each analysis you do, make sure to create a folder titled with thesimulation_typeyou are calling as well as a folder titledsimulation_outputwithin it. In addition, create a folder titledtxt_outputwhich is where the outputs from all the jobs will be saved so that you can track jobs or see any errors. There are also a few simulation types that are intended to run locally and do not require parallelization. These aremfpt_simulation, which runs a simulation of just MFPT,one_simulation, which runs one simulation with repeat and random values and plots example single molecule traces, andsteady_state, which attempts to calculate the steady state of your system. - Check on the status, whether the jobs finished and if there were any errors by calling
cat txt_output/*. You can also usesqueue -u suidto check on whether or not jobs are running. - Process a simulation using the following command:
python3 process.py n_runs simulation_type. Alternatively, create a directory called download and then you can process all simulations and copy the output plot to that directory using the command:python3 process.sh.
-
Notifications
You must be signed in to change notification settings - Fork 0
juliaschaepe/STR_kinetics
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published
