Gli3R-mediated inhibition of hedgehog signaling alters the embryonic transcriptome in zebrafish.
Paper
Loaded from Europe PMC by your browser, not stored by OSCR: doi.org · Europe PMC
The paper is loaded when this pane is shown.
The authors' code
R · 248 lines · 9.1 KB · no license
- library("DESeq2")
- library("RColorBrewer")
- library("gplots")
- library("ggplot2")
- library("dplyr")
- library("regionReport")
- library("pathview")
- library("gage")
- library("GenomicAlignments")
- library("biomaRt")
- library("pheatmap")
- library("dplyr")
- library("EnhancedVolcano")
- library("biomaRt")
- library("clusterProfiler")
- library("tidyverse")
- library("data.table")
- library("ReactomePA")
- library("org.Dr.eg.db")
- library("formattable")
- library("stringr")
- library("recount")
- library("gageData")
- library("tidyr")
- library(optparse)
- option_list = list(
- make_option(c("-d", "--directory"), type="character", default=NULL,
- help="working directory", metavar="character"),
- # make_option(c("-o", "--out"), type="character", default="out.txt",
- # help="output file name [default= %default]", metavar="character"),
- make_option(c("-p", "--prefix"), type="character", default="defaultname",
- help="prefix name for all graphs [default= %default]", metavar="character"),
- make_option(c("-s", "--sampletable"), type="character", default="defaultname",
- help="sample table csv file [default= %default]", metavar="character")
- # make_option(c("-c", "--mincell"), type="integer", default=3,
- # help="minimum number of cells [default= %default]", metavar="integer"),
- # make_option(c("-d", "--minfeat"), type="integer", default=200,
- # help="minimum number of molecules [default= %default]", metavar="integer")
- );
- opt_parser = OptionParser(option_list=option_list);
- opt = parse_args(opt_parser);
- #if (is.null(opt$file)){
- # print_help(opt_parser)
- # stop("At least one argument must be supplied (input file)", call.=FALSE)
- #}
- outputPrefix <- opt$prefix
- directory <- opt$directory
- sampleTablefile <- opt$sampletable
- #sampleTable <- read.csv("input.csv")
- sampleTable <- read.csv(sampleTablefile)
- # CHANGE BELOW
- treatments = c("wt","hom") ##genotype again
- ddsHTSeq <-DESeqDataSetFromHTSeqCount(sampleTable=sampleTable,directory=directory,
- design=~condition)
- colData(ddsHTSeq)$condition <- factor(colData(ddsHTSeq)$condition,levels=treatments)
- dds <-DESeq(ddsHTSeq)
- # filtering might need to change depending on sample number
- keep <- rowSums(counts(dds) == 0) < 4
- dds <- dds[keep,]
- # CHANGE BELOW
- res <-results(dds,contrast=c("condition","hom","wt")) ##contrast= sets the order of analysis to hom vs wt. If obmitted, the order will be alphabetical
- res<-res[order(res$pvalue),]
- rlog<-rlog(dds)
- vst <-vst(dds)
- gene_name <-read.csv("llgeneid_genename.csv") ##this file has LLgeneID as column 1 and LLgeneAbbrev/gene name as column 2
- dataframe_res <-as.data.frame(res)
- dataframe_res$LLgeneID<-row.names(dataframe_res)
- dataframe_res<-dataframe_res[c(7,1:6)]
- res_gene <-inner_join(dataframe_res,gene_name,by="LLgeneID")
- res_gene<-res_gene[!is.na(res_gene$padj),]
- res_gene_p<-subset(res_gene,padj<0.05)
- res_gene_p_up<-subset(res_gene_p,log2FoldChange>0)
- res_gene_p_down<-subset(res_gene_p,log2FoldChange<0)
- write.csv(res_gene,file=paste0(outputPrefix,"_allresults_wt_hom-with-normalized.csv")) ##this output file is normalized change in expression of all genes
- write.csv(res_gene_p,file=paste0(outputPrefix,"_topp_wt_hom-with-normalized.csv")) ##this output file is normalized changed in expression of genes with an adjusted p values of <0.05
- write.csv(res_gene_p_up,file=paste0(outputPrefix,"_upreg_topp_wt_hom-with-normalized.csv")) ##this output file is normalized changed in expression of genes with an adjusted p values of <0.05
- write.csv(res_gene_p_down,file=paste0(outputPrefix,"_downreg_topp_wt_hom-with-normalized.csv")) ##this output file is normalized changed in expression of genes with an adjusted p values of <0.05
- {
- listMarts()
- ensembl=useMart("ensembl")
- listDatasets(ensembl)
- ensembl=useDataset("drerio_gene_ensembl", mart=ensembl)
- listAttributes(mart=ensembl)
- annoDRerio <- getBM(attributes = c("ensembl_gene_id", "ensembl_gene_id_version","entrezgene_id",
- "zfin_id_symbol", "description", "external_gene_name"), mart=ensembl)
- }
- anno_gene_list_up <- inner_join(res_gene_p_up,annoDRerio,by=c("LLgeneAbbrev" ="external_gene_name"))
- keggPA_up = as.data.frame(enrichKEGG(gene=anno_gene_list_up$entrezgene_id, organism="dre",pvalueCutoff=0.05))
- write.csv(keggPA_up,file=paste0(outputPrefix,"_up_pathways.csv")) ##this output file give kegg pathways IDs, names, and statistical values
- {
- listMarts()
- ensembl=useMart("ensembl")
- listDatasets(ensembl)
- ensembl=useDataset("drerio_gene_ensembl", mart=ensembl)
- listAttributes(mart=ensembl)
- annoDRerio <- getBM(attributes = c("ensembl_gene_id", "ensembl_gene_id_version","entrezgene_id",
- "zfin_id_symbol", "description", "external_gene_name"), mart=ensembl)
- }
- anno_gene_list_down <- inner_join(res_gene_p_down,annoDRerio,by=c("LLgeneAbbrev" ="external_gene_name"))
- keggPA_down = as.data.frame(enrichKEGG(gene=anno_gene_list_down$entrezgene_id, organism="dre",pvalueCutoff=0.05))
- write.csv(keggPA_down,file=paste0(outputPrefix,"_down_pathways.csv")) ##this output file give kegg pathways IDs, names, and statistical values
- # pathview <-pathview(gene.data=res_gene_p[,3],pathway.id="dre04110",species="dre")
- ## the next few plots will be saved in your working directory
- ##MA plot
- jpeg(file=paste0(outputPrefix,"_MA_basemeans.jpeg"))
- plotMA(dds) ##MA plot of base means
- dev.off()
- jpeg(file=paste0(outputPrefix,"_MA_logfoldchange.jpeg"))
- plotMA(res) ##MA plot of logfold change
- dev.off()
- ##PCA
- jpeg(file=paste0(outputPrefix,"_PCA.jpeg"))
- plotPCA(rlog,"condition")
- dev.off()
- #print(res_gene)
- #print(res_gene$LLgeneAbbrev)
- #head(res)
- #head(res_gene)
- #rownames(res_gene) <- res_gene$LLgeneAbbrev
- # there are non-unique values here, need to solve this
- #head(res_gene)
- ##volcano
- pdf(file=paste0(outputPrefix,"_volcano.pdf"))
- EnhancedVolcano(res, x = 'log2FoldChange', lab = rownames(res), labSize = 6.0,
- y = 'padj',ylab=bquote(~-Lot[10] ~ italic(Padj)),col=c("grey","grey","magenta","magenta"),pCutoff=0.05,
- legendPosition = 'none',cutoffLineType="blank",xlim=c(-3,3),ylim=0,5)
- dev.off()
- ##each gene (with llgene ID, gene name, and entrez ID) and then normalized counts for each sample
- countsdata <-counts(dds,normalized=TRUE)
- namelist <-read.csv("LLgeneID_entrezID.csv")
- ##want to merge countsdata with namelist and gene_name
- rownames(namelist) <- namelist[,1]
- rownames(gene_name) <- gene_name[,1]
- genecounts<-merge(gene_name,namelist,by=0)
- rownames(genecounts)<-genecounts[,1]
- genecounts<-merge(genecounts,countsdata,by=0)
- genecounts<-genecounts[,-(1:3)]
- write.csv(genecounts,file=paste0(outputPrefix,"_normalized_reads_gene_list.csv")) ##this output file is normalized change in expression of all genes
- ##dot plot of only significant genes (in res_gene_p)
- #make counts data with 1st column is LLgeneID, then merge with res_gene_p
- countsdata<-as.data.frame(countsdata)
- countsdata1 <-setDT(countsdata, keep.rownames = "LLgeneID")
- countsdata1<-countsdata1[match(res_gene_p$LLgeneID,countsdata1$LLgeneID,)]
- countsdata1_good<-as.data.frame(t(countsdata1))
- colnames(countsdata1_good) <-countsdata1_good[1,]
- countsdata1_good<-countsdata1_good[-c(1),]
- #for(i in 1:ncol(countsdata1_good)) {
- # jpeg(file=paste(outputPrefix,"_expression_",i,".jpeg",sep=""))
- # print(ggplot(countsdata1_good,aes(x=rownames(countsdata1_good),y=countsdata1_good[,i]))+
- # geom_point()+labs(x="sample",y="normalized counts",title=colnames(countsdata1_good[i])))
- # dev.off()
- #}
- ##dot plot of every gene---this is really a lot so I would recommend only using it if you really want it or altering this code to get a specific gene graph
- #genecountst<-as.data.frame(t(genecounts))
- #genecounts_good <-genecountst[-c(1,3),]
- #colnames(genecounts_good) <-genecounts_good[1,]
- #genecounts_good<-genecounts_good[-c(1),]
- #for(i in 1:ncol(genecounts_good)) {
- # jpeg(file=paste0(outputPrefix,"_expression_[i].jpeg"))
- #print(ggplot(genecounts_good,aes(x=rownames(genecounts_good),y=genecounts_good[,i]))+geom_point())
- # dev.off()
- #}
- ##pathway graph
- keggPA_down$NegLogPAdj <-log10(keggPA_down$p.adjust)
- keggPA_up$NegLogPAdj <--log10(keggPA_up$p.adjust)
- keggPA_forplot <-rbind(keggPA_down,keggPA_up) ##only use this for making a plot because I flipped the log adjusted p values in order to force the down regulated pathways to be on the left....
- color<-ifelse(keggPA_forplot$NegLogPAdj<0,"blue","yellow")
- jpeg(file=paste0(outputPrefix,"_pathways.jpeg"))
- ggplot(keggPA_forplot, aes(y=reorder(Description,NegLogPAdj), x=NegLogPAdj))+geom_bar(stat="identity",fill=color)+
- labs(x="log 10 padj",y="pathway")
- dev.off()
- jpeg(file=paste0(outputPrefix,"_pathways_up.jpeg"))
- ggplot(keggPA_up, aes(y=Description, x=NegLogPAdj))+geom_bar(stat="identity")
- dev.off()
- jpeg(file=paste0(outputPrefix,"_pathways_down.jpeg"))
- ggplot(keggPA_down, aes(y=Description, x=-NegLogPAdj))+geom_bar(stat="identity")
- dev.off()
- ###grouping of samples in tree and in heatmap
- sampleDists <-dist(t(assay(vst)))
- plot(hclust(sampleDists))
- sampleDistMatrix <- as.matrix(sampleDists)
- rownames(sampleDistMatrix) <- paste(vst$condition, vst$type, sep="-")
- colnames(sampleDistMatrix) <- NULL
- pheatmap(sampleDistMatrix, clustering_distance_rows=sampleDists, clustering_distance_cols=sampleDists)
deseq2gene.R at commit 78a5c66, no license · at the source
Overview
Abstract
Hedgehog signaling is a conserved developmental pathway that patterns diverse tissues during vertebrate embryogenesis. In zebrafish, disruptions to the hedgehog pathway cause well-characterized defects in specific cell types including neurons and glia derived from the ventral neural tube. We inhibited hedgehog signaling by overexpressing the Gli3 repressor ubiquitously and performed bulk RNA sequencing of 30 h postfertilization zebrafish embryos. Consistent with known roles of hedgehog signaling, we observed reduced expression of genes marking lateral floor plate, motor neurons, Kolmer–Agduhr cells, dopaminergic neurons, slow muscle cells, and anterior pituitary. Gene set enrichment analysis using marker genes derived from the Daniocell atlas also revealed downregulation of genes marking H+-ATPase-rich ionocytes, which are located in the embryonic skin and are responsible for osmotic homeostasis. Reduced expression of ionocyte-specific transporter genes and the transcription factor foxi3a suggests that Gli activity may play a previously unrecognized role in the specification of this cell type.
Reproduced under the paper's license (CC BY), from the paper cited above.
Repository
Its files are read in the Code ↔ Paper reader above.
thymelab/BulkRNASeq
78a5c66c052e34741360ac8057e77038f570d772, 6 January 2024Availability: 1 check, the latest on 30 September 2026: the link answers
- 30 September 2026: the link answers
3 files
- deseq2gene.R, R, 248 lines
- deseq2gene_combatseq.R, R, 294 lines
- README.md, Text, 1 line
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:
- 1 repository of the authors' code, each at its verified commit, with its license and how the link was found in the paper;
- 2 scripts, each with its path and the digest of its content;
- no match between paragraphs and code yet;
- 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 Availability
Plasmids are available upon request. Raw RNA-seq data and gene counts have been deposited in GEO (GSE307979; Thyme 2025). Processed data are available in Supplementary Table 1.
Supplemental material available at G3 online.
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 1, 30 September 2026: the first record
Recorded: type, language, journal, volume, issue, pages, dates, 2 authors, 10 keywords, 10 MeSH terms, 2 funders, 52 references.
Cite
This paper
Moyer, A. J., & Thyme, S. B. (2026). Gli3R-mediated inhibition of hedgehog signaling alters the embryonic transcriptome in zebrafish. G3 (Bethesda, Md.), 16(3), jkaf306. https://
BibTeX
@article{moyer2026gli3r,
author = {Moyer, Anna J and Thyme, Summer B},
title = {{Gli3R-mediated inhibition of hedgehog signaling alters the embryonic transcriptome in zebrafish}},
journal = {G3 (Bethesda, Md.)},
year = {2026},
month = mar,
volume = {16},
number = {3},
pages = {jkaf306},
publisher = {Oxford University Press},
issn = {2160-1836},
doi = {10.1093/
url = {https://
pmid = {41546624},
pmcid = {PMC12958812}
}
RIS
TY - JOUR
AU - Moyer, Anna J
AU - Thyme, Summer B
TI - Gli3R-mediated inhibition of hedgehog signaling alters the embryonic transcriptome in zebrafish
T2 - G3 (Bethesda, Md.)
J2 - G3 (Bethesda)
PY - 2026
DA - 2026/
VL - 16
IS - 3
SP - jkaf306
SN - 2160-1836
PB - Oxford University Press
DO - 10.1093/
UR - https://
LA - en
ER -
CSL-JSON
{
"id": "10.1093/
"type": "article-journal",
"title": "Gli3R-mediated inhibition of hedgehog signaling alters the embryonic transcriptome in zebrafish",
"container-title": "G3 (Bethesda, Md.)",
"author": [
{
"family": "Moyer",
"given": "Anna J"
},
{
"family": "Thyme",
"given": "Summer B"
}
],
"container-title-short":
"volume": "16",
"issue": "3",
"page": "jkaf306",
"DOI": "10.1093/
"PMID": "41546624",
"PMCID": "PMC12958812",
"ISSN": "2160-1836",
"publisher": "Oxford University Press",
"URL": "https://
"language": "en",
"issued": {
"date-parts": [
[
2026,
3,
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.1126/sciadv.aed2952 [code]
- Activation of transposable elements is linked to a region- and cell type-specific interferon response in Parkinson's disease.Journal: Science advancesIn common: DESeq2, clusterProfiler, pheatmap, 3 other tools, 3 references
- [2] doi:10.1038/s41598-026-51501-2 [code]
- Expanding canonical cortical cell type markers in the era of single-cell transcriptomics.Journal: Scientific reportsIn common: DESeq2, clusterProfiler, pheatmap, 3 other tools, genetics / omics, 2 references
- [3] doi:10.1038/s41467-026-70232-6 [code]
- Gene expression dynamics of human and mouse craniofacial development at the single-cell level.Journal: Nature communicationsIn common: DESeq2, clusterProfiler, pheatmap, 3 other tools, genetics / omics, 1 reference
- [4] doi:10.1093/bioinformatics/btag592 [code]
- Network-based stratification of allele-specific expression reveals patient subgroups in Huntington's disease.Journal: Bioinformatics (Oxford, England)In common: DESeq2, clusterProfiler, pheatmap, 3 other tools, genetics / omics, 2 references
- [5] doi:10.21203/rs.3.rs-9927928/v1 [code]
- Genome-wide and allele-resolved maps of the radial architecture of the mouse genomeJournal: Research Square (preprint)In common: DESeq2, clusterProfiler, pheatmap, 3 other tools, genetics / omics, 2 references
- [6] doi:10.1038/s41386-026-02406-1 [code]
- Functional genomic profiling of schizophrenia-associated
genes reveals key microglial regulators. Journal: Neuropsychopharmacology : official publication of the American College of NeuropsychopharmacologyIn common: DESeq2, clusterProfiler, pheatmap, 3 other tools, genetics / omics, 2 references - [7] doi:10.1038/s41467-026-69944-6 [code]
- Multi-modal dissection of cell-type specific TDP-43 pathology in the motor cortex.Journal: Nature communicationsIn common: DESeq2, clusterProfiler, pheatmap, 3 other tools, genetics / omics, 2 references
- [8] doi:10.1038/s41586-026-10629-x [code]
- Whole-genome duplication shaped cell-type evolution in the vertebrate brain.Journal: NatureIn common: DESeq2, clusterProfiler, pheatmap, 2 other tools, genetics / omics, 3 references
- [9] doi:10.7554/elife.107393 [code]
- Chromosome-scale genome assembly of the European common cuttlefish &
lt;i& gt;Sepia officinalis& lt;/ i& gt;. Journal: eLifeIn common: DESeq2, clusterProfiler, pheatmap, 3 other tools, 2 references - [10] doi:10.1371/journal.pcbi.1014573 [code]
- Cell-type-specific m1A dynamics are associated with microglial phenotypic transition and neuronal metabolic adaptation during spinal cord injury.Journal: PLoS computational biologyIn common: DESeq2, clusterProfiler, pheatmap, 3 other tools, genetics / omics, 1 reference
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: 1 repository of the authors' code, each at its verified commit and with its license, 2 scripts, and 0 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:5e2bcb146d4c562b…
Add the badge to its README
The badge links the code to this page. Copy one of these into the README of the paper's code: only you decide where it goes, and nothing is changed for you.
Markdown
[, paste the snippet at the top, then “Commit changes…” and, to review it first, “Create a new branch and start a pull request”. You open the pull request; OSCR asks for no permission.
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: questions and error reports about this paper and its code, from signed-in readers and its authors. It opens with sign-in.
Reproductions: reports from readers who ran the authors' code: what they reproduced, with which environment, commit and data. It opens with sign-in.
Activity: what happens around this paper: new versions of its record, its map's validation, discussions and reproductions. It opens with sign-in.
