A blazingly fast Python package for modifying and converting DAB files
pip install pydab
Alternatively, install the latest dev version from github
pip install git+https://github.com/krishnanlab/pydab
Convert a DAB file to a DAT file, i.e., tab separated edgelist file with three columns.
Gene1 Gene2 Weight12
Gene1 Gene3 Weight13
...
To convert a DAB file data.dab
into data.dat
, simply run
pydab -i data.dab -o data.dat
- DAT -> DAB
- Export to
.npz
dense array - Export to
.npz
CSR (directly supported by PecanPy) - More