dynetan 2.2.2__tar.gz → 2.3.0__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.
- {dynetan-2.2.2 → dynetan-2.3.0}/PKG-INFO +2 -2
- {dynetan-2.2.2 → dynetan-2.3.0}/README.md +1 -1
- {dynetan-2.2.2 → dynetan-2.3.0}/docs/source/Tutorial.rst +1 -1
- {dynetan-2.2.2 → dynetan-2.3.0}/src/dynetan/gencor.py +7 -2
- {dynetan-2.2.2 → dynetan-2.3.0}/src/dynetan/proctraj.py +7 -7
- dynetan-2.3.0/src/dynetan/version.py +1 -0
- dynetan-2.2.2/src/dynetan/version.py +0 -1
- {dynetan-2.2.2 → dynetan-2.3.0}/.gitignore +0 -0
- {dynetan-2.2.2 → dynetan-2.3.0}/INSTALL.md +0 -0
- {dynetan-2.2.2 → dynetan-2.3.0}/LICENSE +0 -0
- {dynetan-2.2.2 → dynetan-2.3.0}/docs/Makefile +0 -0
- {dynetan-2.2.2 → dynetan-2.3.0}/docs/README.rst +0 -0
- {dynetan-2.2.2 → dynetan-2.3.0}/docs/make.bat +0 -0
- {dynetan-2.2.2 → dynetan-2.3.0}/docs/requirements.txt +0 -0
- {dynetan-2.2.2 → dynetan-2.3.0}/docs/source/Citing.rst +0 -0
- {dynetan-2.2.2 → dynetan-2.3.0}/docs/source/Figures/OMP-Render.png +0 -0
- {dynetan-2.2.2 → dynetan-2.3.0}/docs/source/Installation.rst +0 -0
- {dynetan-2.2.2 → dynetan-2.3.0}/docs/source/Introduction.rst +0 -0
- {dynetan-2.2.2 → dynetan-2.3.0}/docs/source/Reference.rst +0 -0
- {dynetan-2.2.2 → dynetan-2.3.0}/docs/source/Usage.rst +0 -0
- {dynetan-2.2.2 → dynetan-2.3.0}/docs/source/conf.py +0 -0
- {dynetan-2.2.2 → dynetan-2.3.0}/docs/source/index.rst +0 -0
- {dynetan-2.2.2 → dynetan-2.3.0}/pyproject.toml +0 -0
- {dynetan-2.2.2 → dynetan-2.3.0}/src/dynetan/__init__.py +0 -0
- {dynetan-2.2.2 → dynetan-2.3.0}/src/dynetan/contact.py +0 -0
- {dynetan-2.2.2 → dynetan-2.3.0}/src/dynetan/datastorage.py +0 -0
- {dynetan-2.2.2 → dynetan-2.3.0}/src/dynetan/network.py +0 -0
- {dynetan-2.2.2 → dynetan-2.3.0}/src/dynetan/toolkit.py +0 -0
- {dynetan-2.2.2 → dynetan-2.3.0}/src/dynetan/viz.py +0 -0
- {dynetan-2.2.2 → dynetan-2.3.0}/src/dynetan/vizmod/__init__.py +0 -0
- {dynetan-2.2.2 → dynetan-2.3.0}/src/dynetan/vizmod/community_RGB_colors.csv +0 -0
- {dynetan-2.2.2 → dynetan-2.3.0}/src/dynetan/vizmod/network_color.tcl +0 -0
- {dynetan-2.2.2 → dynetan-2.3.0}/src/dynetan/vizmod/network_menu.tcl +0 -0
- {dynetan-2.2.2 → dynetan-2.3.0}/src/dynetan/vizmod/network_proc.tcl +0 -0
- {dynetan-2.2.2 → dynetan-2.3.0}/src/dynetan/vizmod/network_rep.tcl +0 -0
- {dynetan-2.2.2 → dynetan-2.3.0}/src/dynetan/vizmod/network_view_2.tcl +0 -0
- {dynetan-2.2.2 → dynetan-2.3.0}/tests/__init__.py +0 -0
- {dynetan-2.2.2 → dynetan-2.3.0}/tests/conftest.py +0 -0
- {dynetan-2.2.2 → dynetan-2.3.0}/tests/test_contact.py +0 -0
- {dynetan-2.2.2 → dynetan-2.3.0}/tests/test_data/__init__.py +0 -0
- {dynetan-2.2.2 → dynetan-2.3.0}/tests/test_data/decarboxylase.0.psf +0 -0
- {dynetan-2.2.2 → dynetan-2.3.0}/tests/test_data/decarboxylase.1.short.dcd +0 -0
- {dynetan-2.2.2 → dynetan-2.3.0}/tests/test_data_storage.py +0 -0
- {dynetan-2.2.2 → dynetan-2.3.0}/tests/test_proctraj_cartesian.py +0 -0
- {dynetan-2.2.2 → dynetan-2.3.0}/tests/test_proctraj_checksys_selectsys.py +0 -0
- {dynetan-2.2.2 → dynetan-2.3.0}/tests/test_proctraj_contacts.py +0 -0
- {dynetan-2.2.2 → dynetan-2.3.0}/tests/test_proctraj_corr.py +0 -0
- {dynetan-2.2.2 → dynetan-2.3.0}/tests/test_proctraj_graph.py +0 -0
- {dynetan-2.2.2 → dynetan-2.3.0}/tests/test_proctraj_interface.py +0 -0
- {dynetan-2.2.2 → dynetan-2.3.0}/tests/test_proctraj_prepareNetwork.py +0 -0
- {dynetan-2.2.2 → dynetan-2.3.0}/tests/test_proctraj_set_get.py +0 -0
- {dynetan-2.2.2 → dynetan-2.3.0}/tests/test_toolkit.py +0 -0
- {dynetan-2.2.2 → dynetan-2.3.0}/tests/test_viz.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: dynetan
|
|
3
|
-
Version: 2.
|
|
3
|
+
Version: 2.3.0
|
|
4
4
|
Summary: A Python implementation for Dynamical Network Analysis.
|
|
5
5
|
Project-URL: Homepage, https://gitlab.com/comp-biochem-csu/dynetan
|
|
6
6
|
Project-URL: Bug Tracker, https://gitlab.com/comp-biochem-csu/dynetan/-/issues
|
|
@@ -29,7 +29,7 @@ Dynamical Network Analysis
|
|
|
29
29
|

