Python utilities for CDAPS
Project description
CDAPS Python Utilities
Library that enables invocation of Community Detection APplication and Service algorithms via Python
Dependencies
Compatibility
Python 3.4+
Installation
git clone https://github.com/idekerlab/cdapsutil
cd cdapsutil
python setup.py install
Usage
Run Community Detection
import json
import cdapsutil
import ndex2
# Download BioGRID: Protein-Protein Interactions (SARS-CoV) from NDEx
client = ndex2.client.Ndex2()
client_resp = client.get_network_as_cx_stream('669f30a3-cee6-11ea-aaef-0ac135e8bacf')
net_cx = ndex2.create_nice_cx_from_raw_cx(json.loads(client_resp.content))
# Create CommunityDetection object
cd = cdapsutil.CommunityDetection()
# Run HiDeF on CDAPS REST service
hier_net = cd.run_community_detection(net_cx, algorithm='hidef')
Run Functional Enrichment
Coming soon…
Credits
This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.
History
0.2.0a1 (2021-03-30)
First release on PyPI.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
cdapsutil-0.2.0a1.tar.gz
(404.8 kB
view hashes)
Built Distribution
Close
Hashes for cdapsutil-0.2.0a1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | aaa9356b57d7af7ad4f5f04082eff128423e8a72710b63faad889ab99a74f46e |
|
MD5 | 79c6c0430a0d94e835c3e57b5eea5ce5 |
|
BLAKE2b-256 | fad550e2f62364f1d941003ea80ad4b2cfc2f07b7d72d4aad24192c943b724ae |