Giter Club home page Giter Club logo

pydab's Introduction

pydab

A blazingly fast Python package for modifying and converting DAB files

Installation

pip install pydab

Alternatively, install the latest dev version from github

pip install git+https://github.com/krishnanlab/pydab

Quick start

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

Some up-coming features

  • DAT -> DAB
  • Export to .npz dense array
  • Export to .npz CSR (directly supported by PecanPy)
  • More

pydab's People

Contributors

remylau avatar dependabot[bot] avatar pre-commit-ci[bot] avatar

Stargazers

Tim O'Guin avatar Hao Yuan avatar  avatar

Watchers

Arjun Krishnan avatar  avatar

pydab's Issues

Save as csr numpy array `.csr.npz`

  • Directly supported by PecanPy
  • Make compatible with scipy.csr, which has the following fields
    • indices (same as in pecanpy csr, but int32, instead of uint32)
    • indptr (same as in pecanpy csr, but in int32, instead of uint32)
    • data (same as in pecanpy csr, but in float64, instead of float32)
    • format -> array(b'csr', dtype='|S3')
    • shape -> n x n, int type

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.