This repository has been archived by the owner on Mar 13, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2 from vanallenlab/2021-08-11
2021 July 7 release
- Loading branch information
Showing
241 changed files
with
239,741 additions
and
91,013 deletions.
There are no files selected for viewing
52 changes: 52 additions & 0 deletions
52
analyses/knowledge-bases/civic-oncokb/create-source-data.ipynb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
{ | ||
"cells": [ | ||
{ | ||
"cell_type": "code", | ||
"execution_count": 3, | ||
"metadata": {}, | ||
"outputs": [], | ||
"source": [ | ||
"import pandas as pd\n", | ||
"import openpyxl\n", | ||
"\n", | ||
"folder = \"../../../extended-data/extended-data-fig-4/\"\n", | ||
"filename = \"source-data-extended-data-fig-4.xlsx\"\n", | ||
"writer = pd.ExcelWriter(f'{folder}/{filename}', engine='xlsxwriter')\n", | ||
"\n", | ||
"tuples = [('pmid', 'a'), ('drug', 'b'), ('gene', 'c')]\n", | ||
"for handle, label in tuples:\n", | ||
" df = pd.read_csv(f\"{handle}-comparison.txt\", sep='\\t')\n", | ||
" df.to_excel(writer, sheet_name=f\"Extended Data Fig. 4{label}\", index=False)\n", | ||
"writer.save()" | ||
] | ||
}, | ||
{ | ||
"cell_type": "code", | ||
"execution_count": null, | ||
"metadata": {}, | ||
"outputs": [], | ||
"source": [] | ||
} | ||
], | ||
"metadata": { | ||
"kernelspec": { | ||
"display_name": "moalmanac-paper", | ||
"language": "python", | ||
"name": "moalmanac-paper" | ||
}, | ||
"language_info": { | ||
"codemirror_mode": { | ||
"name": "ipython", | ||
"version": 3 | ||
}, | ||
"file_extension": ".py", | ||
"mimetype": "text/x-python", | ||
"name": "python", | ||
"nbconvert_exporter": "python", | ||
"pygments_lexer": "ipython3", | ||
"version": "3.7.3" | ||
} | ||
}, | ||
"nbformat": 4, | ||
"nbformat_minor": 4 | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
4 changes: 2 additions & 2 deletions
4
analyses/knowledge-bases/molecular-oncology-almanac/README.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
# Molecular Oncology Almanac | ||
These notebooks perform calculations and generate a few figures. | ||
- `count-combination-therapies.ipynb` counts the combination therapies present in the database | ||
- `create-supplementary-table.ipynb` creates supplementary table 1, which lists an TARGET annotated version of TARGET and all catalogued entries in MOAlmanac | ||
- `illustrate-moalmanac-breakdown.ipynb` creates a figure, Figure 1c | ||
- `create-supplementary-table.ipynb` creates supplementary table 2, which lists an TARGET annotated version of TARGET and all catalogued entries in MOAlmanac | ||
- `illustrate-moalmanac-breakdown.ipynb` creates a figure, Fig. 1c |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.