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

Merge pull request #26 from bcgsc/main #27

Merged
merged 5 commits into from
Mar 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
8 changes: 4 additions & 4 deletions Figures/Cohort/Cohort_figures.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion Figures/Cohort/Cohort_figures.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Cohort figure generation (Figure 1a,b and Extended Data Figure 1a)
================
Erin Pleasance
2024-02-16
2024-02-22

This is an R markdown used to generate figures describing the overall
cohort.
Expand Down
Binary file modified Figures/Cohort/Cohort_figures_files/figure-gfm/genomic-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Figures/Cohort/Cohort_figures_files/figure-gfm/genomic-2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Figures/Cohort/Cohort_figures_files/figure-gfm/genomic-3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions Figures/Fig1_Sequencing_Stats/sequencing_stats.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

<meta name="author" content="Kieran O’Neill" />

<meta name="date" content="2024-02-16" />
<meta name="date" content="2024-02-22" />

<title>Long-read POG QC Stats</title>

Expand Down Expand Up @@ -352,7 +352,7 @@

<h1 class="title toc-ignore">Long-read POG QC Stats</h1>
<h4 class="author">Kieran O’Neill</h4>
<h4 class="date">2024-02-16</h4>
<h4 class="date">2024-02-22</h4>

</div>

Expand Down
22 changes: 15 additions & 7 deletions Figures/Methylation/Methylation_Fig4a.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,20 @@
"cells": [
{
"cell_type": "code",
"execution_count": 2,
"execution_count": 1,
"metadata": {},
"outputs": [],
"source": [
"# title: Codes to generate methylation plots\n",
"# author: Andrew Galbraith\n",
"# Modules to import\n",
"# Modules to import - get rid of any not used - add to dockfile in github\n",
"import pandas as pd\n",
"import scipy\n",
"import datashader as ds\n",
"from datashader.mpl_ext import dsshow\n",
"import scipy.stats\n",
"import matplotlib.pyplot as plt\n",
"from matplotlib.colors import LinearSegmentedColormap\n"
"from matplotlib.colors import LinearSegmentedColormap\n",
"import ssl\n",
"from urllib.request import urlopen\n"
]
},
{
Expand All @@ -24,8 +24,16 @@
"metadata": {},
"outputs": [],
"source": [
"# import data\n",
"POG044_BS_Nano_df = pd.read_csv('https://www.bcgsc.ca/downloads/nanopore_pog/Methylation/POG044_BS_Nanopolish_Meth.bed.gz', sep=\"\\t\",header=None, compression='gzip')\n"
"# import data - make sure to change to data from GSC website\n",
"\n",
"# use ssl to securely open csv before loading into pandas dataframe\n",
"data_loc = 'https://www.bcgsc.ca/downloads/nanopore_pog/Methylation/POG044_BS_Nanopolish_Meth.bed.gz'\n",
"\n",
"context=ssl.create_default_context()\n",
"context.set_ciphers(\"DEFAULT\")\n",
"result = urlopen(data_loc, context=context)\n",
"\n",
"POG044_BS_Nano_df = pd.read_csv(result, sep=\"\\t\",header=None, compression='gzip')\n"
]
},
{
Expand Down
197 changes: 197 additions & 0 deletions Figures/Methylation/Methylation_Fig4a.nbconvert.ipynb

Large diffs are not rendered by default.

Binary file added Figures/Methylation/Methylation_Fig4a.pdf
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 4 additions & 4 deletions Figures/Phasing/Phasing_figures.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion Figures/Phasing/Phasing_figures.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Phasing figures
================
Katherine Dixon
2024-02-16
2024-02-22

This is an R markdown used to generate figures describing phasing.

Expand Down
Binary file modified Figures/Phasing/Phasing_figures_files/figure-gfm/output-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Figures/Phasing/Phasing_figures_files/figure-gfm/output-2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Figures/Phasing/Phasing_figures_files/figure-gfm/output-3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Figures/Phasing/phasing-stats.pdf
Binary file not shown.
Binary file modified Figures/Phasing/phasing-stats.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion Figures/ecDNA/Extended_data_ecDNA_D.html

Large diffs are not rendered by default.

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.