PathwayCommons / factoid

A project to capture biological pathway data from academic papers
https://biofactoid.org
MIT License
27 stars 7 forks source link

Factoid

DOI License

Biofactoid (biofactoid.org), is a web-based system that empowers authors to capture and share machine-readable summaries of molecular-level interactions described in their publications.

Biofactoid's codebase is licensed under MIT.

Getting the data

All contributed pathway data is freely available for download at https://biofactoid.org/api/document/zip which contains files for each pathway represented in:

Our data is licensed under CC0.

Required software

Required software for Graph Database if Docker not used

The following lines should be present in the neo4j.conf file of ~/neo4j-community-5.X.X/conf:

Configuration

The following environment variables can be used to configure the server:

General:

CRON:

Database:

Downloads:

Services:

Links:

Demo:

Sharing:

Email:

AppSignal:

Graph Database:

The following environment variables should always be set in production instances:

Run targets

Running via Docker

Images are maintained at dockerhub. Also see factoid-docker-config.

Testing

All files /test will be run by Mocha. You can npm test to run all tests, or you can run mocha -g specific-test-name (prerequisite: npm install -g mocha) to run specific tests.

The tests expect rethinkdb to be running on localhost on the default port (28015).

Chai is included to make the tests easier to read and write.

Notes:

Publishing a release

  1. Make sure the tests are passing: npm test
  2. Make sure the linting is passing: npm run lint
  3. Bump the version number with npm version, in accordance with semver. The version command in npm updates both package.json and git tags, but note that it uses a v prefix on the tags (e.g. v1.2.3).
    1. For a bug fix / patch release, run npm version patch.
    2. For a new feature release, run npm version minor.
    3. For a breaking API change, run npm version major.
    4. For a specific version number (e.g. 1.2.3), run npm version 1.2.3.
  4. Push the release: git push origin --tags
  5. Publish a GitHub release so that Zenodo creates a DOI for this version.

Related software

Factoid depends on services whose software we maintain.