Skip to main content

Selventa Large and Small Corpora via PyBEL

Project description

Updated versions of the Selventa Small and Large Corpus

Licenses

  • Code in this repository is licensed under the MIT License

  • Both the Selvanta Small Corpus and Selventa Large Corpus are distributed under the Creative Commons Attribution-Non-Commercial-ShareAlike 3.0 Unported License.

Installation

selventa_knowledge can be installed from PyPI with:

$ pip install selventa-knowledge

selventa_knowledge can be installed from GitHub with:

$ pip install git+https://github.com/cthoyt/selventa-knowledge.git

Usage

The combine graph can be loaded with:

>>> import selventa_knowledge
>>> graph = selventa_knowledge.get_graph()

If you need granularity, you can load each graph in a dictionary where all of the names of the files creating each graph are the keys and the values are also BEL graphs with:

>>> import selventa_knowledge
>>> graphs = selventa_knowledge.get_graphs()

The functions from each of the previous examples are simply exposing the bound functions from the BELRepository object, which can be accessed with:

>>> import selventa_knowledge
>>> repository = selventa_knowledge.repository

If you want to use this knowledge with INDRA, there’s a method:

>>> import selventa_knowledge
>>> statements = selventa_knowledge.repository.get_indra_statements()

More BEL Content

See A Listing of Publicly Available Content in the Biological Expression Language (BEL) on Charles Tapley Hoyt’s blog for more BEL content.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

selventa_knowledge-1.1.1.tar.gz (3.8 kB view details)

Uploaded Source

Built Distribution

selventa_knowledge-1.1.1-py3-none-any.whl (4.3 kB view details)

Uploaded Python 3

File details

Details for the file selventa_knowledge-1.1.1.tar.gz.

File metadata

  • Download URL: selventa_knowledge-1.1.1.tar.gz
  • Upload date:
  • Size: 3.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/51.0.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.1

File hashes

Hashes for selventa_knowledge-1.1.1.tar.gz
Algorithm Hash digest
SHA256 9916873ab176c7649e184ae1753c48be85aebc4961faa8340cd1bbbccad44e1f
MD5 f65f220c9ebf4d08f720640e7e3adc6a
BLAKE2b-256 d75167f315e2c192ffcffc9b348b369d1a6a2f17c06d61cd0ea09b8267d48d05

See more details on using hashes here.

Provenance

File details

Details for the file selventa_knowledge-1.1.1-py3-none-any.whl.

File metadata

  • Download URL: selventa_knowledge-1.1.1-py3-none-any.whl
  • Upload date:
  • Size: 4.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/51.0.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.1

File hashes

Hashes for selventa_knowledge-1.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 5d93177e3889b81f8b39f1d21de184cb862b34b9a3c4e5b39b870391e916e2c9
MD5 972de879e144ef96e7e5bbcdad29b627
BLAKE2b-256 77caa29ada5a3232efb974ace53e8732b1f136baa7d113843ab0c2708ac22532

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page