Dissecting genotype-specific effects of disease-associated genetic variants.
3 blocks of code here have a permanent identifier (oscr:b:…), listed with the matches below: citable for good, with a page of its own. Select a match and press Cite to copy it. What a block identifier is.
The 3 matches
- [1] § STAR★Methods › Method details › ONT long-read DNA sequencing › High molecular weight (HMW) DNA extraction, library preparation and sequencing ↔ python/pod5/src/pod5/pod5_types.py, lines 136 to 238 · score 0.78 · MinKNOW, PromethION, flow cells, sequencing kit, Nanopore · block
oscr:b:69D5J4MHA9E19-K· Report a mismatch - [2] § STAR★Methods › Method details › RNA extraction, sequencing and data analysis › RNA sequencing data analysis ↔ CRISPR_Tx_plots.R, lines 262 to 343 · score 0.68 · iPSC, IDO1, UTF1, ZIC1, NANOG, OCT4 · block
oscr:b:A6VE44ATSCQQN-C· Report a mismatch - [3] § STAR★Methods › Method details › RNA extraction, sequencing and data analysis › RNA sequencing data analysis ↔ CRISPR_Tx_plots.R, lines 891 to 976 · score 0.60 · log2 fold change, Log2FC, v1, v2, seq, genes · block
oscr:b:5AGZER2V81AE3-Y· Report a mismatch
Paper
Loaded from Europe PMC by your browser; OSCR does not store it: doi.org · Europe PMC
The paper is loaded when this pane is shown.
The authors' code
R · 976 lines · 41 KB · no license · 2 matches
- library("DESeq2")
- library(tidyverse)
- library("ggpubr")
- library(gridExtra)
- library("RColorBrewer")
- library(Manu)
- library("ggbeeswarm")
- library("readxl")
- library("UpSetR")
- # MA plots ----------------------------------------------------------------
- # https://rpkgs.datanovia.com/ggpubr/reference/ggmaplot.html
- t5_all <- read_tsv("../../../120623/edited_ipsc_vs_other_edited_ipsc/t5_ipsc_vs_other_ipsc_lfcshrk0_p0.05.tsv")
- t5_all_ma <- ggmaplot(t5_all, main = expression("rs11610045 vs background"),
- fdr = 0.05, fc = 2, size =0.4, #log2FC = 1
- palette = c("#B31B21", "#1465AC", "darkgray"),
- genenames = as.vector(t5_all$gene),
- legend = "none", top = 0,
- font.label = c("bold", 11),
- font.legend = "bold",
- font.main = "bold",
- ggtheme = ggplot2::theme_minimal(),
- label.select = c("ARHGAP22","CNTNAP2","TXNRD1"))
- ggsave("../plots/MA/t5_vs_allipsc.pdf",t5_all_ma, width = 6, height = 4)
- t5_all_1 <- t5_all %>%
- filter(log2FoldChange > 1 | log2FoldChange < -1)
- write.table(t5_all, "~/Library/CloudStorage/OneDrive-TheUniversityofAuckland/myhome (files.auckland.ac.nz)/Liggins_PD/Manuscripts/CRISPR_iPSC_Tx/t5_all_suptab2.txt", row.names = FALSE, sep = "\t")
- # Neurons
- t5N_WTN <- read_tsv("editN_vs_WTN/t5N_vs_WTN_lfcshrk0_p0.01.tsv")
- t5N_WTN_ma <- ggmaplot(t5N_WTN, main = expression("T5 neuron vs WT neuron"),
- fdr = 0.01, fc = 2, size =0.4, #log2FC = 1
- palette = c("#B31B21", "#1465AC", "darkgray"),
- genenames = as.vector(t5N_WTN$gene),
- legend = "right", top = 0,
- font.label = c("bold", 11),
- font.legend = "bold",
- font.main = "bold",
- ggtheme = ggplot2::theme_minimal())
- ggsave("../plots/MA/t5n_WTN_ma.pdf", width = 6, height = 4)
- # WT vs WT nuc
- WT_WTNF <- read_tsv("nfWT_vs_WT_lfcshrk0_p0.01.tsv")
- WT_WTNF_ma <- ggmaplot(WT_WTNF, main = expression("WT nucleofected vs WT"),
- fdr = 0.01, fc = 2, size =0.4, #log2FC = 1,
- palette = c("#B31B21", "#1465AC", "darkgray"),
- genenames = as.vector(WT_WTNF$gene),
- legend = "right", top = 0,
- font.label = c("bold", 11),
- font.legend = "bold",
- font.main = "bold",
- ggtheme = ggplot2::theme_minimal())
- ggsave("../plots/MA/WT_WTNF_ma.pdf", width = 6, height = 4)
- # Volcano plots -----------------------------------------------------------
- # T5 volcano
- t5_iPSC_full <- read_tsv("../../lfcshrink_full_310724/edited_ipsc_vs_others_lfcshrink_full/t5_ipsc_vs_other_ipsc_lfcshrk_full.tsv")
- t5_iPSC_full$DE <- "NS"
- t5_iPSC_full$DE[t5_iPSC_full$log2FoldChange > 1 & t5_iPSC_full$padj<0.05] <- "Up"
- t5_iPSC_full$DE[t5_iPSC_full$log2FoldChange < -1 & t5_iPSC_full$padj<0.05] <- "Down"
- t5_top <- t5_iPSC_full %>%
- arrange(padj) %>%
- filter(!is.na(padj) & padj < 0.05) %>%
- filter(log2FoldChange > 1 | log2FoldChange < -1) %>%
- top_n(-10, padj)
- t5_volc <- ggplot(t5_iPSC_full, aes(x = log2FoldChange, y = -log10(padj), color = DE)) +
- geom_point(size = 0.5) +
- theme_minimal() +
- scale_color_manual(values = c("#1465AC", "darkgray", "#B31B21")) +
- geom_vline(xintercept = c(-1,1), col = "#333", linetype = "dashed") +
- geom_hline(yintercept = -log10(0.05), col = "#333", linetype = "dashed") +
- labs(title = "rs11610045 (Edit vs. background)") +
- theme(
- text = element_text(size = 10),
- plot.title = element_text(
- #family = "Arial", # Change to a standard font family (e.g., "Times", "Arial", "Helvetica")
- face = "plain", # Font face (e.g., "plain", "italic", "bold", "bold.italic")
- size = 10, # Font size
- color = "black" # Font color
- ),
- legend.position = "none"
- ) +
- geom_text(data = t5_top, aes(label = gene), vjust = 1, hjust = 1, size = 2.5)
- ggsave("~/Library/CloudStorage/OneDrive-TheUniversityofAuckland/myhome (files.auckland.ac.nz)/Liggins_PD/Manuscripts/CRISPR_iPSC_Tx/Figures/t5_iPSC_volcano.pdf", plot = t5_volc, width = 6, height = 5)
- # T5 neuron volcano
- t5_neuron_full <- read_tsv("../../lfcshrink_full_310724/edited_neurons_vs_other_lfcshrink_full/t5_neurons_vs_other_neurons_lfcshrk_full.tsv")
- t5_neuron_full$DE <- "NS"
- t5_neuron_full$DE[t5_neuron_full$log2FoldChange >1 & t5_neuron_full$padj < 0.05] <- "Up"
- t5_neuron_full$DE[t5_neuron_full$log2FoldChange < -1 & t5_neuron_full$padj < 0.05] <- "Down"
- t5N_top <- t5_neuron_full %>%
- arrange(padj) %>%
- filter(!is.na(padj) & padj < 0.05) %>%
- filter(log2FoldChange > 1 | log2FoldChange < -1) %>%
- top_n(-10, padj)
- t5N_volc <- ggplot(t5_neuron_full, aes(x = log2FoldChange, y = -log10(padj), color = DE)) +
- geom_point(size = 0.5) +
- theme_minimal() +
- scale_color_manual(values = c("#1465AC", "darkgray", "#B31B21")) +
- geom_vline(xintercept = c(-1,1), col = "#333", linetype = "dashed") +
- geom_hline(yintercept = -log10(0.05), col = "#333", linetype = "dashed") +
- theme(
- text = element_text(size = 10),
- plot.title = element_text(
- family = "Arial", # Change to a standard font family (e.g., "Times", "Arial", "Helvetica")
- face = "plain", # Font face (e.g., "plain", "italic", "bold", "bold.italic")
- size = 10, # Font size
- color = "black" # Font color
- ),
- legend.position = "none"
- ) +
- geom_text(data = t5N_top, aes(label = gene), vjust = 1, hjust = 1, size = 2.5)
- # Key gene & reversal intersect -------------------------------------------
- # T5 key gene & reversal
- t5_rvs_0 <- read_tsv("reverse_vs_targets/t5rev_vs_t5_lfcshrk0_p0.01.tsv") #LINC00882 is DEG in logFC > 1 but not logFC > 0 ??
- t5_rvs_1 <- read_tsv("reverse_vs_targets/t5rev_vs_t5_lfcshrk1_p0.01.tsv")
- t5_rvs_key_overlap_0 <- Reduce(intersect, list(t5_unique$gene, t5_rvs_0$gene))
- t5_rvs_key_overlap_1 <- Reduce(intersect, list(t5_unique$gene, t5_rvs_1$gene))
- t5_rvs_all <- setdiff(Reduce(intersect, list(t5_genes$gene, t5_rvs_1$gene)), c("ADARB2", "NEGR1")) #ADARB2 - off target effect
- write.table(t5_rvs_key_overlap_0, file = "Key_genes/t5_rvs0_key_overlap.txt", sep = "\t", row.names = FALSE)
- write.table(t5_rvs_key_overlap_1, file = "Key_genes/t5_rvs1_key_overlap.txt", sep = "\t", row.names = FALSE)
- t5_key_rvs <- t5_unique[t5_unique$gene %in% t5_rvs_key_overlap_1,]
- t5_key_rvs <- t5_genes[t5_genes$gene %in% t5_rvs_all,]
- # Group 2 T5 reversal -----------------------------------------------------
- g2_T5_0 <- read_tsv("../../../rna_seq_analysis_2324/targeted_analysis/results/group2/t5_vs_all_lfcshrk0_p0.01.tsv")
- g2_T5_1 <- read_tsv("../../../rna_seq_analysis_2324/targeted_analysis/results/group2/t5_vs_all_lfcshrk1_p0.01.tsv")
- t5_rvs_0 <- read_tsv("reverse_vs_targets/t5rev_vs_t5_lfcshrk0_p0.01.tsv") #LINC00882 is DEG in logFC > 1 but not logFC > 0 ??
- t5_rvs_1 <- read_tsv("reverse_vs_targets/t5rev_vs_t5_lfcshrk1_p0.01.tsv")
- g2_t5_rvs_key_overlap_0 <- Reduce(intersect, list(g2_T5_0$gene, t5_rvs_0$gene))
- g2_t5_rvs_key_overlap_1 <- Reduce(intersect, list(g2_T5_1$gene, t5_rvs_1$gene))
- g2_t5_rvs_key_overlap_1_unique <- Reduce(intersect, list(g2_T5_1$gene, t5_rvs_1$gene, t5_unique$gene))
- g2_t5_key_rvs <- g2_T5_1[g2_T5_1$gene %in% g2_t5_rvs_key_overlap_1,]
- g2_t5_key_rvs_unique <- g2_T5_1[g2_T5_1$gene %in% g2_t5_rvs_key_overlap_1_unique,]
- T5_all_vs_g2 <- Reduce(intersect, list(t5_all_1$gene, g2_T5_1$gene))
- # Bar plots gene reversal -------------------------------------------------
- # T5
- t5_bar <- t5_key_rvs[,-c(2,4,5,6,7)]
- t5_bar_mean <- aggregate(log2FoldChange~gene,t5_bar,mean)
- t5_bar_mean$target <- 'T5'
- ggplot(t5_bar_mean, aes(x = gene, y = log2FoldChange, fill = gene)) +
- geom_bar(stat = "identity", width = 0.8, fill = "grey") +
- theme_minimal() +
- theme(axis.text.x = element_text(angle = 45, vjust = 1, hjust=1)) +
- labs(title = "T5 key genes")
- t5_rvs_bar <- t5_rvs_0[t5_rvs_0$gene %in% t5_rvs_key_overlap_0,]
- t5_rvs_bar <- t5_rvs_bar[, -c(2,4,5,6)]
- t5_rvs_bar$target <- 'T5_RVS'
- ggplot(t5_rvs_bar, aes(x = gene, y = log2FoldChange, fill = gene)) +
- geom_bar(stat = "identity", width = 0.8, fill = "grey") +
- theme_minimal() +
- theme(axis.text.x = element_text(angle = 45, vjust = 1, hjust=1)) +
- labs(title = "T5 key genes")
- t5_both <- rbind(t5_bar_mean, t5_rvs_bar)
- t5_both <- t5_both[t5_both$gene %in% t5_both$gene[duplicated(t5_both$gene)],]
- t5_both <- t5_both[t5_both$gene != "ENSG00000267745",] #these genes removed as likely pluripotent DEG
- t5_both <- t5_both[t5_both$gene != "POU3F4",]
- ggplot(t5_both, aes(x = gene, y = log2FoldChange, fill = target)) +
- geom_bar(stat = "identity", position = position_dodge(width = 0), width = 0.8) +
- theme_minimal() +
- scale_fill_manual(values = get_pal("Korora")) +
- theme(axis.text.x = element_text(angle = 45, vjust = 1, hjust=1)) +
- labs(title = "T5 key genes")
- ggsave("../plots/T5_key_log2fc_bar.pdf", width = 6, height = 4)
- # Group 2 T5
- g2_t5_bar <- g2_t5_key_rvs[,-c(2,4,5,6)]
- g2_t5_bar_unique <- g2_t5_key_rvs_unique[,-c(2,4,5,6)]
- g2_t5_bar_unique$target <- 'T5'
- g2_t5_bar_mean <- aggregate(log2FoldChange~gene,g2_t5_bar,mean)
- g2_t5_bar_mean$target <- 'T5'
- ggplot(g2_t5_bar, aes(x = gene, y = log2FoldChange, fill = gene)) +
- geom_bar(stat = "identity", width = 0.8, fill = "grey") +
- theme_minimal() +
- theme(axis.text.x = element_text(angle = 45, vjust = 1, hjust=1)) +
- labs(title = "T5 key genes")
- ggplot(g2_t5_bar_unique, aes(x = gene, y = log2FoldChange, fill = gene)) +
- geom_bar(stat = "identity", width = 0.8, fill = "grey") +
- theme_minimal() +
- theme(axis.text.x = element_text(angle = 45, vjust = 1, hjust=1)) +
- labs(title = "T5 key genes")
- g2_t5_rvs_bar <- t5_rvs_1[t5_rvs_1$gene %in% g2_t5_rvs_key_overlap_1,]
- g2_t5_rvs_bar <- g2_t5_rvs_bar[, -c(2,4,5,6)]
- g2_t5_rvs_bar$target <- 'T5_RVS'
- ggplot(g2_t5_rvs_bar, aes(x = gene, y = log2FoldChange, fill = gene)) +
- geom_bar(stat = "identity", width = 0.8, fill = "grey") +
- theme_minimal() +
- theme(axis.text.x = element_text(angle = 45, vjust = 1, hjust=1)) +
- labs(title = "T5 key genes")
- g2_t5_both <- rbind(g2_t5_bar_mean, g2_t5_rvs_bar)
- g2_t5_both <- g2_t5_both[g2_t5_both$gene %in% g2_t5_both$gene[duplicated(g2_t5_both$gene)],]
- g2_t5_both <- g2_t5_both[g2_t5_both$gene != "ENSG00000267745",] #these genes removed as likely pluripotent DEG
- g2_t5_both <- g2_t5_both[g2_t5_both$gene != "POU3F4",]
- ggplot(g2_t5_both, aes(x = gene, y = log2FoldChange, fill = target)) +
- geom_bar(stat = "identity", position = position_dodge(width = 0), width = 0.8) +
- theme_minimal() +
- scale_fill_manual(values = get_pal("Korora")) +
- theme(axis.text.x = element_text(angle = 45, vjust = 1, hjust=1, size = 4)) +
- labs(title = "T5 key genes")
- ggsave("../plots/g2_T5_key_log2fc_bar.pdf", width = 8, height = 4)
- write.table(g2_t5_both, file = "Key_genes/G2_T5_reversed.txt", sep = "\t", row.names = FALSE)
- g2_t5_both_uniq <- rbind(g2_t5_bar_unique, g2_t5_rvs_bar)
- g2_t5_both_uniq <- g2_t5_both_uniq[g2_t5_both_uniq$gene %in% g2_t5_both_uniq$gene[duplicated(g2_t5_both_uniq$gene)],]
- #g2_t5_both_uniq <- g2_t5_both[g2_t5_both$gene != "ENSG00000267745",] #these genes removed as likely pluripotent DEG
- #g2_t5_both_uniq <- g2_t5_both[g2_t5_both$gene != "POU3F4",]
- ggplot(g2_t5_both_uniq, aes(x = gene, y = log2FoldChange, fill = target)) +
- geom_bar(stat = "identity", position = position_dodge(width = 0), width = 0.8) +
- theme_minimal() +
- scale_fill_manual(values = get_pal("Korora")) +
- theme(axis.text.x = element_text(angle = 45, vjust = 1, hjust=1)) +
- labs(title = "T5 key genes")
- # iPDGC neuron DEG log2FC plots -------------------------------------------
- # T5 neuron
- t5_iPDGC <- read.table("edit_neuron_vs_WTN/T5_neuron_iPDGC.txt", header = TRUE, sep = "\t")
- t5_iPDGC_neuron_bar <- ggplot(t5_iPDGC, aes(x = gene, y = log2FoldChange, fill = gene)) +
- geom_bar(stat = "identity", width = 0.8, fill = "#85BEDC") +
- #scale_fill_manual(values = rep(get_pal("Kotare"),2)) +
- #scale_fill_brewer(palette = "BrBG") +
- theme_minimal() +
- theme(axis.text.x = element_text(angle = 45, vjust = 1, hjust=1))
- ggsave("../plots/t5_iPDGC_neuron_bar.pdf", width = 6, height = 4)
- # iPSC Micro-C TPM --------------------------------------------------------
- t5_TPM <- read.table("targets_vs_nfwt/T5_microC_genes_TPM.txt", header = TRUE, sep = "\t")
- t5_TPM_long <- t5_TPM %>%
- gather(target, TPM, T5.4:NFWT.6, factor_key = TRUE)
- t5_TPM_long$target <- sub("T.*","T5", t5_TPM_long$target)
- t5_TPM_long$target <- sub("NFWT.*","NFWT",t5_TPM_long$target)
- t5_microC_TPM <- ggplot(t5_TPM_long, aes(x = target, y = TPM, fill = target)) +
- geom_boxplot(outlier.colour = NA, alpha = 0.5, lwd = 0.3) +
- geom_quasirandom(dodge.width = 0.8, shape = 21, size = 1.5) +
- scale_fill_manual(values = c("grey","#85BEDC")) +
- facet_grid(. ~ Gene) +
- theme_bw() +
- theme(legend.position = "none")
- ggsave("../plots/t5_microC_TPM.pdf", width = 5, height = 4)
- # Pluripotency Markers --------------------------------------------------------
- rs116_TPM <- read_csv("../../rsem/Pluripotency/rs11610045_pluri_TPM.csv")
- rs116_TPM$state <- factor(rs116_TPM$state, levels = c("Background", "Target", "RVS"))
- proliferation <- rs116_TPM[rs116_TPM$Gene %in% c("SOX2", "NANOG", "SALL4", "ZIC1", "UTF1"),]
- proliferation_bar <- ggplot(proliferation, aes(x = state, y = TPM, fill = state)) +
- geom_boxplot(outlier.colour = NA, alpha = 0.5, lwd = 0.3) +
- geom_quasirandom(dodge.width = 0.8, shape = 21, size = 1.0) +
- scale_fill_manual(values = c("#0D4A80","#9CCB86","#355e3b")) +
- facet_grid(. ~ Gene) +
- theme_bw() +
- theme(axis.text.x = element_text(angle = 45, vjust = 1, hjust=1), legend.position = "none")
- proliferation_bar
- ggsave("../../2025_plots/rs116_pluri_TPM.pdf", width = 10, height = 4)
- OCT4 <- rs116_TPM[rs116_TPM$Gene %in% c("OCT4"),]
- OCT4_bar <- ggplot(OCT4, aes(x = state, y = TPM, fill = state)) +
- geom_boxplot(outlier.colour = NA, alpha = 0.5, lwd = 0.3) +
- geom_quasirandom(dodge.width = 0.8, shape = 21, size = 1.5) +
- scale_fill_manual(values = c("#0D4A80","#9CCB86","#355e3b")) +
- facet_grid(. ~ Gene) +
- theme_bw() +
- theme(axis.text.x = element_text(angle = 45, vjust = 1, hjust=1), legend.position = "none") +
- ylim(0,3500)
- OCT4_bar
- ggsave("../../2025_plots/rs116_OCT4_TPM.pdf", width = 3, height = 5)
- states <- rs116_TPM[rs116_TPM$Gene %in% c("UTF1","ZIC1","NANOG","IDO1"),]
- states_bar <- ggplot(states, aes(x = Gene, y = TPM, fill = Gene)) +
- geom_boxplot(outlier.colour = NA, alpha = 0.5, lwd = 0.3) +
- geom_quasirandom(dodge.width = 0.8, shape = 21, size = 1.5) +
- scale_fill_manual(values = get_pal("Kotare")) +
- theme_bw() +
- theme(legend.position = "none")
- ggsave("../../2025_plots/UTF1_ZIC1_bar.pdf", width = 7, height = 4)
- states_line <- ggplot(states, aes(x = Gene, y = TPM, group = `Target ID`)) +
- geom_line(position = position_dodge(0.1), colour = "grey") +
- geom_point(aes(fill = Gene), colour = "black", pch = 21, size = 2, position=position_dodge(0.1)) +
- scale_fill_manual(values = get_pal("Kotare")) +
- theme_bw() +
- theme(legend.position = "none")
- states_line
- ggsave("../../2025_plots/UTF1_ZIC1_line.pdf", width = 7, height = 4)
- # rs116 (and rvs) vs background
- all_TPM <- read_csv("../../rsem/Pluripotency/all_pluri_TPM.csv")
- all_TPM$state <- factor(all_TPM$State, levels = c("Background", "Target", "RVS"))
- proliferation <- all_TPM[all_TPM$Gene %in% c("SOX2", "NANOG", "SALL4", "ZIC1", "UTF1"),]
- proliferation_bar <- ggplot(proliferation, aes(x = State, y = TPM, fill = State)) +
- geom_boxplot(outlier.colour = NA, alpha = 0.5, lwd = 0.3) +
- geom_quasirandom(dodge.width = 0.8, shape = 21, size = 1.0) +
- scale_fill_manual(values = c("#0D4A80","#9CCB86","#355e3b")) +
- facet_grid(. ~ Gene) +
- theme_bw() +
- theme(axis.text.x = element_text(angle = 45, vjust = 1, hjust=1), legend.position = "none")
- proliferation_bar
- ggsave("../../2025_plots/all_pluri_TPM.pdf", width = 10, height = 4)
- OCT4 <- all_TPM[all_TPM$Gene %in% c("OCT4"),]
- OCT4_bar <- ggplot(OCT4, aes(x = State, y = TPM, fill = State)) +
- geom_boxplot(outlier.colour = NA, alpha = 0.5, lwd = 0.3) +
- geom_quasirandom(dodge.width = 0.8, shape = 21, size = 1.5) +
- scale_fill_manual(values = c("#0D4A80","#9CCB86","#355e3b")) +
- facet_grid(. ~ Gene) +
- theme_bw() +
- theme(axis.text.x = element_text(angle = 45, vjust = 1, hjust=1), legend.position = "none") +
- ylim(0,3500)
- OCT4_bar
- ggsave("../../2025_plots/all_OCT4_TPM.pdf", width = 3, height = 5)
- states <- all_TPM[all_TPM$Gene %in% c("UTF1","ZIC1","NANOG","IDO1"),]
- states_bar <- ggplot(states, aes(x = Gene, y = TPM, fill = Gene)) +
- geom_boxplot(outlier.colour = NA, alpha = 0.5, lwd = 0.3) +
- geom_quasirandom(dodge.width = 0.8, shape = 21, size = 1.5) +
- scale_fill_manual(values = get_pal("Kotare")) +
- theme_bw() +
- theme(legend.position = "none")
- ggsave("../../2025_plots/all_UTF1_ZIC1_bar.pdf", width = 7, height = 4)
- states_line <- ggplot(states, aes(x = Gene, y = TPM, group = `Target ID`)) +
- geom_line(position = position_dodge(0.1), colour = "grey") +
- geom_point(aes(fill = Gene), colour = "black", pch = 21, size = 2, position=position_dodge(0.1)) +
- scale_fill_manual(values = get_pal("Kotare")) +
- theme_bw() +
- theme(legend.position = "none")
- ggsave("../../2025_plots/all_UTF1_ZIC1_line.pdf", width = 7, height = 4)
- # Neuronal Markers --------------------------------------------------------
- neuron <- read.table("Neuronal_markers/neuronal_markers.txt", header = TRUE, sep = "\t") %>%
- mutate(State = "Neuron")
- neuron_noTUBB <- neuron[neuron$Gene %in% c("MAP2","POU3F2","SNAP25","SYN1"),]
- neuron_bar <- ggplot(neuron, aes(x = Gene, y = TPM, fill = Gene)) +
- geom_boxplot(outlier.colour = NA, alpha = 0.5, lwd = 0.3) +
- geom_quasirandom(dodge.width = 0.8, shape = 21, size = 1.5) +
- scale_fill_manual(values = get_pal("Kakapo")) +
- #ylab("log10 expression (TPM)") +
- theme_bw() +
- theme(legend.position = "none")
- neuron_new <- read.table("Neuronal_markers/neuron_markers_280624.txt", header = TRUE, sep = "\t") %>%
- mutate(State = "Neuron")
- nn_noTUBB <- neuron_new[neuron_new$Gene %in% c("MAP2","POU3F2","SNAP25","SYN1"),]
- neuron_new$Target <- sub("\\.genes.*", "", neuron_new$Target)
- colnames(neuron_new)[1] <- "seq_ID"
- neuron_ID <- read.table("../../rsem/output/Neuron_RNAseqID_T5.txt", header = TRUE, sep = "\t")
- neuron_new <- neuron_new %>%
- inner_join(neuron_ID)
- neuron_new_bar <- neuron_new %>%
- filter(Edit %in% c("BG", "T5")) %>%
- ggplot(aes(x = Gene, y = TPM, fill = Edit)) +
- geom_boxplot(outlier.colour = NA, alpha = 0.5, lwd = 0.3) +
- geom_quasirandom(dodge.width = 0.8, shape = 21, size = 1.5) +
- scale_fill_manual(
- values = c("BG" = "#CABEE9", "T5" = "#E88471"),
- labels = c("BG" = "Background", "T5" = "Target")
- ) +
- ylab("log10 expression (TPM)") +
- theme_bw() +
- theme(axis.text.x = element_text(angle = 45, vjust = 1, hjust=1), legend.position = "right")
- neuron_new_bar + scale_y_continuous(trans='log10') # only if want to log transform the y axis
- neuron_new_bar <- ggplot(neuron_new, aes(x = Gene, y = TPM, fill = Edit)) +
- geom_boxplot(outlier.colour = NA, alpha = 0.5, lwd = 0.3) +
- geom_quasirandom(dodge.width = 0.8, shape = 21, size = 1.5) +
- scale_fill_manual(values = c(colours <- c("#CF597E","#009392","#9CCB86","#E9E29C","#E88471","#0D4A80"))) +
- ylab("log10 expression (TPM)") +
- theme_bw() +
- theme(legend.position = "right")
- neuron_new_bar + scale_y_continuous(trans='log10') #only did if want to log transform the y axis
- ggsave("../plots/Neuron_marker_targets_bar_log10.pdf", width = 7, height = 4)
- neuron_line <- neuron_new[neuron_new$Gene %in% c("MAP2","TUBB3"),]
- neuron_line <- ggplot(neuron_new, aes(x = Gene, y = TPM, group = seq_ID, fill = Edit)) +
- geom_line(position = position_dodge(0.1), colour = "#565052", alpha = 0.4) +
- geom_point(aes(fill = Edit), colour = "black", pch = 21, size = 2, position=position_dodge(0.1)) +
- scale_fill_manual(values = c(colours <- c("#CF597E","#009392","#9CCB86","#E9E29C","#E88471","#0D4A80"))) +
- ylab("log10 expression (TPM)") +
- theme_bw() +
- theme(legend.position = "right")
- neuron_line + scale_y_continuous(trans='log10')
- neuron_line <- neuron_new[neuron_new$Gene %in% c("MAP2","TUBB3"),]
- neuron_line <- neuron_new %>%
- filter(Edit %in% c("BG", "T5")) %>%
- ggplot(aes(x = Gene, y = TPM, group = seq_ID, fill = Edit)) +
- geom_line(position = position_dodge(0.1), colour = "#565052", alpha = 0.4) +
- geom_point(aes(fill = Edit), colour = "black", pch = 21, size = 2, position=position_dodge(0.1)) +
- scale_fill_manual(
- values = c("BG" = "#CABEE9", "T5" = "#E88471"),
- labels = c("BG" = "Background", "T5" = "Target")
- ) +
- ylab("log10 expression (TPM)") +
- theme_bw() +
- theme(axis.text.x = element_text(angle = 45, vjust = 1, hjust=1), legend.position = "right")
- neuron_line + scale_y_continuous(trans='log10')
- # Target 5 iPSC vs reverted ------------------------------------------------
- t5_all <- read.table("../../../120623/edited_ipsc_vs_other_edited_ipsc/t5_ipsc_vs_other_ipsc_lfcshrk0_p0.05.tsv", header = TRUE)
- t5_all <- t5_all[,-c(2,4,5,6,7)]
- t5_all$target <- 'T5'
- t5_all <- t5_all %>% filter(log2FoldChange > 1 | log2FoldChange < -1)
- t5_all_OT <- t5_all[!(t5_all$gene %in% T5_OT$Genes),]
- write.table(t5_all, "t5_all.txt", sep = "\t")
- write.table(t5_all_OT, "t5_all_OT.txt", sep = "\t", row.names = FALSE)
- t5_rvs_0 <- read_tsv("reverse_vs_targets/t5rev_vs_t5_lfcshrk0_p0.01.tsv")
- t5_rvs_0 <- t5_rvs_0[,-c(2,4,5,6)]
- t5_rvs_0$target <- 'T5_RVS'
- t5_rvs_1 <- read_tsv("reverse_vs_targets/t5rev_vs_t5_lfcshrk1_p0.01.tsv")
- t5_rvs_1 <- t5_rvs_1[,-c(2,4,5,6)]
- t5_rvs_1$target <- 'T5_RVS'
- t5_rvs_all_overlap_1 <- Reduce(intersect, list(t5_all_OT$gene, t5_rvs_1$gene))
- t5_rvs_all <- rbind(t5_all_OT, t5_rvs_1)
- t5_rvs_bar <- t5_rvs_1[t5_rvs_1$gene %in% t5_rvs_all_overlap_1,]
- t5_both <- rbind(t5_all_OT, t5_rvs_bar)
- t5_both <- t5_both[t5_both$gene %in% t5_both$gene[duplicated(t5_both$gene)],]
- t5_both <- t5_both[t5_both$gene != "NEGR1",]
- ref_gene <- read.table("../../gene_reference_sorted.txt", header = TRUE)
- colnames(ref_gene)[5] = "gene"
- T5_both_coords <- merge(x = t5_both, y = ref_gene, by = "gene", all.x = TRUE)
- write.table(T5_both_coords, file = "../../../120623/edited_ipsc_vs_other_edited_ipsc/T5_vs_all_RVS.txt", sep = "\t", row.names = FALSE)
- t5_both_ordered <- t5_both %>%
- arrange(target, desc(log2FoldChange)) %>%
- mutate(gene = factor(gene, levels = unique(gene)))
- ggplot(t5_both_ordered, aes(x = gene, y = log2FoldChange, fill = target)) +
- geom_bar(stat = "identity", position = position_dodge(width = 0), width = 0.8) +
- theme_minimal() +
- scale_fill_manual(values = c("#9CCB86","#0D4A80")) +
- theme(axis.text.x = element_text(angle = 45, vjust = 1, hjust=1, size=6)) +
- theme(legend.position = "none") +
- geom_hline(yintercept = c(1,-1),
- color = "black", linewidth = 0.3) +
- scale_y_continuous(breaks = seq(floor(min(t5_both_ordered$log2FoldChange)), ceiling(max(t5_both_ordered$log2FoldChange)), by = 1))
- ggsave("../plots/T5_vs_alliPSC_RVS_ordered.pdf", width = 10, height = 6)
- # Specific genes TPM iPSC------------------------------------------------------
- iPSC_ID <- read.table("../../rsem/output/iPSC/iPSC_ID.txt", header = TRUE, sep = "\t")
- T5_keygenes <- read.table("../../rsem/output/iPSC/T5_keygenes_TPM.txt", header = TRUE, sep = "\t")
- T5_integrin <- T5_keygenes[T5_keygenes$Gene != "PDGFB",]
- T5_order <- c("WTNF", "T5", "T5-RVS")
- T5_keygenes$State <- factor(T5_keygenes$State, levels = T5_order)
- T5_keygenes_TPM_bar <- ggplot(T5_keygenes, aes(x = State, y = TPM, fill = State)) +
- geom_boxplot(outlier.colour = NA, alpha = 0.5, lwd = 0.3) +
- geom_quasirandom(dodge.width = 0.8, shape = 21, size = 1.0) +
- scale_fill_manual(values = c("#0D4A80","#9CCB86","#355e3b")) +
- facet_grid(. ~ Gene) +
- ylab("log10 expression (TPM)") +
- theme_bw() +
- theme(axis.text.x = element_text(angle = 45, vjust = 1, hjust=1), legend.position = "none")
- T5_keygenes_TPM_bar + scale_y_continuous(trans='log10')
- ggsave("../plots/T5_keygenes_TPM_bar.pdf", width = 8, height = 4)
- T5_order <- c("WTNF", "T5", "T5-RVS")
- T5_integrin$State <- factor(T5_integrin$State, levels = T5_order)
- T5_integrin_TPM <- ggplot(T5_integrin, aes(x = State, y = TPM, fill = State)) +
- geom_boxplot(outlier.colour = NA, alpha = 0.5, lwd = 0.3) +
- geom_quasirandom(dodge.width = 0.8, shape = 21, size = 1.0) +
- scale_fill_manual(values = c("#0D4A80","#9CCB86","#355e3b")) +
- facet_grid(. ~ Gene) +
- ylab("log10 expression (TPM)") +
- theme_bw() +
- theme(axis.text.x = element_text(angle = 45, vjust = 1, hjust=1), legend.position = "none")
- T5_integrin_TPM + scale_y_continuous(trans='log10')
- ggsave("../plots/T5_integrin_TPM_bar.pdf", width = 10, height = 5)
- microC_TPM <- read.table("../../rsem/output/iPSC/t5_microC_tpm.txt", sep = "\t")
- microC_TPM$V1 <- sub("\\.genes.*", "", microC_TPM$V1)
- colnames(microC_TPM)[1] <- "seq_ID"
- microC_TPM <- microC_TPM %>%
- inner_join(iPSC_ID)
- microC_TPM_T5 <- microC_TPM %>% filter(Edit == "T5" | Edit == "WTNF")
- microC_arhgap22 <- microC_TPM %>% filter(V2 == "ARHGAP22")
- # grouping T5 vs. all others as background
- microC_group <- microC_TPM %>%
- mutate(state = case_when(
- Edit == "T5" ~ "Target",
- Edit == "T5-RVS" ~ "RVS",
- TRUE ~ "Background"
- ))
- microC_arhgap22 <- microC_group %>% filter(V2 == "ARHGAP22")
- #ordering x-axis on plot
- microC_arhgap22$state <- factor(microC_arhgap22$state, levels = c("Background", "Target", "RVS"))
- microC_group$state <- factor(microC_group$state, levels = c("Background", "Target", "RVS"))
- T5_microC <- ggplot(microC_group, aes(x = state, y = V6, fill = state)) +
- geom_boxplot(outlier.colour = NA, alpha = 0.5, lwd = 0.3) +
- geom_quasirandom(dodge.width = 0.8, shape = 21, size = 1) +
- scale_fill_manual(values = c("#0D4A80", "#9CCB86", "#355e3b")) +
- theme_bw() +
- facet_grid(. ~ V2) +
- theme(legend.position = "right") +
- theme(axis.text.x = element_text(angle = 45, vjust = 1, hjust=1)) +
- xlab("") +
- ylab("log10 expression (TPM)")
- T5_microC + scale_y_continuous(trans='log10')
- ggsave("../plots/T5_microC_3genes.pdf", width = 8, height = 6)
- T5_trans <- read.table("../../rsem/output/iPSC/t5_transPD_TPM.txt", header = FALSE, sep = "\t")
- T5_trans$V1 <- sub("\\.genes.*", "", T5_trans$V1)
- colnames(T5_trans)[1] <- "seq_ID"
- colnames(T5_trans)[6] <- "TPM"
- colnames(T5_trans)[2] <- "gene"
- T5_trans <- T5_trans %>%
- inner_join(iPSC_ID)
- T5_trans <- T5_trans %>%
- mutate(state = case_when(
- Edit == "T5" ~ "Target",
- Edit == "T5-RVS" ~ "Reverse",
- Edit == "WTNF" ~"WTNF",
- TRUE ~ "Background"
- ))
- T5_trans <- T5_trans[!grepl('Background', T5_trans$state),]
- T5_trans$gene[T5_trans$gene == 'ENST00000372080.8'] <- 'CEL'
- T5_trans$gene[T5_trans$gene == 'ENST00000260356.6,ENST00000397591.2,ENST00000466755.1,ENST00000484734.1,ENST00000490247.1,ENST00000497720.1,ENST00000559746.1,ENST00000560894.1'] <- 'THBS1'
- T5_trans$gene[T5_trans$gene == 'ENST00000331163.11,ENST00000381551.8,ENST00000440375.1,ENST00000455790.5'] <- 'PDGFB'
- T5_order <- c("WTNF", "Target", "Reverse")
- T5_trans$state <- factor(T5_trans$state, levels = T5_order)
- T5_trans_plot <- ggplot(T5_trans, aes(x = state, y = TPM, fill = state)) +
- geom_boxplot(outlier.colour = NA, alpha = 0.5, lwd = 0.3) +
- geom_quasirandom(dodge.width = 0.8, shape = 21, size = 1) +
- scale_fill_manual(values = c("#0D4A80", "#9CCB86", "#355e3b")) +
- theme_bw() +
- facet_grid(. ~ gene) +
- theme(legend.position = "none") +
- theme(axis.text.x = element_text(angle = 45, vjust = 1, hjust=1)) +
- xlab("") +
- ylab("log10 expression (TPM)")
- T5_trans_plot + scale_y_continuous(trans='log10')
- ggsave("../plots/T5_trans_TPM.pdf", width = 8, height = 6)
- # Neuron DEG TPM --------------------------------------------------------------
- neuron_ID <- read.table("../../rsem/output/Neuron_RNAseqID_edit.txt", header = TRUE, sep = "\t")
- TMEM175 <- read.table("../../rsem/output/iPSC/TMEM175.txt", sep = "\t")
- TMEM175_bar <- ggplot(TMEM175, aes(x = V2, y = V6)) +
- geom_boxplot(outlier.colour = NA, alpha = 0.5, lwd = 0.3) +
- geom_quasirandom(dodge.width = 0.8, shape = 21, size = 1.5) +
- scale_fill_manual(values = get_pal("Kakapo")) +
- theme_bw() +
- theme(legend.position = "none")
- TMEM175_bar
- XPO6 <- read.table("../../rsem/output/rsem_neuron/XPO6_TPM.txt", sep = "\t")
- XPO6$V1 <- sub("\\.genes.*", "", XPO6$V1)
- colnames(XPO6)[1] <- "seq_ID"
- XPO6 <- XPO6 %>%
- inner_join(neuron_ID)
- XPO6_bar <- ggplot(XPO6, aes(x = Edit, y = V6)) +
- geom_boxplot(outlier.colour = NA, alpha = 0.5, lwd = 0.3) +
- geom_quasirandom(dodge.width = 0.8, shape = 21, size = 1.5) +
- scale_fill_manual(values = get_pal("Kakapo")) +
- theme_bw() +
- theme(legend.position = "none")
- XPO6_bar
- SYNJ1 <- read.table("../../rsem/output/rsem_neuron/SYNJ1_TPM.txt", sep = "\t")
- SYNJ1$V1 <- sub("\\.genes.*", "", SYNJ1$V1)
- colnames(SYNJ1)[1] <- "seq_ID"
- SYNJ1 <- SYNJ1 %>%
- inner_join(neuron_ID)
- SYNJ1_bar <- ggplot(SYNJ1, aes(x = Edit, y = V6)) +
- geom_boxplot(outlier.colour = NA, alpha = 0.5, lwd = 0.3) +
- geom_quasirandom(dodge.width = 0.8, shape = 21, size = 1.5) +
- scale_fill_manual(values = get_pal("Kakapo")) +
- theme_bw() +
- theme(legend.position = "none")
- SYNJ1_bar
- T5_neuron_dopa <- read.table("../../rsem/output/rsem_neuron/T5_neuron_dopa.txt", sep = "\t")
- T5_neuron_dopa$V1 <- sub("\\.genes.*", "", T5_neuron_dopa$V1)
- colnames(T5_neuron_dopa)[1] <- "seq_ID"
- T5_neuron_dopa <- T5_neuron_dopa %>%
- inner_join(neuron_ID)
- T5_dopa_group <- T5_neuron_dopa %>%
- mutate(state = case_when(
- Edit == "T5" ~ "Target",
- TRUE ~ "Background"
- ))
- T5_neuron_dopa_bar <- ggplot(T5_dopa_group, aes(x = state, y = V6, fill = state)) +
- geom_boxplot(outlier.colour = NA, alpha = 0.5, lwd = 0.3) +
- geom_quasirandom(dodge.width = 0.8, shape = 21, size = 1.5) +
- scale_fill_manual(values = get_pal("Kakapo")) +
- facet_grid(. ~ V2) +
- xlab("") +
- #ylab("log10 expression (TPM)") +
- theme_bw() +
- theme(legend.position = "none")
- T5_neuron_dopa_bar #+ scale_y_continuous(trans='log10')
- ggsave("../plots/T5_neuron_dopaminegenes.pdf", width = 8, height = 6)
- CNTN1 <- read.table("neuron_vs_targets/CNTN1_TPM.txt", header = TRUE, sep = "\t")
- CNTN1_T8 <- CNTN1[CNTN1$Target %in% c("T8","WT"),]
- CNTN1_bar <- ggplot(CNTN1_T8, aes(x = Target, y = TPM, fill = Target)) +
- geom_boxplot(outlier.colour = NA, alpha = 0.5, lwd = 0.3) +
- geom_quasirandom(dodge.width = 0.8, shape = 21, size = 1.5) +
- scale_fill_manual(values = c("#E6007E","grey")) +
- theme_bw() +
- theme(legend.position = "none") +
- xlab("") +
- ylab("CNTN1 TPM")
- CNTN1_bar
- ggsave("../plots/CNTN1_bar.pdf", width = 3, height = 4)
- # looking at cis genes for T5 (3)
- NFAT2CIP <- read.table("../../rsem/output/rsem_neuron/NFATC2IP_neuron.txt", sep = "\t")
- NFAT2CIP$V1 <- gsub(".genes.results:ENSG00000176953.13", "", as.character(NFAT2CIP$V1))
- colnames(NFAT2CIP)[1] <- "seq_ID"
- NFAT2CIP <- NFAT2CIP %>%
- inner_join(neuron_ID)
- NFAT2CIP_bar <- ggplot(NFAT2CIP, aes(x = Edit, y = V6, fill = Edit)) +
- geom_boxplot(outlier.colour = NA, alpha = 0.5, lwd = 0.3) +
- geom_quasirandom(dodge.width = 0.8, shape = 21, size = 1.5) +
- scale_fill_manual(values = c("#CF597E","#009392","#9CCB86","#E9E29C","#E88471","#0D4A80")) +
- theme_bw() +
- theme(legend.position = "none") +
- xlab("Edit") +
- ylab("NFAT2CIP TPM")
- NFAT2CIP_bar
- # Off-target analysis ----------------------------------------------------
- T5_OT_SNV <- read_excel("../../OT_analysis_240724/KOLF2_T5_somatic_snvs/KOLF2_T5.wf-somatic-snv.filtered.gene.only-snv.split.xlsx", range = cell_cols(1:15))
- T5_OT_indel <- read_excel("../../OT_analysis_240724/KOLF2_T5_somatic_indel/KOLF2_T5.wf-somatic-snv.filtered.gene.only-indel.split.xlsx", range = cell_cols(1:15))
- T5_OT <- merge(T5_OT_indel, T5_OT_SNV, all = TRUE)
- write.table(T5_OT, "T5_OT.txt", sep = "\t", row.names = FALSE)
- T5_OT_genes <- T5_OT[,15, drop = FALSE]
- T5_OT_genes <- distinct(T5_OT_genes)
- t5_all <- read.table("../../../120623/edited_ipsc_vs_other_edited_ipsc/t5_ipsc_vs_other_ipsc_lfcshrk0_p0.05.tsv", header = TRUE)
- t5_all <- t5_all[,-c(2,4,5,6,7)]
- t5_all$target <- 'T5'
- #keep only genes that are likely OT effects
- t5_genes_OT <- t5_all[t5_all$gene %in% T5_OT$Genes, ]
- t5_genes_OT_2 <- merge(t5_all, T5_OT, by.x = "gene", by.y = "Genes")
- t5_rvs_OT <- rbind(t5_genes_OT, t5_rvs_0)
- t5_rvs_OT <- t5_rvs_OT[t5_rvs_OT$gene %in% t5_rvs_OT$gene[duplicated(t5_rvs_OT$gene)],]
- ggplot(t5_rvs_OT, aes(x = gene, y = log2FoldChange, fill = target)) +
- geom_bar(stat = "identity", position = position_dodge(width = 0), width = 0.5) +
- theme_minimal() +
- scale_fill_manual(values = c("#9CCB86","#0D4A80")) +
- theme(axis.text.x = element_text(angle = 45, vjust = 1, hjust=1, size=8)) +
- theme(legend.position = "none") +
- geom_hline(yintercept = c(1,-1),
- color = "black", linewidth = 0.3)
- ggsave("../plots/T5_off-target_reversed.pdf", width = 5, height = 3)
- # Upset plots - T5 off target
- T5_OT_indel$Source <- "T5_indel"
- T5_OT_SNV$Source <- "T5_SNV"
- T5_RVS_OT_indel$Source <- "RVS_indel"
- T5_RVS_OT_SNV$Source <- "RVS_SNV"
- T5_OT_indel <- T5_OT_indel %>% mutate(QUAL = as.character(QUAL))
- T5_OT_SNV <- T5_OT_SNV %>% mutate(QUAL = as.character(QUAL))
- T5_RVS_OT_indel <- T5_RVS_OT_indel %>% mutate(QUAL = as.character(QUAL))
- T5_RVS_OT_SNV <- T5_RVS_OT_SNV %>% mutate(QUAL = as.character(QUAL))
- T5_OT <- bind_rows(T5_OT_indel, T5_OT_SNV, T5_RVS_OT_indel, T5_RVS_OT_SNV)
- target_NFWT <- read.table("targets_vs_nfwt/Targets_NFWT_logFC_long.txt", header = TRUE, sep = "\t")
- split <- split(T5_OT, f = T5_OT$Source)
- targetlist <- list("Introduced Indel" = (split$T5_indel$Genes),
- "Introduced SNV" = (split$T5_SNV$Genes),
- "Introduced SNV (RVS)" = (split$RVS_SNV$Genes),
- "Introduced Indel (RVS)" = (split$RVS_indel$Genes))
- OT_overlap <- UpSetR::upset(fromList(targetlist), sets.bar.color = "darkgrey", main.bar.color = "#9CCB86", nsets = 4,
- mainbar.y.label = "Overlapping OT effects (#)", #empty.intersections = "on",
- order.by = "freq",
- point.size = 2.5, line.size = 0.5, matrix.color = "gray7", sets.x.label = "OT effects (#)",
- text.scale = c(1.25,1.25,1.05,1.05,1.25,1.25))
- count <- as.data.frame(table(T5_OT$Genes))
- # TPM plot
- T5_OT_genes_TPM <- read.table("../../rsem/output/iPSC/OT_genes_TPM.txt", sep = "\t")
- T5_OT_genes_TPM$V1 <- sub("\\.genes.*", "", T5_OT_genes_TPM$V1)
- colnames(T5_OT_genes_TPM)[1] <- "seq_ID"
- T5_OT_genes_TPM <- T5_OT_genes_TPM %>%
- inner_join(iPSC_ID)
- T5_OT_genes_TPM <- T5_OT_genes_TPM %>%
- mutate(state = case_when(
- Edit == "T5" ~ "T5 edit",
- Edit == "T5-RVS" ~ "T5 RVS",
- TRUE ~ "Background"
- ))
- T5_order <- c("Background", "T5 edit", "T5 RVS")
- T5_OT_genes_TPM$state <- factor(T5_OT_genes_TPM$state, levels = T5_order)
- T5_OT_genes <- ggplot(T5_OT_genes_TPM, aes(x = state, y = V6, fill = state)) +
- geom_boxplot(outlier.colour = NA, alpha = 0.5, lwd = 0.3) +
- geom_quasirandom(dodge.width = 0.8, shape = 21, size = 1.5) +
- scale_fill_manual(values = c("#0D4A80","#9CCB86","#355e3b")) +
- facet_grid(. ~ V2) +
- theme_bw() +
- theme(axis.text.x = element_text(angle = 45, vjust = 1, hjust=1), legend.position = "none") +
- ylab("Log2FC")
- ggsave("../plots/VIPR2_TPM.pdf", VIPR2, width = 6, height = 4)
- # T5 RVS
- T5_RVS_OT_SNV <- read_excel("../../OT_analysis_240724/KOLF2_T5-5_RVS.wf-somatic-snv.filtered.gene.only-snv.split.xlsx", range = cell_cols(1:15))
- T5_RVS_OT_indel <- read_excel("../../OT_analysis_240724/KOLF2_T5-5_RVS.wf-somatic-snv.filtered.gene.only-indel.split.xlsx", range = cell_cols(1:15))
- T5_RVS_OT <- merge(T5_RVS_OT_indel, T5_RVS_OT_SNV, all = TRUE)
- overlap_T5 <- intersect(T5_OT$POS, T5_RVS_OT$POS)
- # WT-NF
- WTNF_OT_SNV <- read_excel("../../OT_analysis_240724/KOLF2_WT-nucCTRL-A2.wf-somatic-snv.filtered.gene.only-snv.split.xlsx", range = cell_cols(1:15))
- WTNF_OT_indel <- read_excel("../../OT_analysis_240724/KOLF2_WT-nucCTRL-A2.wf-somatic-snv.filtered.gene.only-indel.split.xlsx", range = cell_cols(1:15))
- WTNF_OT <- merge(WTNF_OT_indel, WTNF_OT_SNV, all = TRUE)
- write.table(WTNF_OT, "~/Library/CloudStorage/OneDrive-TheUniversityofAuckland/myhome (files.auckland.ac.nz)/Liggins_PD/Manuscripts/CRISPR_iPSC_Tx/WTNF_OT.txt", row.names = FALSE, sep = "\t")
- OTs <- list(WTNF_OT, T5_OT, T7_OT, T6_OT, T8_OT)
- overlap <- Reduce(intersect, lapply(OTs, function(df) df$POS))
- print_list(overlap)
- print_list <- function(lst) {
- for (item in lst) {
- if (is.character(item)) {
- cat(item, "\n")
- } else {
- cat(item, "\n")
- }
- }
- }
- # Methylation - T5 reversed genes -----------------------------------------
- T5_DMR <- as.data.frame(read.table("../../Methylation_240724/KOLF2-WT-NF_vs_T5_target-diff-genes-DMRs/annotated_DMRs/dmrs_table_annotated.bed", header = TRUE, sep="\t",stringsAsFactors=FALSE, quote=""))
- T5_DMR <- T5_DMR[,-c(4,5,9)]
- T5_RVS_DMR <- as.data.frame(read.table("../../Methylation_240724/KOLF2-WT-NF_vs_T5-RVS_target-diff-genes-DMRs/annotated_DMRs/dmrs_table_annotated.bed", header = TRUE, sep="\t",stringsAsFactors=FALSE, quote=""))
- T5_RVS_DMR <- T5_RVS_DMR[,-c(1,4,5,8,9,13)]
- T5_and_RVS_DMR <- merge(T5_DMR, T5_RVS_DMR, by = c("start", "end", "annotation_chr", "annotation_start", "annotation_end", "biotype", "gene"), all.x = TRUE, all.y = TRUE, suffixes = c("_T5", "_RVS")) %>%
- distinct() %>%
- mutate(T5_Difference = meanMethy2_T5 - meanMethy1_T5)
- T5_and_RVS_DMR <- T5_and_RVS_DMR %>%
- mutate(T5_RVS_Difference = meanMethy2_RVS - meanMethy1_RVS)
- write.table(T5_and_RVS_DMR, file = "../../Methylation_240724/T5_and_RVS_DMR.txt", sep = "\t", row.names = FALSE)
- # VIPR2 DMR
- VIPR2 <- read.table("../../rsem/output/iPSC/VIPR2_TPM.txt", sep = "\t")
- VIPR2$V1 <- sub("\\.genes.*", "", VIPR2$V1)
- colnames(VIPR2)[1] <- "seq_ID"
- VIPR2 <- VIPR2 %>%
- inner_join(iPSC_ID)
- VIPR2_T5 <- VIPR2 %>%
- mutate(state = case_when(
- Edit == "T5" ~ "T5 edit",
- Edit == "T5-RVS" ~ "T5 RVS",
- TRUE ~ "Background"
- ))
- T5_order <- c("Background", "T5 edit", "T5 RVS")
- VIPR2_T5$state <- factor(VIPR2_T5$state, levels = T5_order)
- VIPR2 <- ggplot(VIPR2_T5, aes(x = state, y = V6, fill = state)) +
- geom_boxplot(outlier.colour = NA, alpha = 0.5, lwd = 0.3) +
- geom_quasirandom(dodge.width = 0.8, shape = 21, size = 1.5) +
- scale_fill_manual(values = c("#0D4A80","#9CCB86","#355e3b")) +
- theme_bw() +
- theme(legend.position = "none") +
- theme(axis.text.x = element_text(angle = 45, vjust = 1, hjust=1)) +
- ylab("log10 expression (TPM)") +
- xlab("")
- VIPR2 + scale_y_continuous(trans='log10')
- ggsave("../plots/VIPR2_TPM.pdf", VIPR2, width = 6, height = 4)
- # STMN3 DMR
- STMN3 <- read.table("../../rsem/output/iPSC/STMN3_TPM.txt", sep = "\t")
- STMN3$V1 <- sub("\\.genes.*", "", STMN3$V1)
- colnames(STMN3)[1] <- "seq_ID"
- STMN3 <- STMN3 %>%
- inner_join(iPSC_ID)
- STMN3_T5 <- STMN3 %>%
- mutate(state = case_when(
- Edit == "T5" ~ "T5 edit",
- Edit == "T5-RVS" ~ "T5 RVS",
- TRUE ~ "Background"
- ))
- T5_order <- c("Background", "T5 edit", "T5 RVS")
- STMN3_T5$state <- factor(STMN3_T5$state, levels = T5_order)
- STMN3 <- ggplot(STMN3_T5, aes(x = state, y = V6, fill = state)) +
- geom_boxplot(outlier.colour = NA, alpha = 0.5, lwd = 0.3) +
- geom_quasirandom(dodge.width = 0.8, shape = 21, size = 1.5) +
- scale_fill_manual(values = c("#0D4A80","#9CCB86","#355e3b")) +
- theme_bw() +
- theme(legend.position = "none") +
- ylab("Log2FC")
- ggsave("../plots/STMN3_TPM.pdf", STMN3, width = 6, height = 4)
- #T5 DMR but not in T5 rvs
- T5_DMR <- read.table("../../rsem/output/iPSC/T5_DMR_genes.txt", sep = "\t")
- T5_DMR$V1 <- sub("\\.genes.*", "", T5_DMR$V1)
- colnames(T5_DMR)[1] <- "seq_ID"
- T5_DMR_lab <- T5_DMR %>%
- inner_join(iPSC_ID)
- T5_DMR_lab <- T5_DMR_lab %>%
- mutate(state = case_when(
- Edit == "T5" ~ "Target",
- Edit == "T5-RVS" ~ "RVS",
- TRUE ~ "Background"
- ))
- # ordering x-axis on plot
- T5_DMR_lab$state <- factor(T5_DMR_lab$state, levels = c("Background", "Target", "RVS"))
- T5_DMR <- ggplot(T5_DMR_lab, aes(x = state, y = V6, fill = state)) +
- geom_boxplot(outlier.colour = NA, alpha = 0.5, lwd = 0.3) +
- geom_quasirandom(dodge.width = 0.8, shape = 21, size = 1) +
- scale_fill_manual(values = c("#0D4A80", "#9CCB86", "#355e3b")) +
- theme_bw() +
- facet_grid(. ~ V2) +
- theme(legend.position = "none") +
- theme(axis.text.x = element_text(angle = 45, vjust = 1, hjust=1)) +
- xlab("") +
- ylab("TPM")
- ggsave("../plots/T5_DMR_4genes.pdf", width = 10, height = 6)
- # Gene set enrichment - neurons --------------------------------------------------------------------
- library("clusterProfiler")
- library("org.Hs.eg.db")
- library("AnnotationDbi")
- library("enrichplot")
- T5_sig <- t5_neuron_full %>%
- filter(padj < 0.05, abs(log2FoldChange) > 1) %>%
- arrange(desc(log2FoldChange))
- T5_list <- T5_sig$gene
- names(D_list) <- GP2_expression_1$Gene
- DAn_genes <- names(DAn_list)
- T5_gse <- enrichGO(T5_list,
- ont = "BP",
- keyType = "SYMBOL",
- pvalueCutoff = 0.05,
- pAdjustMethod = "BH",
- qvalueCutoff = 0.2,
- minGSSize = 10,
- OrgDb = "org.Hs.eg.db")
- T5_results <- as.data.frame(T5_gse)
- T5_gse_dot <- dotplot(T5_gse, showCategory = 20, size = "Count") +
- ggplot2::theme(
- axis.text.x = ggplot2::element_text(angle = 45, hjust = 1, size = 8),
- axis.text.y = ggplot2::element_text(size = 8)
- ) +
- ggplot2::coord_fixed(ratio = 0.015)
CRISPR_Tx_plots.R at commit d0c6733, no license · at the source
Overview
- Liggins Institute, The University of Auckland, Auckland 1023, New Zealand
- Oxford Parkinson’s Disease Centre and Department of Physiology, Anatomy and Genetics, University of Oxford, Oxford OX1 3QU, UK
- Kavli Institute for Neuroscience Discovery, Dorothy Crowfoot Hodgkin Building, University of Oxford, South Parks Road, Oxford OX1 3QU, UK
- Centre for Molecular Biology of Heidelberg University (ZMBH), University of Heidelberg, 69120 Heidelberg, Germany
- Australian Parkinsons Mission, Garvan Institute of Medical Research, Sydney, NSW, Australia
- St Vincent’s Clinical School, University of New South Wales, Sydney, NSW, Australia
- Singapore Institute for Clinical Sciences, Agency for Science Technology and Research, Singapore, Singapore
- MRC Lifecourse Epidemiology Unit, University of Southampton, Southampton, UK
Abstract
Non-coding variants associated with complex disease can shape gene regulatory networks across multiple genomic loci and cellular contexts. Here, we investigated the functional impact of the Parkinson-disease-associ
Reproduced under the paper's license (CC BY), from the paper cited above.
Repositories
Its files are read in the Code ↔ Paper reader above, with 3 matches between paragraphs and lines of code.
sfar956/PD_iPSC_Tx
d0c6733c1216b143fa5e331660dd784a0d9688ad, 30 April 2026Availability: 1 check, the latest on 27 September 2026: the link answers
- 27 September 2026: the link answers
2 files
- CRISPR_Tx_plots.R, R, 976 lines, 2 matches
- README.md, Text, 13 lines
nanoporetech/pod5-file-format
fdbe60a9a52aab8ce548be23b7e4025c9af89779, 21 September 2026Availability: 1 check, the latest on 27 September 2026: the link answers
- 27 September 2026: the link answers
209 files
- benchmarks/
build.sh , Shell, 12 lines - benchmarks/
convert/ , Shell, 6 linesrun_blow5.sh - benchmarks/
convert/ , Shell, 6 linesrun_pod5.sh - benchmarks/
find_all_read_ids/ , Shell, 6 linesrun_blow5.sh - benchmarks/
find_all_read_ids/ , Shell, 6 linesrun_fast5.sh - benchmarks/
find_all_read_ids/ , Shell, 6 linesrun_pod5.sh - benchmarks/
find_all_samples/ , Shell, 6 linesrun_blow5.sh - benchmarks/
find_all_samples/ , Shell, 6 linesrun_fast5.sh - benchmarks/
find_all_samples/ , Shell, 6 linesrun_pod5.sh - benchmarks/
find_selected_read_ids_r , Shell, 7 linesead_number/ run_blow5.sh - benchmarks/
find_selected_read_ids_r , Shell, 7 linesead_number/ run_fast5.sh - benchmarks/
find_selected_read_ids_r , Shell, 7 linesead_number/ run_pod5.sh - benchmarks/
find_selected_read_ids_s , Shell, 7 linesample_count/ run_blow5.sh - benchmarks/
find_selected_read_ids_s , Shell, 7 linesample_count/ run_fast5.sh - benchmarks/
find_selected_read_ids_s , Shell, 7 linesample_count/ run_pod5.sh - benchmarks/
find_selected_read_ids_s , Shell, 7 linesamples/ run_blow5.sh - benchmarks/
find_selected_read_ids_s , Shell, 7 linesamples/ run_fast5.sh - benchmarks/
find_selected_read_ids_s , Shell, 7 linesamples/ run_pod5.sh - benchmarks/
image/ , Shell, 35 linesinstall_slow5.sh - benchmarks/
run_benchmarks.py , Python, 295 lines - benchmarks/
run_benchmarks_in_docker , Shell, 13 lines.sh - benchmarks/
tools/ , Python, 35 linescheck_csvs_consistent.py - benchmarks/
tools/ , Shell, 29 linesfast5_to_single_blow5.sh - benchmarks/
tools/ , Python, 92 linesfind_and_get_fast5.py - benchmarks/
tools/ , Python, 277 linesfind_and_get_pod5.py - benchmarks/
tools/ , Python, 148 linespyslow5_tests.py - benchmarks/
tools/ , Shell, 4 linesrun_benchmarks_docker_en try.sh - benchmarks/
tools/ , Python, 26 linesselect-random-ids.py - c++/
examples/ , C++, 99 linesfind_all_read_data.cpp - c++/
examples/ , C++, 91 linesfind_all_read_ids.cpp - c++/
examples/ , C++, 125 linesfind_specific_read_ids.c pp - c++/
examples/ , C++, 142 linesfind_specific_read_ids_w ith_signal.cpp - c++/
pod5_format/ , C++, 260 linesasync_signal_loader.cpp - c++/
pod5_format/ , C/C++, 190 linesasync_signal_loader.h - c++/
pod5_format/ , C++, 1,577 linesc_api.cpp - c++/
pod5_format/ , C/C++, 1,127 linesc_api.h - c++/
pod5_format/ , C/C++, 24 linesdictionary_writer.h - c++/
pod5_format/ , C++, 23 linesenv_vars.cpp - c++/
pod5_format/ , C/C++, 9 linesenv_vars.h - c++/
pod5_format/ , C/C++, 130 linesexpandable_buffer.h - c++/
pod5_format/ , C/C++, 15 linesfile_output_stream.h - c++/
pod5_format/ , C++, 333 linesfile_reader.cpp - c++/
pod5_format/ , C/C++, 156 linesfile_reader.h - c++/
pod5_format/ , C/C++, 75 linesfile_recovery.h - c++/
pod5_format/ , C++, 83 linesfile_updater.cpp - c++/
pod5_format/ , C/C++, 25 linesfile_updater.h - c++/
pod5_format/ , C++, 871 linesfile_writer.cpp - c++/
pod5_format/ , C/C++, 227 linesfile_writer.h - c++/
pod5_format/ , C/C++, 264 linesinternal/ async_output_stream.h - c++/
pod5_format/ , C/C++, 456 linesinternal/ combined_file_utils.h - c++/
pod5_format/ , C/C++, 433 linesinternal/ linux_output_stream.h - c++/
pod5_format/ , C/C++, 3 linesinternal/ tracing/ tracing.h - c++/
pod5_format/ , C++, 80 linesio_manager.cpp - c++/
pod5_format/ , C/C++, 92 linesio_manager.h - c++/
pod5_format/ , C++, 47 linesmemory_pool.cpp - c++/
pod5_format/ , C/C++, 11 linesmemory_pool.h - c++/
pod5_format/ , C++, 63 linesmigration/ migration.cpp - c++/
pod5_format/ , C/C++, 139 linesmigration/ migration.h - c++/
pod5_format/ , C/C++, 253 linesmigration/ migration_utils.h - c++/
pod5_format/ , C++, 115 linesmigration/ v0_to_v1.cpp - c++/
pod5_format/ , C++, 146 linesmigration/ v1_to_v2.cpp - c++/
pod5_format/ , C++, 316 linesmigration/ v2_to_v3.cpp - c++/
pod5_format/ , C++, 80 linesmigration/ v3_to_v4.cpp - c++/
pod5_format/ , C++, 99 linesmigration/ v4_to_v5.cpp - c++/
pod5_format/ , C++, 103 linesmigration/ v5_to_v6.cpp - c++/
pod5_format/ , C++, 128 linesmigration/ v6_to_v7.cpp - c++/
pod5_format/ , C++, 408 linesread_table_reader.cpp - c++/
pod5_format/ , C/C++, 149 linesread_table_reader.h - c++/
pod5_format/ , C++, 105 linesread_table_schema.cpp - c++/
pod5_format/ , C/C++, 176 linesread_table_schema.h - c++/
pod5_format/ , C++, 23 linesread_table_utils.cpp - c++/
pod5_format/ , C/C++, 323 linesread_table_utils.h - c++/
pod5_format/ , C++, 201 linesread_table_writer.cpp - c++/
pod5_format/ , C/C++, 97 linesread_table_writer.h - c++/
pod5_format/ , C++, 105 linesread_table_writer_utils. cpp - c++/
pod5_format/ , C/C++, 136 linesread_table_writer_utils. h - c++/
pod5_format/ , C/C++, 439 linesrepack/ repack_functions.h - c++/
pod5_format/ , C++, 389 linesrepack/ repack_output.cpp - c++/
pod5_format/ , C/C++, 88 linesrepack/ repack_output.h - c++/
pod5_format/ , C/C++, 85 linesrepack/ repack_states.h - c++/
pod5_format/ , C/C++, 159 linesrepack/ repack_utils.h - c++/
pod5_format/ , C++, 133 linesrepack/ repacker.cpp - c++/
pod5_format/ , C/C++, 74 linesrepack/ repacker.h - c++/
pod5_format/ , C/C++, 12 linesresult.h - c++/
pod5_format/ , C++, 269 linesrun_info_table_reader.cp p - c++/
pod5_format/ , C/C++, 109 linesrun_info_table_reader.h - c++/
pod5_format/ , C++, 72 linesrun_info_table_schema.cp p - c++/
pod5_format/ , C/C++, 87 linesrun_info_table_schema.h - c++/
pod5_format/ , C++, 154 linesrun_info_table_writer.cp p - c++/
pod5_format/ , C/C++, 85 linesrun_info_table_writer.h - c++/
pod5_format/ , C/C++, 283 linesschema_field_builder.h - c++/
pod5_format/ , C++, 102 linesschema_metadata.cpp - c++/
pod5_format/ , C/C++, 65 linesschema_metadata.h - c++/
pod5_format/ , C++, 72 linesschema_utils.cpp - c++/
pod5_format/ , C/C++, 322 linesschema_utils.h - c++/
pod5_format/ , C/C++, 159 linessignal_builder.h - c++/
pod5_format/ , C++, 248 linessignal_compression.cpp - c++/
pod5_format/ , C/C++, 38 linessignal_compression.h - c++/
pod5_format/ , C++, 356 linessignal_table_reader.cpp - c++/
pod5_format/ , C/C++, 127 linessignal_table_reader.h - c++/
pod5_format/ , C++, 71 linessignal_table_schema.cpp - c++/
pod5_format/ , C/C++, 37 linessignal_table_schema.h - c++/
pod5_format/ , C/C++, 12 linessignal_table_utils.h - c++/
pod5_format/ , C++, 227 linessignal_table_writer.cpp - c++/
pod5_format/ , C/C++, 118 linessignal_table_writer.h - c++/
pod5_format/ , Python, 55 linessvb16/ generate_shuffle_tables. py - c++/
pod5_format/ , C/C++, 20 linessvb16/ svb16.h - c++/
pod5_format/ , C++, 70 linestable_reader.cpp - c++/
pod5_format/ , C/C++, 70 linestable_reader.h - c++/
pod5_format/ , C++, 199 linesthread_pool.cpp - c++/
pod5_format/ , C/C++, 32 linesthread_pool.h - c++/
pod5_format/ , C/C++, 37 linestuple_utils.h - c++/
pod5_format/ , C++, 169 linestypes.cpp - c++/
pod5_format/ , C/C++, 90 linestypes.h - c++/
pod5_format/ , C/C++, 329 linesuuid.h - c++/
pod5_format/ , C/C++, 24 linesversion_constants.h - c++/
pod5_format_pybind/ , C/C++, 624 linesapi.h - c++/
pod5_format_pybind/ , C++, 209 linesbindings.cpp - c++/
pod5_format_pybind/ , C++, 469 linessubset.cpp - c++/
pod5_format_pybind/ , C/C++, 14 linessubset.h - c++/
pod5_format_pybind/ , C/C++, 49 linesutils.h - c++/
test/ , C/C++, 89 linesTemporaryDirectory.h - c++/
test/ , C, 3 linesc_api_build_test.c - c++/
test/ , C++, 834 linesc_api_null_input.cpp - c++/
test/ , C/C++, 62 linesc_api_test_utils.h - c++/
test/ , C++, 966 linesc_api_tests.cpp - c++/
test/ , C++, 1,062 linesfile_reader_writer_tests .cpp - c++/
test/ , C++, 2 linesmain.cpp - c++/
test/ , C++, 133 linesoutput_stream_tests.cpp - c++/
test/ , C++, 233 linesread_table_tests.cpp - c++/
test/ , C++, 52 linesread_table_writer_utils_ tests.cpp - c++/
test/ , C++, 119 linesrun_info_table_tests.cpp - c++/
test/ , C++, 35 linesschema_tests.cpp - c++/
test/ , C++, 30 linessignal_compression_tests .cpp - c++/
test/ , C++, 144 linessignal_table_tests.cpp - c++/
test/ , C++, 81 linessvb16_scalar_tests.cpp - c++/
test/ , C++, 88 linessvb16_x64_tests.cpp - c++/
test/ , C/C++, 70 linestest_utils.h - c++/
test/ , C++, 118 linesthread_pool_tests.cpp - c++/
test/ , C/C++, 48 linesutils.h - c++/
test/ , C++, 311 linesuuid_tests.cpp - ci/
generate_coverage_report , Shell, 62 lines.sh - ci/
install.sh , Shell, 23 lines - ci/
package.sh , Shell, 44 lines - ci/
unpack_libs_for_python.s , Shell, 35 linesh - conanfile.py, Python, 188 lines
- fuzz/
fuzz_compress.cpp , C++, 92 lines - fuzz/
fuzz_file.cpp , C++, 283 lines - fuzz/
runner.cpp , C++, 81 lines - pod5_make_version.py, Python, 49 lines
- python/
lib_pod5/ , Python, 60 linessetup.py - python/
lib_pod5/ , Python, 54 linessrc/ lib_pod5/ __init__.py - python/
lib_pod5/ , Python, 30 linessrc/ test/ test_lib_pod5.py - python/
pod5/ , Python, 21 linesexamples/ find_all_reads.py - python/
pod5/ , Python, 29 linesexamples/ find_specific_reads.py - python/
pod5/ , Python, 14 linessetup.py - python/
pod5/ , Python, 64 linessrc/ pod5/ __init__.py - python/
pod5/ , Python, 95 linessrc/ pod5/ api_utils.py - python/
pod5/ , Python, 353 linessrc/ pod5/ dataset.py - python/
pod5/ , Python, 430 lines, 1 matchsrc/ pod5/ pod5_types.py - python/
pod5/ , Python, 1,374 linessrc/ pod5/ reader.py - python/
pod5/ , Python, 139 linessrc/ pod5/ repack.py - python/
pod5/ , Python, 163 linessrc/ pod5/ signal_tools.py - python/
pod5/ , Python, 1 linesrc/ pod5/ tools/ __init__.py - python/
pod5/ , Python, 66 linessrc/ pod5/ tools/ main.py - python/
pod5/ , Python, 741 linessrc/ pod5/ tools/ parsers.py - python/
pod5/ , Python, 842 linessrc/ pod5/ tools/ pod5_convert_from_fast5. py - python/
pod5/ , Python, 324 linessrc/ pod5/ tools/ pod5_convert_to_fast5.py - python/
pod5/ , Python, 113 linessrc/ pod5/ tools/ pod5_filter.py - python/
pod5/ , Python, 241 linessrc/ pod5/ tools/ pod5_inspect.py - python/
pod5/ , Python, 115 linessrc/ pod5/ tools/ pod5_merge.py - python/
pod5/ , Python, 100 linessrc/ pod5/ tools/ pod5_recover.py - python/
pod5/ , Python, 95 linessrc/ pod5/ tools/ pod5_repack.py - python/
pod5/ , Python, 274 linessrc/ pod5/ tools/ pod5_subset.py - python/
pod5/ , Python, 67 linessrc/ pod5/ tools/ pod5_update.py - python/
pod5/ , Python, 745 linessrc/ pod5/ tools/ pod5_view.py - python/
pod5/ , Python, 54 linessrc/ pod5/ tools/ polars_utils.py - python/
pod5/ , Python, 223 linessrc/ pod5/ tools/ utils.py - python/
pod5/ , Python, 420 linessrc/ pod5/ writer.py - python/
pod5/ , Python, 1 linesrc/ tests/ __init__.py - python/
pod5/ , Python, 375 linessrc/ tests/ conftest.py - python/
pod5/ , Python, 288 linessrc/ tests/ test_api.py - python/
pod5/ , Python, 721 linessrc/ tests/ test_convert_from_fast5. py - python/
pod5/ , Python, 125 linessrc/ tests/ test_convert_to_fast5.py - python/
pod5/ , Python, 478 linessrc/ tests/ test_dataset.py - python/
pod5/ , Python, 306 linessrc/ tests/ test_filter.py - python/
pod5/ , Python, 22 linessrc/ tests/ test_inspect.py - python/
pod5/ , Python, 148 linessrc/ tests/ test_merge.py - python/
pod5/ , Python, 46 linessrc/ tests/ test_migrate.py - python/
pod5/ , Python, 481 linessrc/ tests/ test_old_versions.py - python/
pod5/ , Python, 362 linessrc/ tests/ test_reader.py - python/
pod5/ , Python, 83 linessrc/ tests/ test_recover.py - python/
pod5/ , Python, 168 linessrc/ tests/ test_repack.py - python/
pod5/ , Python, 41 linessrc/ tests/ test_script/ check_migration_tmp_dir. py - python/
pod5/ , Python, 38 linessrc/ tests/ test_script/ check_migration_tmp_dir_ bad_input.py - python/
pod5/ , Python, 120 linessrc/ tests/ test_signal_tools.py - python/
pod5/ , Python, 549 linessrc/ tests/ test_subset.py - python/
pod5/ , Python, 382 linessrc/ tests/ test_tools.py - python/
pod5/ , Python, 98 linessrc/ tests/ test_update.py - python/
pod5/ , Python, 332 linessrc/ tests/ test_view.py - python/
pod5/ , Python, 169 linessrc/ tests/ test_writer.py - python/
pod5/ , Python, 75 linestest_utils/ check_pod5_files_equal.p y - test_package/
conanfile.py , Python, 41 lines - test_package/
test_cpp_api.cpp , C++, 4 lines - test_package/
test_package.cpp , C++, 20 lines - third_party/
include/ , C/C++, 27 linesgsl.h - third_party/
include/ , C/C++, 27 linesgsl/ gsl-lite.h - LICENSE.md, License, 362 lines
- README.md, Text, 53 lines
The paper's code and data availability statement is in the Data section.
Tracing map
Proposed by the machine: these links were found in the paper and verified at the source, without human review. The map will receive a Zenodo DOI once one of the paper's authors has validated it with their ORCID.
What the map holds:
- 2 repositories of the authors' code, each at its verified commit, with its license and how the link was found in the paper;
- 208 scripts, each with its path and the digest of its content;
- 3 matches between paragraphs of the paper and lines of the code (method lexical-v1);
- neither the text of the paper nor the code itself.
Its JSON (tracing-map.json) is deposited on Zenodo with its DOI once the map is validated.
Data
No dataset and no data link were found in the paper.
Data and code availability
• RNA-seq and long-read WGS data have been deposited in the NCBI Sequence Read Archive (SRA) and are publicly available as of the date of publication. AP-MS data are available via the PRIDE repository and are publicly available as of the date of publication. Accession numbers are listed in the key resources table. • All original code has been deposited in appropriate repositories and is available at https://
Reproduced under the paper's license (CC BY), from the paper cited above.
Versions
The history of this record: each version stored by the harvester or made by a correction of its authors or of the maintainers of its code, and what changed in its facts. The texts of the paper (its abstract, its availability statements) are not part of it; versions that changed only those are not listed.
Version 2, 28 September 2026
- Authors: added Sophie L. Farrow (0000-0002-6578-4219); removed Sophie L. Farrow
Version 1, 27 September 2026: the first record
Recorded: type, language, journal, volume, issue, pages, dates, 7 authors, 3 keywords, 6 funders, 54 references, 3 RRIDs.
Cite
This paper
Farrow, S. L., Gokuladhas, S., Akan, I. S., Nyaga, D., Cooper, A. A., Grand, R. S., & O’Sullivan, J. M. (2026). Dissecting genotype-specific effects of disease-associated genetic variants. iScience, 29(6), 116143. https://
BibTeX
@article{farrow2026disse
author = {Farrow, Sophie L. and Gokuladhas, Sreemol and Akan, Izlem Su and Nyaga, Denis and Cooper, Antony A. and Grand, Ralph Stefan and O’Sullivan, Justin M.},
title = {{Dissecting genotype-specific effects of disease-associated genetic variants}},
journal = {iScience},
year = {2026},
month = jun,
volume = {29},
number = {6},
pages = {116143},
publisher = {Elsevier},
issn = {2589-0042},
doi = {10.1016/
url = {https://
pmid = {42291199},
pmcid = {PMC13253082}
}
RIS
TY - JOUR
AU - Farrow, Sophie L.
AU - Gokuladhas, Sreemol
AU - Akan, Izlem Su
AU - Nyaga, Denis
AU - Cooper, Antony A.
AU - Grand, Ralph Stefan
AU - O’Sullivan, Justin M.
TI - Dissecting genotype-specific effects of disease-associated genetic variants
T2 - iScience
J2 - iScience
PY - 2026
DA - 2026/
VL - 29
IS - 6
SP - 116143
SN - 2589-0042
PB - Elsevier
DO - 10.1016/
UR - https://
LA - en
ER -
CSL-JSON
{
"id": "10.1016/
"type": "article-journal",
"title": "Dissecting genotype-specific effects of disease-associated genetic variants",
"container-title": "iScience",
"author": [
{
"family": "Farrow",
"given": "Sophie L."
},
{
"family": "Gokuladhas",
"given": "Sreemol"
},
{
"family": "Akan",
"given": "Izlem Su"
},
{
"family": "Nyaga",
"given": "Denis"
},
{
"family": "Cooper",
"given": "Antony A."
},
{
"family": "Grand",
"given": "Ralph Stefan"
},
{
"family": "O’Sullivan",
"given": "Justin M."
}
],
"container-title-short":
"volume": "29",
"issue": "6",
"page": "116143",
"DOI": "10.1016/
"PMID": "42291199",
"PMCID": "PMC13253082",
"ISSN": "2589-0042",
"publisher": "Elsevier",
"URL": "https://
"language": "en",
"issued": {
"date-parts": [
[
2026,
6,
1
]
]
}
}
The tracing map gets a citation of its own once an author has validated it and it has a DOI.
Similar papers
The papers with a page that share the most with this one: the tools found in their code, their categories, datasets, cited references and authors, the rarest counting most.
- [1] doi:10.1093/brain/awac022 [code]
- Establishing gene regulatory networks from Parkinson's disease risk loci.Journal: Brain : a journal of neurologyIn common: pandas, NumPy, genetics / omics, 6 references, author Sophie L. Farrow
- [2] doi:10.3389/fgene.2021.785436 [code]
- Machine Learning Identifies Six Genetic Variants and Alterations in the Heart Atrial Appendage as Key Contributors to PD Risk Predictivity.Journal: Frontiers in geneticsIn common: pandas, NumPy, genetics / omics, 4 references, author Sophie L. Farrow
- [3] doi:10.1038/s41588-023-01300-6 [code]
- Brain expression quantitative trait locus and network analyses reveal downstream effects and putative drivers for brain-related diseases.Journal: Nature geneticsIn common: clusterProfiler, DESeq2, ggpubr, 4 other tools, genetics / omics, 4 references
- [4] doi:10.1038/s41593-025-02154-3 [code]
- CRISPRi screening in cultured human astrocytes uncovers distal enhancers controlling genes dysregulated in Alzheimer's disease.Journal: Nature neuroscienceIn common: clusterProfiler, DESeq2, ggpubr, 3 other tools, genetics / omics, 3 references
- [5] doi:10.1126/sciadv.adp8504 [code]
- Astrocytic RNA editing regulates the host immune response to alpha-synuclein.Journal: Science advancesIn common: clusterProfiler, DESeq2, ggpubr, 4 other tools, 5 references
- [6] doi:10.1038/s41531-024-00638-w [code]
- Discovering genetic mechanisms underlying the co-occurrence of Parkinson's disease and non-motor traits.Journal: NPJ Parkinson's diseaseIn common: ggpubr, ggplot2, tidyverse, 2 other tools, genetics / omics, 2 references, author Sophie L. Farrow
- [7] doi:10.1038/s41467-026-72598-z [code]
- Functional impact of genetic background on variable expressivity in neurodevelopmental disorders.Journal: Nature communicationsIn common: clusterProfiler, DESeq2, ggpubr, 4 other tools, 3 references
- [8] doi:10.1093/nar/gkae1129 [code]
- Identifying key underlying regulatory networks and predicting targets of orphan C/
D box SNORD116 snoRNAs in Prader-Willi syndrome. Journal: Nucleic acids researchIn common: clusterProfiler, DESeq2, ggpubr, 2 other tools, 5 references - [9] doi:10.3389/fnmol.2023.1308610 [code]
- Plasma cell-free RNA profiling of Vietnamese Alzheimer's patients reveals a linkage with chronic inflammation and apoptosis: a pilot study.Journal: Frontiers in molecular neuroscienceIn common: clusterProfiler, DESeq2, ggpubr, 2 other tools, genetics / omics, 3 references
- [10] doi:10.1038/s41588-021-00976-y [code]
- Genetic analysis of the human microglial transcriptome across brain regions, aging and disease pathologies.Journal: Nature geneticsIn common: DESeq2, ggpubr, ggplot2, 3 other tools, genetics / omics, 4 references
Contribute
The authors of this paper can claim it, correct its record and validate its tracing map, and the maintainers of its code (its owner, or a public member of its organization) correct what it says of their repository; anyone signed in can ask for its removal. Every request goes to OSCR's own machine, which answers it; your account page follows them.
Sign in with ORCID to claim this paper as one of its authors, correct its record or validate its tracing map: when the paper's metadata lists your ORCID iD, you are recognized at once. Maintainers of its code: sign in with GitHub, then claim the repository on your account page.
Claim this paper
Correct its record
Say what each link of this record is, remove the ones that are not the paper's, add the ones that are missing. The correction becomes a new version of the record, in its Versions section.
Validate its tracing map
You validate the map as this page shows it: 2 repositories of the authors' code, each at its verified commit and with its license, 208 scripts, and 3 matches between paragraphs and code (see the Code and Map sections). It then receives a DOI on Zenodo, with you (your ORCID iD) and OSCR as its creators; the code itself is not deposited.
The map's fingerprint: sha256:f969b9cb9145451f…
Add the badge to the code's README
If you are an author or a maintainer of this paper's code, you can add this badge. It says what OSCR knows of the paper (its code, its validated tracing map) and links the code to this page. Paste one of these snippets under the README's title. Keep the two marks around it, so that the badge can be replaced in place and is never added twice. OSCR changes nothing in your repository.
Markdown
<!-- oscr-badge:start -->
[](https://openscicode.org/badge/doi/10.1016/j.isci.2026.116143)
<!-- oscr-badge:end -->reStructuredText
.. oscr-badge:start
.. image:: https://openscicode.org/badge/doi/10.1016/j.isci.2026.116143.svg
:target: https://openscicode.org/badge/doi/10.1016/j.isci.2026.116143
:alt: OSCR
.. oscr-badge:endHTML
<!-- oscr-badge:start -->
<a href="https://openscicode.org/badge/doi/10.1016/j.isci.2026.116143"><img src="https://openscicode.org/badge/doi/10.1016/j.isci.2026.116143.svg" alt="OSCR"></a>
<!-- oscr-badge:end -->On GitHub, open the README, choose Edit (the pencil), paste the snippet under the title, then "Commit changes".
If you choose to, you can have the badge kept up to date for you, with oscr badge --write from the command line or with the GitHub Action in your repository's workflows. Every other form and option (a card, AsciiDoc, LaTeX, shields.io) is on the badge page.
Request its removal
To ask OSCR to remove this record, the copies of its authors' scripts or its tracing map, use the removal request page: signed in, you say who you are, what to remove and why, then review and confirm the request. Published rules decide every request (how).
Discussion, reproductions, activity
Discussion: code errors and mismatches between the code and the paper about this paper and its code, from readers and its authors, beside the paper and its tracing map.
Report a mismatch between the code and the paper · Report a code error (signed in)
Reproductions: reports from readers who ran the authors' code and did not get the paper's result, what they ran, with which environment, commit and data.
Report a reproduction failure (signed in)
Versions of its code: the releases of its code tied to a version of this paper (the preprint, the accepted manuscript, the version of record…), each with the tracing map versioned with it.
Activity: what happens around this paper: new versions of its record, its map's validation, discussions and reproductions. It opens with sign-in.
