Why BGPT?
logo

Traceable Bioinformatics Claims

Find claims about tools and pipelines, Know what falsifiable science actually supports before you trust the answer.

Press Enter ↡ to search evidence


     Quick Analysis Plan



    Deposit scRNA-seq as 10x MEX h5 + AnnData (.h5ad) with cell-level metadata (sample, condition, treatment, UMI counts) and scATAC-seq as fragment files + peak-by-cell matrix, enabling reproduction of TAN signature enrichment via AUCell/fgsea, motif enrichment via Signac/ArchR/chromVAR, and neutrophil subclustering via Leiden clustering on Ly6G+ / S100a8+ populations. The respiratory viral infection–to-tumor study identified neutrophil/CXCR2/PD-L1 pathways as mediators of accelerated lung tumor growth, making TAN subcluster and chromatin accessibility data essential for mechanistic reproduction.


     Long Analysis Plan



    Bioinformatics Plan: Data Deposit for TAN Reproducibility

    The respiratory viral infection–to-tumor study identified neutrophil recruitment, G-CSF signaling, and PD-L1 expression as key mediators of infection-primed tumor acceleration. Reproducing the tumor-associated neutrophil (TAN) analyses requires structured deposition of single-cell multi-omic data with precise metadata to enable signature enrichment, chromatin motif discovery, and subcluster identification.

    1. Deposit Specification

    Data TypeFormatEssential Metadata FieldsPurpose
    scRNA-seq counts10x MEX (.mtx.gz) + AnnData .h5adcell_barcode, sample_id, condition (virus-primed/control), tissue (tumor/lung), mouse_model (KP/KP-GEMM/urethane), n_genes, n_UMIs, percent_mitoTAN signature scoring (AUCell, fgsea)
    scATAC-seq fragments.tsv.gz + .tsv.gz.tbi (fragment file)cell_barcode, sample_id, condition, replicate, TSS_enrichment, fragments_countMotif enrichment, chromVAR TF activity
    scATAC-seq peak matrix.h5ad (cell Γ— peak, sparse)peak_set (BED), genome_build (mm10/GRCm38), cell metadata matching scRNA-seqSubcluster identification, DA peaks
    Cell-level annotationsCSV / .obs in AnnDataleiden_cluster, cell_type (ground truth if available), subcluster_label, signature_scoresLabel transfer validation
    Pseudobulk / bulk referencesCSV / DESeq2 countssample_id, condition, cell_type_pseudobulk, library_sizePrototype-based annotation validation
    Why this format? The unified cCRE / cell-by-peak matrix approach used by Human-scATAC-Corpus (5.4M cells, 35 datasets) demonstrates that fragment files + peak matrices with standardized metadata (sample, tissue, technology, PMID, genome build) are the most reproducible multi-format deposit for cross-dataset benchmarking and foundation-model pretraining.

    2. Reproduction Pipeline Architecture

    Figure 1: Reproduction pipeline showing data flow from deposit formats through QC, annotation, neutrophil gating, and downstream TAN-specific analyses. Color-coded by analysis type.

    3. Method Selection Rationale

    For neutrophil subcluster identification in scATAC-seq, scATAcat's pseudobulk + bulk-prototype PCA approach is recommended because it achieves superior Cohen's kappa and MCC across hematopoietic and brain datasets compared to marker-based methods, while remaining robust to clustering parameter changes.

    For cross-modal label transfer from well-annotated scRNA-seq to scATAC-seq, scNCL achieves state-of-the-art accuracy via gene activity matrices + neighborhood contrastive learning, scalable to 400k+ cells, and recovers rare cell types such as microglia through NCL loss.

    For motif enrichment, scDIFF demonstrates that incorporating bulk genomic sequences (1344 bp around peaks) and bulk epigenomic marks (H3K4me1/me3, H3K27ac from ENCODE) with a diffusive transformer improves annotation and downstream motif discovery, achieving average Cohen's kappa ~0.94 across 14 dataset pairs.

    Critical blindspot: The PCA "horse-shoe" effect in scRNA-seq data arises from ordered band patterns and dominant gradients, not just distance saturation β€” meaning subclustering visualized by PCA on neutrophil subsets may show artificial horseshoe patterns that could be misinterpreted as biological trajectories. Use Leiden clustering (validated by scICE's inconsistency coefficient across seeds) rather than PCA visual shape alone for subcluster boundaries.

    4. Neutrophil Subcluster Identification Workflow

    Figure 2: Sequential neutrophil subclustering steps, color-coded by analysis phase. Blue = gating, green = dimensionality, red = clustering, purple = regulatory, orange = validation.

    5. Python3 Analysis Pipeline

    # TAN Reproduction Pipeline: scRNA-seq + scATAC-seq
    # Dependencies: scanpy, anndata, gseapy, signac, chromVAR (R), scICE
    
    import scanpy as sc
    import anndata as ad
    import gseapy as gp
    import numpy as np
    import pandas as pd
    import scipy.stats as stats
    
    # ============ STEP 1: Load deposited data ============
    adata_rna = sc.read_h5ad("deposit/scrnaseq_counts.h5ad")
    adata_atac = sc.read_h5ad("deposit/scatacseq_peaks.h5ad")
    
    # ============ STEP 2: QC ============
    sc.pp.filter_cells(adata_rna, min_genes=200)
    sc.pp.filter_genes(adata_rna, min_cells=3)
    adata_rna.var['mt'] = adata_rna.var_names.str.startswith('mt-')
    sc.pp.calculate_qc_metrics(adata_rna, qc_vars=['mt'], percent_top=None, log1p=False, inplace=True)
    adata_rna = adata_rna[adata_rna.obs.pct_counts_mt < 20, :]
    
    # ============ STEP 3: Neutrophil gating ============
    neutrophil_markers = ['Ly6g', 'S100a8', 'S100a9', 'Cxcr2', 'Lcn2', 'Mmp9', 'Camp']
    sc.tl.score_genes(adata_rna, gene_list=neutrophil_markers, score_name='neutrophil_score')
    neut_mask = adata_rna.obs['neutrophil_score'] > np.percentile(
        adata_rna.obs['neutrophil_score'], 75)
    adata_neut = adata_rna[neut_mask, :].copy()
    
    # ============ STEP 4: TAN signature enrichment ============
    # Define TAN signatures (from paper's supplementary tables)
    tan_signatures = {
        'TAN_N1_anti_tumor': ['Cxcl9', 'Cxcl10', 'Ifit1', 'Isg15', 'Nos2'],
        'TAN_N2_pro_tumor': ['Arg1', 'Arg2', 'Nos2', 'Mmp9', 'Vegfa', 'Lox'],
        'TAN_virus_primed': ['Isg15', 'Ifit2', 'Oas1a', 'Mx1', 'Irf7', 'Cxcl10'],
        'TAN_GCSF_high': ['S100a8', 'S100a9', 'Lcn2', 'Mmp9', 'Cxcr2', 'Csf3r']
    }
    for sig_name, genes in tan_signatures.items():
        valid_genes = [g for g in genes if g in adata_neut.var_names]
        sc.tl.score_genes(adata_neut, gene_list=valid_genes, score_name=sig_name)
    
    # Statistical test: virus-primed vs control TAN enrichment
    virus_primed = adata_neut[adata_neut.obs['condition'] == 'virus_primed', :]
    control = adata_neut[adata_neut.obs['condition'] == 'control', :]
    for sig in tan_signatures.keys():
        u_stat, p_val = stats.mannwhitneyu(
            virus_primed.obs[sig].dropna(),
            control.obs[sig].dropna(),
            alternative='two-sided'
        )
        print(f"{sig}: U={u_stat:.0f}, p={p_val:.2e}")
    
    # ============ STEP 5: Subclustering ============
    sc.pp.highly_variable_genes(adata_neut, n_top_genes=2000)
    sc.pp.pca(adata_neut, n_comps=30, use_highly_variable=True)
    sc.pp.neighbors(adata_neut, n_neighbors=15, n_pcs=30)
    for res in [0.5, 1.0, 1.5]:
        sc.tl.leiden(adata_neut, resolution=res, key_added=f'leiden_{res}')
    
    # ============ STEP 6: scATAC-seq motif analysis ============
    # (Requires Signac in R or similar Python tools)
    # adata_atac: cell x peak matrix with matched neutrophil barcodes
    # Differential accessibility: DA peaks between TAN subclusters
    # Motif enrichment: chromVAR TF deviation scores
    # HOMER: de novo motif discovery on DA peak sets
    
    # ============ STEP 7: Cross-modal label transfer ============
    # Using scNCL: RNA labels β†’ ATAC gene activity β†’ NCL regularization
    # Validate with scATAcat pseudobulk prototype approach
    
    # ============ STEP 8: Export results ============
    adata_neut.write("results/TAN_subclustered.h5ad")
    adata_neut.obs[['leiden_1.0'] + list(tan_signatures.keys())].to_csv(
        "results/TAN_signature_scores_per_subcluster.csv")
    

    6. What Is Missing / Known Unknowns

    • Missing: The original study's raw scRNA-seq/scATAC-seq count matrices, cell-level metadata (barcode-to-sample mapping), and supplementary gene signature lists have not yet been publicly deposited. Without these, the pipeline above cannot be executed on the actual data.
    • Uncertainty: The exact TAN gene signature definitions (N1/N2/virus-primed) must come from the paper's supplementary materials, not inferred from canonical markers alone.
    • Blindspot: Neutrophils have low RNA content, making scRNA-seq capture challenging; dropout rates are high, and small transcriptome size may reduce subcluster resolution. scATAC-seq may better resolve neutrophil heterogeneity.
    • Counterpoint: If the TAN signature enrichment does not replicate across mouse models (KP vs urethane), the virus-primed neutrophil mechanism may be model-specific rather than a general principle.


    Feedback:    

    Updated: October 27, 2026

     Top Data Sources ExportMCP



     DataGen



    Generated scientific data; not direct experimental measurements.

     Analysis Wizard



    Building a reproducible pipeline to gate neutrophils from scRNA-seq, compute TAN signature enrichment scores, identify subclusters via multi-resolution Leiden, and prepare scATAC-seq data for motif analysis and cross-modal label transfer.



     Hypothesis Graveyard



    TAN heterogeneity in lung tumors is entirely driven by tumor-cell-derived cytokine gradients (G-CSF, CXCL1/2/5). This is incomplete because respiratory viral infection creates a systemic inflammatory imprint that reprograms bone marrow progenitors before they enter the tumor microenvironment, generating a distinct primed TAN state that cannot be reproduced by tumor cytokines alone.


    Neutrophil subclusters identified by scRNA-seq Leiden clustering represent stable biological states. This is questionable because the PCA horse-shoe artifact and low RNA content of neutrophils mean many apparent subclusters may reflect technical variation rather than true biological states.

     Science Art


    Deposit the scRNA-seq / scATAC-seq count matrices and metadata so we can reproduce TAN signature enrichment, motif analyses, and neutrophil subcluster identification.

Previous Question: Create Graphs: Respiratory viral infection to tumor data Science Art

     Science Movie



    Make a narrated HD Science movie for this answer ($64 per minute)




     Discussion


    Stay current without chasing every paper.

    Know what changed, what holds up, and what remains uncertain. Every Friday. No ads.


    My BGPT