Granulomas are organized structures formed in response to chronic infections, such as Mycobacterium tuberculosis (Mtb), and play a crucial role in controlling bacterial growth. Recent studies utilizing single-cell RNA sequencing (scRNA-seq) have provided insights into the cellular composition and dynamics of granulomas in non-human primates (NHPs), particularly cynomolgus macaques.
Below is a Plotly graph illustrating the correlation between different immune cell types and bacterial burden in NHP granulomas:
The sequencing of NHP granulomas provides valuable insights into the immune landscape during tuberculosis infection. Understanding the dynamics of various immune cell types and their transcriptional profiles is essential for developing effective therapeutic strategies against Mtb.
import scanpy as sc import pandas as pd # Load the single-cell RNA-seq data data = sc.read('granuloma_data.h5ad') # Preprocess the data sc.pp.filter_genes(data, min_cells=3) sc.pp.normalize_total(data, target_sum=1e4) sc.pp.log1p(data) # Identify differentially expressed genes sc.tl.rank_genes_groups(data, 'cell_type', method='t-test') # Save results df = pd.DataFrame(data.uns['rank_genes_groups']['names']) df.to_csv('differentially_expressed_genes.csv')