-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #15 from mirnylab/extrusion_MI_2
Extrusion mi 2
- Loading branch information
Showing
8 changed files
with
2,839 additions
and
938 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
This example contains a draft of a new extrusion simulation code. | ||
|
||
Now we separate extrusion code into two parts: 1D part that records a trajctory, and a 3D part that does a simulation | ||
|
||
We have two 1D parts: | ||
|
||
* extrusion_1D_translocator.ipynb - an old code using "SMCTranslocator" class | ||
* extrusion_1D_newCode.ipynb - a draft of a new code using pure python | ||
|
||
Two 1D simulations are different, use different methodology, and are not intended to be the same. | ||
|
||
Old 1D simulation uses CTCFs that capture LEF with some probability and never release it. | ||
New 1D simulation uses CTCFs that capture and release LEF with some probability. | ||
Thus, new 1D simulation is more general than the old 1D code. | ||
|
||
What is new for both 1D simulations is that they both simulate 10 copies of a 4000-monomer system. | ||
This is done to speed up simulations: simulations of a 4000-monomer system go not much faster than simulations | ||
of a 40,000 monomer system, but in the latter case we get 10 times more statistics. | ||
It is generally advisable to simulate systems with at least 20,000 monomers to get the most out of the GPU. | ||
|
||
3D simulation uses a trajectory recorded by one of the 1D parts (it is saved into folder "trajectory" by either of them) | ||
It then performs a 3D simulation and puts it in the same folder | ||
|
||
sample_contactmap.ipynb notebook shows an example of how to generate a contactmap. |
Oops, something went wrong.