pyLoopSage 1.0.4__tar.gz → 1.0.5__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.
Files changed (22) hide show
  1. {pyloopsage-1.0.4 → pyloopsage-1.0.5}/PKG-INFO +1 -1
  2. {pyloopsage-1.0.4 → pyloopsage-1.0.5}/loopsage/__init__.py +1 -1
  3. {pyloopsage-1.0.4 → pyloopsage-1.0.5}/loopsage/args_definition.py +2 -2
  4. {pyloopsage-1.0.4 → pyloopsage-1.0.5}/loopsage/md.py +2 -2
  5. {pyloopsage-1.0.4 → pyloopsage-1.0.5}/pyLoopSage.egg-info/PKG-INFO +1 -1
  6. {pyloopsage-1.0.4 → pyloopsage-1.0.5}/setup.py +1 -1
  7. {pyloopsage-1.0.4 → pyloopsage-1.0.5}/LICENSE +0 -0
  8. {pyloopsage-1.0.4 → pyloopsage-1.0.5}/README.md +0 -0
  9. {pyloopsage-1.0.4 → pyloopsage-1.0.5}/loopsage/em.py +0 -0
  10. {pyloopsage-1.0.4 → pyloopsage-1.0.5}/loopsage/initial_structures.py +0 -0
  11. {pyloopsage-1.0.4 → pyloopsage-1.0.5}/loopsage/plots.py +0 -0
  12. {pyloopsage-1.0.4 → pyloopsage-1.0.5}/loopsage/preproc.py +0 -0
  13. {pyloopsage-1.0.4 → pyloopsage-1.0.5}/loopsage/run.py +0 -0
  14. {pyloopsage-1.0.4 → pyloopsage-1.0.5}/loopsage/stochastic_simulation.py +0 -0
  15. {pyloopsage-1.0.4 → pyloopsage-1.0.5}/loopsage/utils.py +0 -0
  16. {pyloopsage-1.0.4 → pyloopsage-1.0.5}/loopsage/vizualization_tools.py +0 -0
  17. {pyloopsage-1.0.4 → pyloopsage-1.0.5}/pyLoopSage.egg-info/SOURCES.txt +0 -0
  18. {pyloopsage-1.0.4 → pyloopsage-1.0.5}/pyLoopSage.egg-info/dependency_links.txt +0 -0
  19. {pyloopsage-1.0.4 → pyloopsage-1.0.5}/pyLoopSage.egg-info/entry_points.txt +0 -0
  20. {pyloopsage-1.0.4 → pyloopsage-1.0.5}/pyLoopSage.egg-info/requires.txt +0 -0
  21. {pyloopsage-1.0.4 → pyloopsage-1.0.5}/pyLoopSage.egg-info/top_level.txt +0 -0
  22. {pyloopsage-1.0.4 → pyloopsage-1.0.5}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pyLoopSage
3
- Version: 1.0.4
3
+ Version: 1.0.5
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
@@ -1,4 +1,4 @@
1
1
  # Importing specific functions or classes from submodules
2
2
  from .run import main
3
3
 
4
- __version__ = "1.0.4"
4
+ __version__ = "1.0.5"
@@ -153,8 +153,8 @@ args = ListOfArgs([
153
153
  Arg('FORCEFIELD_PATH', help="Path to XML file with forcefield.", type=str, default='forcefield/classic_sm_ff.xml', val='forcefield/classic_sm_ff.xml'),
154
154
  Arg('ANGLE_FF_STRENGTH', help="Angle force strength.", type=float, default='200.0', val='200.0'),
155
155
  Arg('LE_FF_LENGTH', help="Equillibrium distance of loop forces.", type=float, default='0.0', val='0.0'),
156
- Arg('LE_FF_STRENGTH', help="Equillibrium distance of loop forces.", type=float, default='300000.0', val='300000.0'),
156
+ Arg('LE_FF_STRENGTH', help="Equillibrium distance of loop forces.", type=float, default='30000.0', val='30000.0'),
157
157
  Arg('EV_FF_STRENGTH', help="Excluded-volume strength.", type=float, default='10.0', val='10.0'),
158
158
  Arg('TOLERANCE', help="Tolerance that works as stopping condition for energy minimization.", type=float, default='0.001', val='0.001'),
159
159
  Arg('SIM_STEP', help="This is the amount of simulation steps that are perform each time that we change the loop forces. If this number is too high, the simulation is slow, if is too low it may not have enough time to adapt the structure to the new constraints.", type=int, default='100', val='100'),
160
- ])
160
+ ])
@@ -16,7 +16,7 @@ from .utils import *
16
16
  from .initial_structures import *
17
17
 
18
18
  class MD_LE:
19
- def __init__(self,M,N,N_beads,burnin,MC_step,path,platform,angle_ff_strength=200,le_distance=0.1,le_ff_strength=300000.0,ev_ff_strength=10.0,tolerance=0.001):
19
+ def __init__(self,M,N,N_beads,burnin,MC_step,path,platform,angle_ff_strength=200,le_distance=0.1,le_ff_strength=30000.0,ev_ff_strength=10.0,tolerance=0.001):
20
20
  '''
21
21
  M, N (np arrays): Position matrix of two legs of cohesin m,n.
22
22
  Rows represent loops/cohesins and columns represent time
@@ -117,7 +117,7 @@ class MD_LE:
117
117
 
118
118
  def add_evforce(self):
119
119
  'Leonard-Jones potential for excluded volume'
120
- self.ev_force = mm.CustomNonbondedForce('epsilon*((sigma1+sigma2)/(r+r_small))^6')
120
+ self.ev_force = mm.CustomNonbondedForce('epsilon*(sigma1+sigma2)/(r+r_small)')
121
121
  self.ev_force.addGlobalParameter('epsilon', defaultValue=self.ev_ff_strength)
122
122
  self.ev_force.addGlobalParameter('r_small', defaultValue=0.01)
123
123
  self.ev_force.addPerParticleParameter('sigma')
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pyLoopSage
3
- Version: 1.0.4
3
+ Version: 1.0.5
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
@@ -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.0.4', # Version of the software
9
+ version='1.0.5', # 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