|
|
30
30
|
[](https://pypi.org/project/dynetan/)
|
|
31
31
|
[](https://dynamical-network-analysis.readthedocs.io/en/latest/?badge=latest)
|
|
32
|
-
[](https://gitlab.com/comp-biochem-csu/dynetan/-/commits/master)
|
|
33
33
|
[](https://codecov.io/gl/comp-biochem-csu/dynetan)
|
|
34
34
|

|
|
35
35
|
|
|
@@ -4,7 +4,7 @@ Dynamical Network Analysis
|
|
|
4
4
|

|
|
5
5
|
[](https://pypi.org/project/dynetan/)
|
|
6
6
|
[](https://dynamical-network-analysis.readthedocs.io/en/latest/?badge=latest)
|
|
7
|
-
[](https://gitlab.com/comp-biochem-csu/dynetan/-/commits/master)
|
|
8
8
|
[](https://codecov.io/gl/comp-biochem-csu/dynetan)
|
|
9
9
|

|
|
10
10
|
|
|
@@ -14,5 +14,5 @@ deployed for execution in remote computer clusters.
|
|
|
14
14
|
For the latest version of the tutorial, download the
|
|
15
15
|
`tutorial files here <https://gitlab.com/comp-biochem-csu/dynetan_tutorial>`_
|
|
16
16
|
along with accompanying
|
|
17
|
-
`trajectory data here <https://
|
|
17
|
+
`trajectory data here <https://compbiochem.colostate.edu/public_data/dynetan_tutorial_data/decarboxylase.1.dcd>`_
|
|
18
18
|
(trajectory files are approximately 500MB in size).
|
|
@@ -56,6 +56,7 @@ def stand_vars_c(traj: npt.NDArray[np.float64],
|
|
|
56
56
|
|
|
57
57
|
|
|
58
58
|
def prep_mi_c(universe: MDAnalysis.Universe,
|
|
59
|
+
nodesAtmSel,
|
|
59
60
|
traj: npt.NDArray[np.float64],
|
|
60
61
|
beg: int,
|
|
61
62
|
end: int,
|
|
@@ -92,9 +93,13 @@ def prep_mi_c(universe: MDAnalysis.Universe,
|
|
|
92
93
|
# Copy trajectory
|
|
93
94
|
for frame_index, ts in enumerate(universe.trajectory[beg:end]):
|
|
94
95
|
|
|
95
|
-
for
|
|
96
|
+
for node_index in range(num_nodes):
|
|
97
|
+
|
|
98
|
+
# Convert atom index in MDanalysis universe to node index in Dynetan
|
|
99
|
+
atm_index = int(nodesAtmSel[node_index].index)
|
|
100
|
+
|
|
96
101
|
for dim in range(num_dims):
|
|
97
|
-
traj[
|
|
102
|
+
traj[node_index, dim, frame_index] = ts.positions[atm_index, dim]
|
|
98
103
|
|
|
99
104
|
stand_vars_c(traj, num_nodes, num_dims)
|
|
100
105
|
|
|
@@ -1679,7 +1679,7 @@ class DNAproc:
|
|
|
1679
1679
|
traj.fill(0)
|
|
1680
1680
|
|
|
1681
1681
|
# Prepares data for fast calculation of the current window.
|
|
1682
|
-
gc.prep_mi_c(self.workU, traj, beg, end, self.numNodes, num_dims)
|
|
1682
|
+
gc.prep_mi_c(self.workU, self.nodesAtmSel, traj, beg, end, self.numNodes, num_dims)
|
|
1683
1683
|
|
|
1684
1684
|
if ncores == 1:
|
|
1685
1685
|
|
|
@@ -1687,13 +1687,13 @@ class DNAproc:
|
|
|
1687
1687
|
print("- > Using single-core implementation.")
|
|
1688
1688
|
|
|
1689
1689
|
# Iterates over all pairs of nodes that are in contact.
|
|
1690
|
-
for
|
|
1690
|
+
for node_list in self.progBar(pair_array,
|
|
1691
1691
|
desc="Contact Pair",
|
|
1692
1692
|
leave=False,
|
|
1693
1693
|
ascii=self.asciiMode):
|
|
1694
1694
|
|
|
1695
1695
|
# Calls the Numba-compiled function.
|
|
1696
|
-
mir = gc.calc_mir_numba_2var(traj[
|
|
1696
|
+
mir = gc.calc_mir_numba_2var(traj[node_list, :, :],
|
|
1697
1697
|
win_len,
|
|
1698
1698
|
num_dims,
|
|
1699
1699
|
self.kNeighb,
|
|
@@ -1702,8 +1702,8 @@ class DNAproc:
|
|
|
1702
1702
|
|
|
1703
1703
|
corr = gc.mir_to_corr(mir)
|
|
1704
1704
|
|
|
1705
|
-
self.corrMatAll[winIndx,
|
|
1706
|
-
self.corrMatAll[winIndx,
|
|
1705
|
+
self.corrMatAll[winIndx, node_list[0], node_list[1]] = corr
|
|
1706
|
+
self.corrMatAll[winIndx, node_list[1], node_list[0]] = corr
|
|
1707
1707
|
|
|
1708
1708
|
else:
|
|
1709
1709
|
|
|
@@ -1715,8 +1715,8 @@ class DNAproc:
|
|
|
1715
1715
|
results_queue: queue.Queue = mp.Queue()
|
|
1716
1716
|
|
|
1717
1717
|
# Loads the node pairs in the input queue
|
|
1718
|
-
for
|
|
1719
|
-
data_queue.put(
|
|
1718
|
+
for node_list in pair_array:
|
|
1719
|
+
data_queue.put(node_list)
|
|
1720
1720
|
|
|
1721
1721
|
# Creates processes.
|
|
1722
1722
|
procs = []
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "2.3.0"
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "2.2.2"
|
|
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
|
|
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
|
|
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
|