Thyroid-stimulating hormone receptor mediates peripheral-central neuroimmune crosstalk in autoimmune thyroid diseases.
The 7 matches · 3 of them tie a paragraph to a whole file, not to given lines: weak matches, whose lines are not tinted
- [1] § Methods › Genetic association and causal inference ↔ MR.R, lines 876–940 · score 0.71 · inverse variance weighted, MR Egger, IVW, filtering, FDR, IDPs
- [2] § Methods › Transcriptome-wide integration ↔ xqtl_muti.R, lines 362–415 · score 0.65 · pp h4, eQTL, posterior, colocalization, tissue, GWAS
- [3] § Methods › Bulk and single-cell RNA-seq profiling ↔ brain_code/cellchat.R, the whole file · a weak match · score 0.64 · scRNA, Seurat, gene expression, Disease, cell
- [4] § Methods › Transcriptome-wide integration ↔ brain_code/cellchat.R, the whole file · a weak match · score 0.60 · gene expression, aggregating, probabilities, PPI, inference, Pathway
- [5] § Results › SMR and colocalization analyses prioritize candidate genes for GD and GO ↔ xqtl_muti.R, lines 135–153 · score 0.59 · cerebellar hemisphere, nucleus accumbens, GTEx, blood, tissues, brain
- [6] § Results › SMR and colocalization analyses prioritize candidate genes for GD and GO ↔ xqtl_muti.R, lines 362–415 · score 0.56 · pp h4, eQTL, abf, colocalization, GWAS, genes
- [7] § Methods › Structural biological analysis and drug screening ↔ brain_code/structure.R, the whole file · a weak match · score 0.52 · CABS flex, RMSF, residues
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 · 658 lines · 20 KB · no license · 3 matches
- #!/usr/bin/env Rscript
- # ============================================================================
- # 共定位分析脚本 - 自动检测基因组版本 - 跳过已有结果 - 并行版本
- # ============================================================================
- # 解决包版本冲突
- .libPaths(c(
- Sys.getenv("R_LIBS_USER"),
- .libPaths()
- ))
- # 确保使用正确版本的Bioconductor包
- if (packageVersion("BiocGenerics") < "0.51.2") {
- message("WARNING: BiocGenerics version too old, attempting to update...")
- if (!require("BiocManager", quietly = TRUE))
- install.packages("BiocManager")
- BiocManager::install("BiocGenerics", update = TRUE, ask = FALSE)
- }
- suppressPackageStartupMessages({
- library(data.table)
- library(stringr)
- library(xQTLbiolinks)
- library(dplyr)
- library(optparse)
- library(xQTLbiolinks)
- library(coloc)
- library(hyprcoloc)
- library(data.table)
- library(stringr)
- library(R.utils)
- library(TxDb.Hsapiens.UCSC.hg38.knownGene)
- library(VariantAnnotation)
- library(parallel)
- library(foreach)
- library(doParallel)
- })
- # ============================================================================
- # 命令行参数解析
- # ============================================================================
- option_list <- list(
- make_option(c("-i", "--input_dir"), type="character", default="./vcf/converted_gwas",
- help="Directory containing GWAS files (*.smr.txt.gz) [default: %default]"),
- make_option(c("-o", "--output_dir"), type="character", default="./coloc_result",
- help="Output directory [default: %default]"),
- make_option(c("-p", "--pvalue"), type="numeric", default=5e-6,
- help="P-value threshold for sentinel SNPs [default: %default]"),
- make_option(c("-f", "--force"), action="store_true", default=FALSE,
- help="Force rerun even if results exist [default: %default]"),
- make_option(c("-n", "--ncores"), type="integer", default=6,
- help="Number of parallel cores [default: %default]")
- )
- opt_parser <- OptionParser(option_list=option_list)
- opt <- parse_args(opt_parser)
- # 创建输出目录
- if (!dir.exists(opt$output_dir)) {
- dir.create(opt$output_dir, recursive = TRUE)
- }
- # ============================================================================
- # 基因组版本检测函数(从Python移植)
- # ============================================================================
- detect_genome_version <- function(gwas_df) {
- # hg19/GRCh37 锚点 SNP
- anchors <- list(
- 'rs3131972' = 752721,
- 'rs530212009' = 628154,
- 'rs13303240' = 928720,
- 'rs12124819' = 1022045,
- 'rs41285790' = 2507108,
- 'rs12082461' = 10007631,
- 'rs12119391' = 20002875,
- 'rs2236357' = 50002830,
- 'rs12039209' = 100000350,
- 'rs10915170' = 200000302
- )
- # 检查是否有位置信息
- if (!all(c("SNP", "pos", "chr") %in% colnames(gwas_df))) {
- warning("Missing position columns, assuming GRCh38")
- return(list(version = "grch37", grch37To38 = TRUE))
- }
- # 取前100000行进行检测
- sample_size <- min(nrow(gwas_df), 100000)
- df_sample <- head(gwas_df, sample_size)
- # 找到匹配的锚点SNP
- matched <- df_sample[df_sample$SNP %in% names(anchors), ]
- if (nrow(matched) == 0) {
- message("No anchor SNPs found, assuming GRCh38")
- return(list(version = "grch37", grch37To38 = TRUE))
- }
- # 检查位置匹配度
- correct_count <- 0
- for (i in 1:nrow(matched)) {
- snp_id <- matched$SNP[i]
- actual_pos <- as.numeric(matched$pos[i])
- expected_pos <- anchors[[snp_id]]
- if (!is.na(actual_pos) && abs(actual_pos - expected_pos) < 5) {
- correct_count <- correct_count + 1
- }
- }
- # 如果有2个以上锚点匹配,判定为GRCh37
- is_grch37 <- correct_count >= 2
- if (is_grch37) {
- message("Detected genome version: GRCh37/hg19 (", correct_count, " anchors matched)")
- message("Will convert to GRCh38 for analysis")
- return(list(version = "grch37", grch37To38 = TRUE))
- } else {
- message("Detected genome version: GRCh38/hg38")
- return(list(version = "grch38", grch37To38 = FALSE))
- }
- }
- # ============================================================================
- # P值清理函数
- # ============================================================================
- clean_pval <- function(df, p_col) {
- df <- df[!is.na(df[[p_col]]), ]
- df[[p_col]][df[[p_col]] <= 0] <- 1e-300
- df[[p_col]][df[[p_col]] > 1] <- 1
- return(df)
- }
- # ============================================================================
- # GTEx 组织列表
- # ============================================================================
- tissues <- c(
- "Brain - Amygdala",
- "Brain - Anterior cingulate cortex (BA24)",
- "Brain - Caudate (basal ganglia)",
- "Brain - Cerebellar Hemisphere",
- "Brain - Cerebellum",
- "Brain - Cortex",
- "Brain - Frontal Cortex (BA9)",
- "Brain - Hippocampus",
- "Brain - Hypothalamus",
- "Brain - Nucleus accumbens (basal ganglia)",
- "Brain - Putamen (basal ganglia)",
- "Brain - Spinal cord (cervical c-1)",
- "Brain - Substantia nigra",
- "Whole Blood"
- )
- # ============================================================================
- # 单个组织的分析函数 (用于并行)
- # ============================================================================
- process_tissue <- function(tissueSiteDetail, gwasDF, sentinelSnpDF, gwas_name,
- output_dir, egenes_cache_dir, force_rerun, max_retries = 10) {
- # 清理组织名称用于文件名
- tissue_clean <- str_replace_all(tissueSiteDetail, " |\\(|\\)", "_")
- out_file <- file.path(
- output_dir,
- paste0(gwas_name, "_", tissue_clean, "_colocResultSig.RDS")
- )
- # 检查输出文件是否已存在
- if (file.exists(out_file) && !force_rerun) {
- return(list(
- tissue = tissueSiteDetail,
- status = "skipped",
- message = "Result file already exists",
- n_significant = NA
- ))
- }
- # 使用替代方案: 直接下载整个组织的eGenes,然后手动筛选
- traitsAll <- NULL
- retry_count <- 0
- # 方法1: 尝试使用 xQTLanalyze_getTraits (原始方法)
- while (is.null(traitsAll) && retry_count < 10) {
- traitsAll <- tryCatch({
- options(timeout = 300)
- xQTLanalyze_getTraits(
- sentinelSnpDF,
- detectRange = 1e6,
- tissueSiteDetail = tissueSiteDetail
- )
- }, error = function(e) {
- retry_count <<- retry_count + 1
- if (retry_count < 3) {
- Sys.sleep(10)
- }
- return(NULL)
- })
- }
- # 方法2: 如果方法1失败,使用 xQTLdownload_egene 下载整个组织的eGenes
- if (is.null(traitsAll)) {
- # 检查是否有缓存的eGenes数据
- egenes_cache_file <- file.path(egenes_cache_dir, paste0(tissue_clean, "_eGenes.RDS"))
- eGenesAll <- NULL
- if (file.exists(egenes_cache_file)) {
- tryCatch({
- eGenesAll <- readRDS(egenes_cache_file)
- }, error = function(e) {
- eGenesAll <<- NULL
- })
- }
- # 如果没有缓存或缓存加载失败,则下载
- if (is.null(eGenesAll)) {
- retry_count <- 0
- while (is.null(eGenesAll) && retry_count < max_retries) {
- eGenesAll <- tryCatch({
- options(timeout = 300)
- xQTLdownload_egene(
- tissueSiteDetail = tissueSiteDetail
- )
- }, error = function(e) {
- retry_count <<- retry_count + 1
- if (retry_count < max_retries) {
- Sys.sleep(10)
- }
- return(NULL)
- })
- }
- # 保存下载的eGenes数据到缓存
- if (!is.null(eGenesAll) && nrow(eGenesAll) > 0) {
- tryCatch({
- saveRDS(eGenesAll, file = egenes_cache_file)
- }, error = function(e) NULL)
- }
- }
- if (is.null(eGenesAll) || nrow(eGenesAll) == 0) {
- return(list(
- tissue = tissueSiteDetail,
- status = "failed",
- message = "No eGenes found",
- n_significant = 0
- ))
- }
- # 手动筛选: 找到在sentinel SNP附近的基因
- traitsAll <- data.table()
- detectRange <- 1e6
- for (i in 1:nrow(sentinelSnpDF)) {
- sentinel_chr <- sentinelSnpDF$chrom[i]
- sentinel_pos <- sentinelSnpDF$position[i]
- sentinel_snp <- sentinelSnpDF$rsid[i]
- # 查询该染色体上该位置附近的基因
- genesNearby <- tryCatch({
- xQTLquery_gene(
- chrom = sentinel_chr,
- start = max(1, sentinel_pos - detectRange),
- end = sentinel_pos + detectRange
- )
- }, error = function(e) NULL)
- if (!is.null(genesNearby) && nrow(genesNearby) > 0) {
- # 找到这些基因中哪些是eGenes
- eGenesNearby <- eGenesAll[eGenesAll$gencodeId %in% genesNearby$gencodeId, ]
- if (nrow(eGenesNearby) > 0) {
- # 构建traitsAll格式的数据
- traits_i <- data.table(
- rsid = sentinel_snp,
- chrom = sentinel_chr,
- position = sentinel_pos,
- gencodeId = eGenesNearby$gencodeId,
- geneSymbol = eGenesNearby$geneSymbol
- )
- traitsAll <- rbind(traitsAll, traits_i)
- }
- }
- }
- if (nrow(traitsAll) == 0) {
- return(list(
- tissue = tissueSiteDetail,
- status = "failed",
- message = "No eGenes found near sentinel SNPs",
- n_significant = 0
- ))
- }
- }
- # 查询基因信息(添加重试机制)
- genesAll <- NULL
- retry_count <- 0
- while (is.null(genesAll) && retry_count < max_retries) {
- genesAll <- tryCatch({
- options(timeout = 300)
- xQTLquery_gene(unique(traitsAll$gencodeId))
- }, error = function(e) {
- retry_count <<- retry_count + 1
- if (retry_count < max_retries) {
- Sys.sleep(10)
- }
- return(NULL)
- })
- }
- if (is.null(genesAll) || nrow(genesAll) == 0) {
- return(list(
- tissue = tissueSiteDetail,
- status = "failed",
- message = "No genes found",
- n_significant = 0
- ))
- }
- # 初始化结果存储
- colocResultAll <- data.table()
- # 遍历基因
- for (i in 1:nrow(genesAll)) {
- gene_id <- genesAll[i]$gencodeId
- gene_symbol <- genesAll[i]$geneSymbol
- # 下载eQTL数据(添加重试机制,尝试两个数据源)
- eQTL_i <- NULL
- retry_count <- 0
- data_sources <- c("liLab", "eQTL_catalogue")
- while (is.null(eQTL_i) && retry_count < max_retries) {
- # 交替使用两个数据源
- current_source <- data_sources[(retry_count %% 2) + 1]
- eQTL_i <- tryCatch({
- options(timeout = 300)
- xQTLdownload_eqtlAllAsso(
- gene_id,
- geneType = "gencodeId",
- tissueLabel = tissueSiteDetail,
- withB37VariantId = FALSE,
- data_source = current_source
- )
- }, error = function(e) {
- retry_count <<- retry_count + 1
- if (retry_count < max_retries) {
- Sys.sleep(3)
- }
- return(NULL)
- })
- }
- if (is.null(eQTL_i) || nrow(eQTL_i) == 0) {
- next
- }
- # 匹配GWAS和eQTL数据
- gwasDF_i <- gwasDF[rsid %in% eQTL_i$rsid]
- if (nrow(gwasDF_i) == 0) {
- next
- }
- # 合并位置信息
- eQTL_i <- merge(eQTL_i, gwasDF_i[, .(rsid, chrom, position)], by = "rsid")
- eQTL_i <- eQTL_i[, .(rsid, chrom, position, pValue, maf, beta, se)]
- # 清理P值
- gwasDF_i <- clean_pval(gwasDF_i, "pValue")
- eQTL_i <- clean_pval(eQTL_i, "pValue")
- # 运行共定位分析
- colocResult_i <- tryCatch({
- xQTLanalyze_coloc_diy(
- gwasDF = gwasDF_i,
- qtlDF = eQTL_i,
- method = "Both"
- )
- }, error = function(e) NULL)
- if (!is.null(colocResult_i) && !is.null(colocResult_i$coloc_Out_summary)) {
- colocResult_i <- colocResult_i$coloc_Out_summary
- colocResult_i <- cbind(
- genesAll[i, c("geneSymbol", "gencodeId")],
- colocResult_i
- )
- colocResultAll <- rbind(colocResultAll, colocResult_i)
- }
- }
- # 过滤显著结果 (PP.H4.abf > 0.75)
- n_significant <- 0
- if (nrow(colocResultAll) > 0) {
- colocResultsig <- colocResultAll[PP.H4.abf>0.75 & hypr_posterior>0.5][order(-PP.H4.abf)]
- n_significant <- nrow(colocResultsig)
- # 保存结果
- saveRDS(colocResultsig, file = out_file)
- # 可视化(如果有显著结果) - 在并行中跳过可视化以避免问题
- # 可视化部分可以在主进程中单独处理
- }
- return(list(
- tissue = tissueSiteDetail,
- status = "completed",
- message = paste0("Found ", n_significant, " significant colocalization(s)"),
- n_significant = n_significant,
- out_file = out_file
- ))
- }
- # ============================================================================
- # 主分析流程
- # ============================================================================
- message(paste0(rep("=", 70), collapse = ""))
- message("Starting Colocalization Analysis (Parallel Version)")
- message("Input directory: ", opt$input_dir)
- message("Output directory: ", opt$output_dir)
- message("P-value threshold: ", opt$pvalue)
- message("Force rerun: ", opt$force)
- message("Number of cores: ", opt$ncores)
- message(paste0(rep("=", 70), collapse = ""))
- # 设置并行环境
- n_cores <- min(opt$ncores, detectCores() - 1, length(tissues))
- message("Using ", n_cores, " cores for parallel processing")
- # 查找所有GWAS文件
- gwas_files <- list.files(opt$input_dir, pattern = "smr\\.txt\\.gz$", full.names = TRUE)
- if (length(gwas_files) == 0) {
- stop("No files matching pattern '*.smr.txt.gz' found in ", opt$input_dir)
- }
- message("Found ", length(gwas_files), " GWAS file(s) to process")
- # 遍历GWAS文件
- for (gwas_path in gwas_files) {
- gwas_name <- str_replace(basename(gwas_path), "\\.smr\\.txt\\.gz$", "")
- message("\n", paste0(rep("=", 70), collapse = ""))
- message("Processing GWAS: ", gwas_name)
- message(paste0(rep("=", 70), collapse = ""))
- # 读取GWAS文件
- gwasDF <- NULL
- tryCatch({
- gwasDF <- fread(gwas_path,
- select = c("SNP", "A1", "A2", "freq", "b", "se", "P", "N", "pos", "chr"))
- setDT(gwasDF)
- message("Loaded ", nrow(gwasDF), " variants from ", basename(gwas_path))
- }, error = function(e) {
- message("ERROR: Could not read ", gwas_path, " - ", e$message)
- })
- if (is.null(gwasDF) || nrow(gwasDF) == 0) {
- message("Skipping empty or invalid file")
- next
- }
- # 过滤只保留rs开头的SNP
- gwasDF <- gwasDF[str_detect(SNP, "^rs")]
- message("After filtering rs SNPs: ", nrow(gwasDF), " variants")
- # 检测基因组版本
- version_info <- detect_genome_version(gwasDF)
- # 准备数据格式
- gwasDF <- gwasDF[, .(
- rsid = SNP,
- chrom = as.character(chr),
- position = as.integer(pos),
- pValue = as.numeric(P),
- AF = as.numeric(freq),
- beta = as.numeric(b),
- se = as.numeric(se)
- )]
- # 清理P值
- gwasDF <- clean_pval(gwasDF, "pValue")
- setindex(gwasDF, rsid)
- message("Cleaned data: ", nrow(gwasDF), " variants ready for analysis")
- # 获取sentinel SNP
- message("Identifying sentinel SNPs...")
- sentinelSnpDF <- tryCatch({
- xQTLanalyze_getSentinelSnp(
- gwasDF,
- pValueThreshold = opt$pvalue,
- centerRange = 1e6,
- genomeVersion = version_info$version,
- grch37To38 = version_info$grch37To38
- )
- }, error = function(e) {
- message("ERROR in getSentinelSnp: ", e$message)
- return(NULL)
- })
- if (is.null(sentinelSnpDF) || nrow(sentinelSnpDF) == 0) {
- message("No sentinel SNPs found, skipping this GWAS file")
- next
- }
- message("Found ", nrow(sentinelSnpDF), " sentinel SNP(s)")
- # 创建eGenes缓存目录
- egenes_cache_dir <- file.path(opt$output_dir, "egenes_cache")
- if (!dir.exists(egenes_cache_dir)) {
- dir.create(egenes_cache_dir, recursive = TRUE)
- }
- # ========================================================================
- # 并行处理组织
- # ========================================================================
- message("\nStarting parallel processing of ", length(tissues), " tissues...")
- # 注册并行后端
- cl <- makeCluster(n_cores)
- registerDoParallel(cl)
- # 导出必要的函数和变量到worker节点
- clusterExport(cl, c("clean_pval", "process_tissue"), envir = environment())
- # 在每个worker上加载必要的包
- clusterEvalQ(cl, {
- suppressPackageStartupMessages({
- library(data.table)
- library(stringr)
- library(xQTLbiolinks)
- library(coloc)
- library(hyprcoloc)
- })
- })
- # 并行执行
- results <- foreach(
- tissueSiteDetail = tissues,
- .combine = rbind,
- .packages = c("data.table", "stringr", "xQTLbiolinks", "coloc", "hyprcoloc"),
- .errorhandling = "pass"
- ) %dopar% {
- result <- tryCatch({
- process_tissue(
- tissueSiteDetail = tissueSiteDetail,
- gwasDF = gwasDF,
- sentinelSnpDF = sentinelSnpDF,
- gwas_name = gwas_name,
- output_dir = opt$output_dir,
- egenes_cache_dir = egenes_cache_dir,
- force_rerun = opt$force
- )
- }, error = function(e) {
- list(
- tissue = tissueSiteDetail,
- status = "error",
- message = as.character(e),
- n_significant = NA
- )
- })
- # 转换为data.frame以便combine
- as.data.frame(result, stringsAsFactors = FALSE)
- }
- # 停止并行集群
- stopCluster(cl)
- # 汇总结果
- message("\n", paste0(rep("-", 50), collapse = ""))
- message("Summary for GWAS: ", gwas_name)
- message(paste0(rep("-", 50), collapse = ""))
- if (is.data.frame(results)) {
- for (i in 1:nrow(results)) {
- status_symbol <- switch(
- as.character(results$status[i]),
- "completed" = "✓",
- "skipped" = "○",
- "failed" = "✗",
- "error" = "!"
- )
- message(sprintf(" %s %s: %s",
- status_symbol,
- results$tissue[i],
- results$message[i]))
- }
- # 统计
- n_completed <- sum(results$status == "completed")
- n_skipped <- sum(results$status == "skipped")
- n_failed <- sum(results$status == "failed")
- n_error <- sum(results$status == "error")
- total_significant <- sum(as.numeric(results$n_significant), na.rm = TRUE)
- message("\nStatistics:")
- message(" Completed: ", n_completed)
- message(" Skipped (already exists): ", n_skipped)
- message(" Failed: ", n_failed)
- message(" Errors: ", n_error)
- message(" Total significant colocalizations: ", total_significant)
- }
- # ========================================================================
- # 后处理:可视化(可选,在主进程中执行)
- # ========================================================================
- message("\nGenerating visualizations for significant results...")
- for (tissueSiteDetail in tissues) {
- tissue_clean <- str_replace_all(tissueSiteDetail, " |\\(|\\)", "_")
- out_file <- file.path(
- opt$output_dir,
- paste0(gwas_name, "_", tissue_clean, "_colocResultSig.RDS")
- )
- if (file.exists(out_file)) {
- colocResultsig <- readRDS(out_file)
- if (nrow(colocResultsig) > 0) {
- outGenes <- tryCatch({
- xQTLquery_gene(colocResultsig$gencodeId)
- }, error = function(e) NULL)
- if (!is.null(outGenes) && nrow(outGenes) > 0) {
- outGenes <- merge(
- colocResultsig[, .(gencodeId, PP.H4.abf, candidate_snp, SNP.PP.H4)],
- outGenes[, .(geneSymbol, gencodeId, entrezGeneId, geneType)],
- by = "gencodeId",
- sort = FALSE
- )
- outGenes <- outGenes[geneType == "protein coding"]
- if (nrow(outGenes) > 0) {
- tryCatch({
- xQTLvisual_genesExp(
- outGenes$geneSymbol,
- tissueSiteDetail = tissueSiteDetail
- )
- }, error = function(e) {
- message(" Warning: Could not create visualization for ", tissueSiteDetail, " - ", e$message)
- })
- }
- }
- }
- }
- }
- } # end GWAS loop
- message("\n", paste0(rep("=", 70), collapse = ""))
- message("Analysis complete!")
- message(paste0(rep("=", 70), collapse = ""))
xqtl_muti.R at commit 8aead22, no license · at the source
Overview
- State Key Laboratory of Eye Health, Department of Ophthalmology, Shanghai Ninth People’s Hospital, Shanghai Jiao Tong University School of Medicine,Shanghai, China
- Present Address: No. 639, Zhizaoju Road, Shanghai, China
- The CAS Key Laboratory of Receptor Research and State Key Laboratory of Drug Research, Shanghai Institute of Materia Medica, Chinese Academy of Sciences,Shanghai, China
- Present Address: No. 555, Zuchongzhi Road, Shanghai, China
- Institute of Neuroscience, Center for Excellence in Brain Science and Intelligence Technology, Chinese Academy of Sciences,Shanghai, China
- Present Address: No. 319, Yueyang Road, Shanghai, China
- Songjiang Research Institute, Songjiang Hospital affiliated to Shanghai Jiao Tong University School of Medicine,Shanghai, China
- Present Address: No. 746, Zhongshan Middle Road, Shanghai, China
Abstract
The abstract is not reproduced here: the paper's license (CC BY-NC-ND) does not allow it. Read it in the paper, at the publisher or on Europe PMC.
Repository
Its files are read in the Code ↔ Paper reader above, with 7 matches between paragraphs and lines of code.
researcher24k/GWAS_TED
8aead22330a30fc306331ec5f1bb53e6ca65b6af, 29 January 2026Availability: 1 check, the latest on 28 September 2026: the link answers
- 28 September 2026: the link answers
7 files
- MR.R, R, 1,071 lines, 1 match
- PBMC.ipynb, Jupyter, 393 lines
- brain_code/
cellchat.R , R, 42 lines, 2 matches - brain_code/
structure.R , R, 36 lines, 1 match - gsMap.ipynb, Jupyter, 14 lines
- run_full_magma_pipeline.
sh , Shell, 36 lines - xqtl_muti.R, R, 658 lines, 3 matches
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:
- 1 repository of the authors' code, each at its verified commit, with its license and how the link was found in the paper;
- 7 scripts, each with its path and the digest of its content;
- 7 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.
Code and data availability statement
The paper has a code and data availability statement. Its license (CC BY-NC-ND) does not allow reproducing it here; in short, from what the harvester recognized in it:
- it points to the authors' code: researcher24k/
GWAS_TED
Read it in the paper: doi.org/10.1186/s12916-026-04957-y.
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, 28 September 2026: the first record
Recorded: type, language, journal, volume, issue, pages, dates, 13 authors, 6 keywords, 9 MeSH terms, 6 funders, 102 references.
Cite
This paper
Zhang, H., Jiang, S., Zhu, T., Liu, Y., Li, J., Fang, S., Li, Y., Sun, J., He, X., Tong, C., Gao, Z., Fan, X., & Zhou, H. (2026). Thyroid-stimulating hormone receptor mediates peripheral-central neuroimmune crosstalk in autoimmune thyroid diseases. BMC medicine, 24(1), 404. https://
BibTeX
@article{zhang2026thyroi
author = {Zhang, Haiyang and Jiang, Shufan and Zhu, Tianyi and Liu, Yuting and Li, Jipeng and Fang, Sijie and Li, Yinwei and Sun, Jing and He, Xinheng and Tong, Chuanjun and Gao, Zhengrun and Fan, Xianqun and Zhou, Huifang},
title = {{Thyroid-stimulating hormone receptor mediates peripheral-central neuroimmune crosstalk in autoimmune thyroid diseases}},
journal = {BMC medicine},
year = {2026},
month = may,
volume = {24},
number = {1},
pages = {404},
publisher = {BioMed Central},
issn = {1741-7015},
doi = {10.1186/
url = {https://
pmid = {42204533},
pmcid = {PMC13397711}
}
RIS
TY - JOUR
AU - Zhang, Haiyang
AU - Jiang, Shufan
AU - Zhu, Tianyi
AU - Liu, Yuting
AU - Li, Jipeng
AU - Fang, Sijie
AU - Li, Yinwei
AU - Sun, Jing
AU - He, Xinheng
AU - Tong, Chuanjun
AU - Gao, Zhengrun
AU - Fan, Xianqun
AU - Zhou, Huifang
TI - Thyroid-stimulating hormone receptor mediates peripheral-central neuroimmune crosstalk in autoimmune thyroid diseases
T2 - BMC medicine
J2 - BMC Med
PY - 2026
DA - 2026/
VL - 24
IS - 1
SP - 404
SN - 1741-7015
PB - BioMed Central
DO - 10.1186/
UR - https://
LA - en
ER -
CSL-JSON
{
"id": "10.1186/
"type": "article-journal",
"title": "Thyroid-stimulating hormone receptor mediates peripheral-central neuroimmune crosstalk in autoimmune thyroid diseases",
"container-title": "BMC medicine",
"author": [
{
"family": "Zhang",
"given": "Haiyang"
},
{
"family": "Jiang",
"given": "Shufan"
},
{
"family": "Zhu",
"given": "Tianyi"
},
{
"family": "Liu",
"given": "Yuting"
},
{
"family": "Li",
"given": "Jipeng"
},
{
"family": "Fang",
"given": "Sijie"
},
{
"family": "Li",
"given": "Yinwei"
},
{
"family": "Sun",
"given": "Jing"
},
{
"family": "He",
"given": "Xinheng"
},
{
"family": "Tong",
"given": "Chuanjun"
},
{
"family": "Gao",
"given": "Zhengrun"
},
{
"family": "Fan",
"given": "Xianqun"
},
{
"family": "Zhou",
"given": "Huifang"
}
],
"container-title-short":
"volume": "24",
"issue": "1",
"page": "404",
"DOI": "10.1186/
"PMID": "42204533",
"PMCID": "PMC13397711",
"ISSN": "1741-7015",
"publisher": "BioMed Central",
"URL": "https://
"language": "en",
"issued": {
"date-parts": [
[
2026,
5,
27
]
]
}
}
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.1016/j.cell.2026.05.026 [code]
- The critical role of the endogenous immune compartment after CAR T cell therapy in recurrent GBM.Journal: CellIn common: statannotations, rstatix, Scanpy, 7 other tools, genetics / omics, 4 references
- [2] doi:10.1002/imt2.70163 [code]
- Spatial multi-omics unveils sphingolipid metabolic reprogramming within the retinal pathological niche.Journal: iMetaIn common: rstatix, circlize, Scanpy, 8 other tools, genetics / omics, mouse, cellular / molecular, 2 references
- [3] doi:10.1186/s13059-026-04177-w [code]
- Genomic sequence evolution underlying human neocortical interareal diversification.Journal: Genome biologyIn common: rstatix, circlize, Scanpy, 8 other tools, genetics / omics, mouse, cellular / molecular, 1 reference
- [4] doi:10.1126/sciadv.aeg3223 [code]
- The extreme diversity of retinal amacrine cells has deep evolutionary roots.Journal: Science advancesIn common: rstatix, circlize, Scanpy, 8 other tools, genetics / omics, cellular / molecular, 1 reference
- [5] doi:10.1038/s41467-026-71525-6 [code]
- Single-nucleus brain transcriptomics reveals microglia dysfunction in multiple system atrophy.Journal: Nature communicationsIn common: rstatix, circlize, Scanpy, 7 other tools, genetics / omics, cellular / molecular, 2 references
- [6] doi:10.1016/j.xcrm.2026.102766 [code]
- A longitudinal single-cell and spatial multiomic atlas of pediatric high-grade glioma.Journal: Cell reports. MedicineIn common: circlize, Scanpy, ComplexHeatmap, 7 other tools, genetics / omics, cellular / molecular, 2 references
- [7] doi:10.1038/s41467-026-73007-1 [code]
- Single-nucleus epigenomic dysregulation unmasks genetic risk-associated neurodegenerative glia states.Journal: Nature communicationsIn common: circlize, Scanpy, ComplexHeatmap, 6 other tools, genetics / omics, cellular / molecular, 3 references
- [8] doi:10.1038/s42003-026-10034-0 [code]
- Region- and cell type-specific changes in gene expression in the cerebellum after classical fear conditioning.Journal: Communications biologyIn common: rstatix, circlize, Scanpy, 8 other tools, genetics / omics, mouse, cellular / molecular
- [9] 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: circlize, Scanpy, ComplexHeatmap, 6 other tools, genetics / omics, 3 references
- [10] doi:10.1038/s41514-026-00391-9 [code]
- Region-specific transcriptional signatures of brain aging in the absence of neuropathology at the single-cell level.Journal: npj agingIn common: circlize, Scanpy, ComplexHeatmap, 7 other tools, histology / microscopy, genetics / omics, cellular / molecular, 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, 7 scripts, and 7 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:c5cfa77aee97cbfa…
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.
