🌶️ An ecosystem in Python for working with the Biological Expression Language (BEL)
Full Changelog: https://github.com/pybel/pybel/compare/v0.15.4...v0.15.5
pybel.BELGraph.transitivities
(https://github.com/pybel/pybel/issues/490).pybel.to_triples
allows direct export of ML-ready triples to a numpy ndarray.pybel.parse
function allows for quick parsing of BEL stringspybel.to_tsv
renamed to pybel.to_triples_file
namespace
/identifier
/name
instead
of db
/db_id
. The corresponding constants pybel.constants.CITATION_DB
/pybel.constants.CITATION_DB_ID
/
pybel.constants.CITATION_DB_NAME
have been removed (https://github.com/pybel/pybel/pull/453).pybel.language.Entity
, which means empty strings are
no longer allowed.subject
/source
as well as object
/target
has been normalized everywhere.
This means the constants pybel.constants.SUBJECT
/pybel.constants.OBJECT
were removed and
new constants pybel.constants.SOURCE_MODIFIER
/pybel.constants.TARGET_MODIFIER
were added
(https://github.com/pybel/pybel/pull/453).pickle5
backport on Python 3.6 (https://github.com/pybel/pybel/commit/679dcab7)pybel.to_jupyter
(4d76faad)pybel.struct.filters
and pybel.struct.mutation
- some imports might have to be updatedpybel.post_graphdati()
has been renamed to pybel.to_biodati()
pybel.to_web()
has been renamed to pybel.to_bel_commons()
pybel.from_web()
has been renamed to pybel.from_bel_commons()
pybel.from_graphdati()
and pybel.from_graphdati()
and enable usage of respective extensions *.bel.graphdati.json
and *.bel.graphdati.json.gz
with
pybel.load()
(https://github.com/pybel/pybel/pull/425)pybel.from_biodati()
(https://github.com/pybel/pybel/pull/425)pybel.from_cbn_jgif_file()
pybel.grounding.ground()
function that uses the unlisted Python 3.7+ dependency, ``pyobo```
to ground/normalize entities in a given BEL graph. This also takes care of upgrading legacy namespace
names and mapping SCOMP/SFAM via FamPlex. (https://github.com/pybel/pybel/pull/426)