Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Initial draft of FDA-approvals in va-spec~ish (in progress) format #36

Open
wants to merge 22 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
e3fa8ed
initial version of va-spec~ish (in progress) moalmanac
brendanreardon Jan 27, 2025
5cee4a5
Moved dereference script to utils dir
brendanreardon Jan 27, 2025
7bdded1
Added documentation to set up the virtualenv
brendanreardon Jan 28, 2025
303cd9c
Changed heading structure in README
brendanreardon Jan 28, 2025
0685b45
Renamed function
brendanreardon Jan 28, 2025
c945342
Changed output type in docstring for load_json function
brendanreardon Jan 28, 2025
c614f93
Update utils/dereference.py
brendanreardon Jan 28, 2025
017ffaf
Update utils/dereference.py
brendanreardon Jan 28, 2025
f436cd1
Updated args docstring in Dereference.integer function
brendanreardon Jan 28, 2025
2579c1a
Update utils/dereference.py
brendanreardon Jan 28, 2025
b03f34e
Return dereferenced json in main function. Added docstring to main fu…
brendanreardon Jan 29, 2025
a10b662
Added README to utils directory. Wrote documentation for dereference.py.
brendanreardon Jan 29, 2025
01aef88
Minor change to README
brendanreardon Jan 29, 2025
3b0807a
Added schema diagram
brendanreardon Jan 29, 2025
2b7f31c
Added table of contents to documentation assets and url to database s…
brendanreardon Jan 29, 2025
afe09b8
Trying to inline show assets within the README
brendanreardon Jan 29, 2025
1cbeaa5
Revised utils/README header and first section
brendanreardon Jan 29, 2025
c0f0ca4
Removed trailing spaces
brendanreardon Jan 29, 2025
89194e0
Added test for trailing spaces, resolved current failures
brendanreardon Jan 29, 2025
398c56d
Test for url and url within citation matching
brendanreardon Jan 30, 2025
d19c4d5
Resolved document mismatch between statements and indications
brendanreardon Jan 30, 2025
d79ab71
Test to ensure indications and descriptions end with periods
brendanreardon Jan 30, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 31 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,37 @@ If you wish to suggest an assertion for cataloging in this database, you can do
- Suggesting an entry through our [web browser's form](https://moalmanac.org/add)
- Suggesting an entry through our [Google Chrome extension](https://chrome.google.com/webstore/detail/molecular-oncology-almana/jliaipolchffpaccagodphgjpfdpcbcm)

## Installation
### Download
This repository can be downloaded through GitHub by either using the website or terminal. To download on the website, navigate to the top of this page, click the green `Clone or download` button, and select `Download ZIP` to download this repository in a compressed format. To install using GitHub on terminal, type:

```bash
git clone https://github.com/vanallenlab/moalmanac-db.git
cd moalmanac-db
```

### Python dependencies
This repository uses Python 3.12. We recommend using a [virtual environment](https://docs.python.org/3/tutorial/venv.html) and running Python with either [Anaconda](https://www.anaconda.com/download/) or [Miniconda](https://conda.io/miniconda.html).

Run the following from this repository's directory to create a virtual environment and install dependencies with Anaconda or Miniconda:
```bash
conda create -y -n moalmanac-db python=3.12
conda activate moalmanac-db
pip install -r requirements.txt
```

Or, if using base Python:
```bash
virtualenv venv
source activate venv/bin/activate
pip install -r requirements.txt
```

To make the virtual environment available to jupyter notebooks, execute the following code while the virtual environment is activated:
```bash
ipython kernel install --user --name=moalmanac-db
```

## Citation
If you find this tool or any code herein useful, please cite:
> [Reardon, B., Moore, N.D., Moore, N.S., *et al*. Integrating molecular profiles into clinical frameworks through the Molecular Oncology Almanac to prospectively guide precision oncology. *Nat Cancer* (2021). https://doi.org/10.1038/s43018-021-00243-3](https://www.nature.com/articles/s43018-021-00243-3)
Expand Down
18 changes: 18 additions & 0 deletions docs/assets/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Documentation assets
The following assets are used by documentation within the `docs/` folder of this repository.

# Table of contents
- [Database schema diagram](#database-schema-diagram)

# Assets
## Database schema diagram
[moalmanac-db-schema-diagram.svg](moalmanac-db-schema-diagram.svg) is a diagram of the database schema. Here, we aim to highlight:
1. Connections between the [different references between files that make up the database](../../references/)
2. What parts of our schema is represented within [GA4GH's va-spec](https://github.com/ga4gh/va-spec)
3. What parts of our schema are compliant with va-spec

This diagram was created with [Google Draw](https://docs.google.com/drawings/d/1fLOOwtc87YVEJfy4oTiP04cUFgKVGalv8vv4k0L__2c/edit?usp=sharing).

![moalmanac-db-schema-diagram.svg](moalmanac-db-schema-diagram.svg)

[Back to table of contents](#table-of-contents)
1 change: 1 addition & 0 deletions docs/assets/moalmanac-db-schema-diagram.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
111,290 changes: 111,290 additions & 0 deletions moalmanac-draft.dereferenced.json

Large diffs are not rendered by default.

8 changes: 8 additions & 0 deletions referenced/about.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"github": "https://github.com/vanallenlab/moalmanac-db",
"label": "Molecular Oncology Almanac",
"license": "GPL-2.0",
"release": "pre draft",
"url": "https://moalmanac.org",
"last_updated": "2025-01-10"
}
9 changes: 9 additions & 0 deletions referenced/agents.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
[
{
"id": 0,
"type": "Agent",
"subtype": "organization",
"label": "Van Allen lab",
"description": "Van Allen lab, Dana-Farber Cancer Institute"
}
]
Loading