pyLoopSage 1.1.0__tar.gz → 1.1.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {pyloopsage-1.1.0/pyLoopSage.egg-info → pyloopsage-1.1.1}/PKG-INFO +2 -2
- {pyloopsage-1.1.0 → pyloopsage-1.1.1}/README.md +1 -1
- {pyloopsage-1.1.0 → pyloopsage-1.1.1}/loopsage/__init__.py +1 -1
- {pyloopsage-1.1.0 → pyloopsage-1.1.1}/loopsage/stochastic_simulation.py +6 -6
- {pyloopsage-1.1.0 → pyloopsage-1.1.1/pyLoopSage.egg-info}/PKG-INFO +2 -2
- {pyloopsage-1.1.0 → pyloopsage-1.1.1}/setup.py +1 -1
- {pyloopsage-1.1.0 → pyloopsage-1.1.1}/LICENSE +0 -0
- {pyloopsage-1.1.0 → pyloopsage-1.1.1}/MANIFEST.in +0 -0
- {pyloopsage-1.1.0 → pyloopsage-1.1.1}/loopsage/args_definition.py +0 -0
- {pyloopsage-1.1.0 → pyloopsage-1.1.1}/loopsage/em.py +0 -0
- {pyloopsage-1.1.0 → pyloopsage-1.1.1}/loopsage/forcefields/classic_sm_ff.xml +0 -0
- {pyloopsage-1.1.0 → pyloopsage-1.1.1}/loopsage/initial_structures.py +0 -0
- {pyloopsage-1.1.0 → pyloopsage-1.1.1}/loopsage/md.py +0 -0
- {pyloopsage-1.1.0 → pyloopsage-1.1.1}/loopsage/plots.py +0 -0
- {pyloopsage-1.1.0 → pyloopsage-1.1.1}/loopsage/preproc.py +0 -0
- {pyloopsage-1.1.0 → pyloopsage-1.1.1}/loopsage/run.py +0 -0
- {pyloopsage-1.1.0 → pyloopsage-1.1.1}/loopsage/utils.py +0 -0
- {pyloopsage-1.1.0 → pyloopsage-1.1.1}/loopsage/vizualization_tools.py +0 -0
- {pyloopsage-1.1.0 → pyloopsage-1.1.1}/pyLoopSage.egg-info/SOURCES.txt +0 -0
- {pyloopsage-1.1.0 → pyloopsage-1.1.1}/pyLoopSage.egg-info/dependency_links.txt +0 -0
- {pyloopsage-1.1.0 → pyloopsage-1.1.1}/pyLoopSage.egg-info/entry_points.txt +0 -0
- {pyloopsage-1.1.0 → pyloopsage-1.1.1}/pyLoopSage.egg-info/requires.txt +0 -0
- {pyloopsage-1.1.0 → pyloopsage-1.1.1}/pyLoopSage.egg-info/top_level.txt +0 -0
- {pyloopsage-1.1.0 → pyloopsage-1.1.1}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: pyLoopSage
|
|
3
|
-
Version: 1.1.
|
|
3
|
+
Version: 1.1.1
|
|
4
4
|
Summary: An energy-based stochastic model of loop extrusion in chromatin.
|
|
5
5
|
Home-page: https://github.com/SFGLab/pyLoopSage
|
|
6
6
|
Author: Sebastian Korsak
|
|
@@ -313,7 +313,7 @@ An example, illustrated with Chimera software, simulated trajectory of structure
|
|
|
313
313
|
| CROSS_COEFF | LEF crossing coefficient. | float | 1.0 |
|
|
314
314
|
| CROSS_LOOP | True if the penalty is applied when mi<mj<ni<nj. False if it applies only when mj=ni. When false it is better to enable LEF_DRIFT as well. | bool |True |
|
|
315
315
|
| BIND_COEFF | CTCF binding coefficient. | float | 1.0 |
|
|
316
|
-
| BW_STRENGTHS | List of strengths corresponding to each
|
|
316
|
+
| BW_STRENGTHS | List of strengths of the energy (floats) corresponding to each BW file. This equivalent to the `r` parameter in the LoopSage paper. | list | None |
|
|
317
317
|
|
|
318
318
|
#### Molecular Dynamics Simulation
|
|
319
319
|
| Argument Name | Description | Type | Default Value |
|
|
@@ -267,7 +267,7 @@ An example, illustrated with Chimera software, simulated trajectory of structure
|
|
|
267
267
|
| CROSS_COEFF | LEF crossing coefficient. | float | 1.0 |
|
|
268
268
|
| CROSS_LOOP | True if the penalty is applied when mi<mj<ni<nj. False if it applies only when mj=ni. When false it is better to enable LEF_DRIFT as well. | bool |True |
|
|
269
269
|
| BIND_COEFF | CTCF binding coefficient. | float | 1.0 |
|
|
270
|
-
| BW_STRENGTHS | List of strengths corresponding to each
|
|
270
|
+
| BW_STRENGTHS | List of strengths of the energy (floats) corresponding to each BW file. This equivalent to the `r` parameter in the LoopSage paper. | list | None |
|
|
271
271
|
|
|
272
272
|
#### Molecular Dynamics Simulation
|
|
273
273
|
| Argument Name | Description | Type | Default Value |
|
|
@@ -154,12 +154,12 @@ def slide(m_old, n_old, ms, ns, N_beads, rw=True, drift=True):
|
|
|
154
154
|
choices = np.array([-1, 1], dtype=np.int64)
|
|
155
155
|
r1 = np.random.choice(choices) if rw else -1
|
|
156
156
|
r2 = np.random.choice(choices) if rw else 1
|
|
157
|
-
m_new = m_old + r1
|
|
158
|
-
if np.any(ns==m_new) and drift and m_old-r1<n_old-1:
|
|
159
|
-
m_new =
|
|
160
|
-
n_new = n_old + r2
|
|
161
|
-
if np.any(ms==n_new) and drift and n_old-r2>m_old+1:
|
|
162
|
-
n_new =
|
|
157
|
+
m_new = max(m_old + r1, 0)
|
|
158
|
+
if np.any(ns == m_new) and drift and m_old - r1 < n_old - 1:
|
|
159
|
+
m_new = max(m_old - r1, 0)
|
|
160
|
+
n_new = min(n_old + r2, N_beads - 1)
|
|
161
|
+
if np.any(ms == n_new) and drift and n_old - r2 > m_old + 1:
|
|
162
|
+
n_new = min(n_old - r2, N_beads - 1)
|
|
163
163
|
return int(m_new), int(n_new)
|
|
164
164
|
|
|
165
165
|
@njit
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: pyLoopSage
|
|
3
|
-
Version: 1.1.
|
|
3
|
+
Version: 1.1.1
|
|
4
4
|
Summary: An energy-based stochastic model of loop extrusion in chromatin.
|
|
5
5
|
Home-page: https://github.com/SFGLab/pyLoopSage
|
|
6
6
|
Author: Sebastian Korsak
|
|
@@ -313,7 +313,7 @@ An example, illustrated with Chimera software, simulated trajectory of structure
|
|
|
313
313
|
| CROSS_COEFF | LEF crossing coefficient. | float | 1.0 |
|
|
314
314
|
| CROSS_LOOP | True if the penalty is applied when mi<mj<ni<nj. False if it applies only when mj=ni. When false it is better to enable LEF_DRIFT as well. | bool |True |
|
|
315
315
|
| BIND_COEFF | CTCF binding coefficient. | float | 1.0 |
|
|
316
|
-
| BW_STRENGTHS | List of strengths corresponding to each
|
|
316
|
+
| BW_STRENGTHS | List of strengths of the energy (floats) corresponding to each BW file. This equivalent to the `r` parameter in the LoopSage paper. | list | None |
|
|
317
317
|
|
|
318
318
|
#### Molecular Dynamics Simulation
|
|
319
319
|
| Argument Name | Description | Type | Default Value |
|
|
@@ -6,7 +6,7 @@ with open('README.md', 'r', encoding='utf-8') as f:
|
|
|
6
6
|
|
|
7
7
|
setup(
|
|
8
8
|
name='pyLoopSage', # Package name
|
|
9
|
-
version='1.1.
|
|
9
|
+
version='1.1.1', # Version of the software
|
|
10
10
|
description='An energy-based stochastic model of loop extrusion in chromatin.',
|
|
11
11
|
long_description=long_description,
|
|
12
12
|
long_description_content_type='text/markdown',
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|