https://github.com/pietrocinaglia/dante
DANTE is a software tool for pairwise alignment of dynamic networks. It computes the topological node similarities via temporal embedding.
https://github.com/pietrocinaglia/dante
alignment biological-networks dynamic-network-embedding dynamic-networks embeddings network-alignment network-embedding temporal-networks
Last synced: 7 months ago
JSON representation
DANTE is a software tool for pairwise alignment of dynamic networks. It computes the topological node similarities via temporal embedding.
- Host: GitHub
- URL: https://github.com/pietrocinaglia/dante
- Owner: pietrocinaglia
- License: mit
- Created: 2022-08-22T09:50:55.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-08-01T16:37:30.000Z (about 2 years ago)
- Last Synced: 2025-01-13T21:09:04.244Z (9 months ago)
- Topics: alignment, biological-networks, dynamic-network-embedding, dynamic-networks, embeddings, network-alignment, network-embedding, temporal-networks
- Homepage:
- Size: 524 KB
- Stars: 1
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## DynAmic Networks alignment based on Temporal Embeddings (DANTE)
DANTE is a software tool for the alignment of dynamic networks based on temporal embedding.
It was developed based on the method published on the journal paper titled "A Method Based on Temporal Embedding for the Pairwise Alignment of Dynamic Networks" (reference is reported below).
We tested DANTE on macOS Monterey (12.4), with CPU Intel.
This is an extension of our preliminary prototype (version 1).
### Reference - Cite DANTE (version 2, or DANTEv2)
Cinaglia P, Cannataro M. A Method Based on Temporal Embedding for the Pairwise Alignment of Dynamic Networks. Entropy. 2023; 25(4):665. https://doi.org/10.3390/e25040665
#### Full-Text paper (Open-Access, Free PDF)
https://www.mdpi.com/1099-4300/25/4/665#### Bibtex format:
@Article{dante2023,
AUTHOR = {Cinaglia, Pietro and Cannataro, Mario},
TITLE = {A Method Based on Temporal Embedding for the Pairwise Alignment of Dynamic Networks},
JOURNAL = {Entropy},
VOLUME = {25},
YEAR = {2023},
NUMBER = {4},
ARTICLE-NUMBER = {665},
URL = {https://www.mdpi.com/1099-4300/25/4/665},
ISSN = {1099-4300},
DOI = {10.3390/e25040665}
}
### Requirements
DANTE needs Python >= 3.9, and the packages listed into 'requirements.txt'. The latter may be installed automatically by using [Python Package Installer (pip)](https://pip.pypa.io/en/stable/):```
pip3 install -r requirements.txt
```or (alias: pip=pip3):
```
pip install -r requirements.txt
```
### Run the example
You may use the dataset included into this repository ('example'), for demonstration purposes only, as follows:
```
./DANTE example/dnet1/DN1 example/dnet2/DN2 example_alignment
```
This dataset consists of two dynamic networks (dnet1 and dnet2).
- dnet1: 10 nodes, 10 time points.
- dnet2: 20 nodes, 10 time points.The command will execute DANTE to produce the alignment ('example_alignment').
Summary:
- 'example/dnet1': dnet1 (format in DANTE);
- 'example/dnet2': dnet2 (format in DANTE);
- 'example/dnet1.dy': dnet1 (format in DynaMAGNA++);
- 'example/dnet2.dy': dnet2 (format in DynaMAGNA++);
- 'example/results/DANTE': alignment (dnet1 on dnet2) produced by DANTE;
- 'example/results/DynaMAGNA++': alignment (dnet1 on dnet2) produced by DynaMAGNA++.
### Help
DANTE may be used as shell-command, or through its own Command Line Interface (CLI).Arguments (arg):
1) Path of Dynamic Network_1 (G) *
2) Path of Dynamic Network_2 (H) *
3) Output's filename [Default: output]
4) (only CLI) Delimiter for data parsing [Default: space]Run as shell-command:
```
./DANTE arg1 arg2 arg3
```Run the CLI:
```
./DANTE
```**Escaping spaces with backslash, in according to Linux/Unix Shell. For instance, /user1/my samples\s1 becomes /user1/my\ samples\s1*
Data is structured as edge list, one for each time point. To give an example, dnet1 consisting of 10 time points will have the following files inside a directory of the same name: DN11, DN12, DN13, DN1..., DN110.
### MIT License
Copyright (c) 2023
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.