Processors for knowledge input (indra.sources)

INDRA interfaces with and draws knowledge from many sources including reading systems (some that extract biological mechanisms, and some that extract general causal interactions from text) and also from structured databases, which are typically human-curated or derived from experimental data.

Reading Systems

Molecular Pathway Databases

Chemical Information Databases

Custom Knowledge Bases

Utilities

Processor for remote INDRA JSON files.

class indra.sources.utils.Processor[source]

A base class for processors.

classmethod cli()[source]

Run the CLI for this processor.

Return type

None

extract_statements()[source]

Extract statements from the remote JSON file.

Return type

List[Statement]

classmethod get_cli()[source]

Get the CLI for this processor.

Return type

Command

class indra.sources.utils.RemoteProcessor(url)[source]

A processor for INDRA JSON file to be retrieved by URL.

Parameters

url (str) – The URL of the INDRA JSON file to load

extract_statements()[source]

Extract statements from the remote JSON file.

Return type

List[Statement]

print_summary()[source]

Print a summary of the statements.

Return type

None

property statements: List[Statement]

The extracted statements.

url: str

The URL of the data