Bio2BEL HSDN

Converts the human symptoms-disease network produced by Zhou and Himmelstein to BEL.

Manager for Bio2BEL HSDN.

class bio2bel_hsdn.manager.Manager(*args, **kwargs)[source]

Disease-symptom associations.

count_diseases()[source]

Count the diseases in the database.

Return type

int

count_relations()[source]

Count the number of relations in the database.

Return type

int

count_symptoms()[source]

Count the symptoms in the database.

Return type

int

static is_populated()[source]

Check if the Bio2BEL HSDN database is populated.

Return type

bool

populate()[source]

Populate the Bio2BEL HSDN database.

Return type

None

summarize()[source]

Summarize the contents of the Bio2BEL HSDN database.

Return type

Mapping[str, int]

to_bel()[source]

Convert the HSDN to BEL.

Return type

BELGraph

SQLAlchemy models for Bio2BEL HSDN.

class bio2bel_hsdn.models.Base(**kwargs)

The most base type

bio2bel_hsdn

Default connection at None

using Bio2BEL v0.2.1

bio2bel_hsdn [OPTIONS] COMMAND [ARGS]...

Options

-c, --connection <connection>

Defaults to None

bel

Manage BEL.

bio2bel_hsdn bel [OPTIONS] COMMAND [ARGS]...

upload

Upload BEL to network store.

bio2bel_hsdn bel upload [OPTIONS]

Options

-c, --connection <connection>

write

Write as BEL Script.

bio2bel_hsdn bel write [OPTIONS]

Options

-o, --output <output>