GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - HEKPYTO/BTC-Genotype-Pipeline: A complete bioinformatics pipeline for differential genotype association analysis, GENCODE v49 mapping, and visualization of variant data from the GSE211627 Biliary Tract Cancer study.

BranchesTags
Open more actions menu

Latest commit

 

History

2 Commits
2 Commits

Folders and files

NameName
Last commit message
Last commit date
.gitignore
.gitignore
 
 
README.md
README.md
 
 
limma.r
limma.r
 
 
map_gene_symbol.py
map_gene_symbol.py
 
 
preprocess.py
preprocess.py
 
 
split-symbol.py
split-symbol.py
 
 
volcano_plot.py
volcano_plot.py
 
 
volcano_plot_fixed.png
volcano_plot_fixed.png
 
 

Repository files navigation

GSE211627: Differential Genotype Association Pipeline

This repository provides a comprehensive bioinformatics pipeline to analyze genomic variants from GSE211627. The study investigates circulating monocytes associated with anti-PD-1 resistance in human biliary tract cancer (BTC).

This pipeline performs variant preprocessing, statistical association testing using linear models (limma), genomic annotation via GENCODE v49, and high-resolution visualization.


Workflow Overview

  1. Data Acquisition: Retrieval of VCF and GTF files.
  2. Preprocessing: Conversion of VCF genotypes to numeric dosage (0, 1, 2).
  3. Statistical Analysis: Differential association testing using Empirical Bayes moderated t-tests.
  4. Genomic Annotation: Coordinate-based mapping of variants to GENCODE v49 gene symbols.
  5. Visualization: Generation of Volcano plots to identify significant biological hits.

1. Prerequisites & Environment Setup

Software Requirements

  • Python: 3.10+ (with pandas, numpy, matplotlib, seaborn)
  • R: 4.2+ (with limma, BiocManager)

Data Sources

  • Variant Data: Download GSE211627_merged_BTC_HD.vcf.gz from GEO Accession GSE211627.
  • Annotation Reference: Download the Human GENCODE v49 GTF (GRCh38).

2. Data Preparation

Extract the compressed files to your working directory:

# Decompress genomic data
bgzip -d GSE211627_merged_BTC_HD.vcf.gz
gunzip gencode.v49.annotation.gtf.gz

3. Step-by-Step Execution

Step 1: Genotype Preprocessing

Convert the raw Variant Call Format (VCF) into a numeric dosage matrix. This script extracts the GT (Genotype) field and maps it: 0/0 $\rightarrow$ 0, 0/1 $\rightarrow$ 1, 1/1 $\rightarrow$ 2.

Run: python preprocess.py

Step 2: Differential Association Analysis

Using the limma package in R, we fit a linear model to each SNP. We apply Empirical Bayes moderation to provide stable results even with small sample sizes (9 BTC vs 8 Healthy Donors).

Run: Rscript limma.r

Step 3: Genomic Annotation Mapping

SNPs are mapped to the human genome (GRCh38) using a spatial join. Variants are assigned to gene symbols if they fall within the genomic coordinates defined in GENCODE v49.

Run: python map_gene_symbol.py

Step 4: Result Categorization

To facilitate downstream functional analysis, the results are split into variants with valid gene symbols and intergenic variants.

Run: python split-symbol.py

Step 5: Visualization

Generate a Volcano Plot to visualize the relationship between the magnitude of change (Log Fold Change) and statistical significance.

Run: python volcano_plot.py


4. Results & Analysis

Statistical Summary

The association analysis identifies genetic variants that are significantly skewed in frequency between Biliary Tract Cancer patients and Healthy Donors.

Volcano Plot

Volcano Plot

Top Associated Variants

rsID Chromosome Position Gene Symbol Adjusted P-Value
rs1578391 1 629906 MTND2P28 1.49e-10
rs1130663 11 837582 POLR2L 2.90e-02
rs11650732 17 43355452 LINC00910 1.53e-02

5. Repository Structure

  • preprocess.py: VCF parser and genotype-to-dosage converter.
  • limma.r: R script for differential frequency testing.
  • map_gene_symbol.py: Coordinate-based annotation script (GENCODE v49).
  • volcano_plot.py: Visualization script using Seaborn.
  • split-symbol.py: Data management script for mapped results.

6. Citation

If using this pipeline or the GSE211627 dataset, please cite the original study:

Keenan BP, et al. Circulating monocytes associated with anti-PD-1 resistance in human biliary cancer induce T cell paralysis. Cell Rep. 2022 Sep 20;40(12):111384. doi: 10.1016/j.celrep.2022.111384. PMID: 36130508.

About

A complete bioinformatics pipeline for differential genotype association analysis, GENCODE v49 mapping, and visualization of variant data from the GSE211627 Biliary Tract Cancer study.

Resources

Readme
Activity

Stars

0 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.