# Single-Cell RNA-Seq Analysis Pipelines for Veterinary Immunology

## Key Takeaways

- scRNA-seq pipelines for veterinary immunology require species-specific genome annotations and careful adjustment of quality control thresholds, such as mitochondrial gene percentage (e.g., 10-15% for salmon head kidney vs. 20% for mammalian immune cells), to account for tissue dissociation stress and species differences.
- Cell type annotation in veterinary species often necessitates a combination of manual marker gene identification, cross-species reference mapping (e.g., using zebrafish and mouse immune cells for salmon), and potentially novel marker discovery due to limited availability of species-specific reference datasets.
- Downstream analyses like differential gene expression (DE) in specific cell types (e.g., alveolar macrophages in PRRSV infection) or trajectory inference (e.g., B cell maturation in chicken bursa) are crucial for understanding immune responses and cellular differentiation in veterinary models.
- Single-nucleus RNA sequencing (snRNA-seq) offers a viable alternative to scRNA-seq for veterinary applications, particularly with archived frozen tissues, as demonstrated by its ability to recover a comparable cell atlas to single-cell data in Atlantic salmon head kidney.
- Ligand-receptor interaction analysis can elucidate intercellular signaling pathways in veterinary diseases, such as TNF and IL-1 signaling between macrophages and epithelial cells during ovine mastitis, providing insights into pathogenesis.
- Integration of scRNA-seq with other modalities like CITE-seq (surface proteins) or scATAC-seq (chromatin accessibility) is emerging in veterinary immunology, enabling a more comprehensive understanding of cellular states and regulatory mechanisms.

---

[Single-cell RNA sequencing](/knowledge/bioinformatics/single-cell-rna-sequencing-from-bulk-to-resolution) (scRNA-seq) has transformed the study of host immune responses by enabling transcriptomic profiling of individual cells within heterogeneous tissues. In veterinary immunology, these methods provide unprecedented resolution for characterizing leukocyte subsets in species such as cattle, swine, chickens, and teleost fish. This article describes a comprehensive computational pipeline for scRNA-seq data analysis tailored to veterinary models, with emphasis on immune cell identification, differential expression, and trajectory inference. The pipeline integrates quality control, normalization, clustering, cell type annotation, and downstream functional analyses. The reference study on Atlantic salmon head kidney using both single-cell and single-nucleus [transcriptomics](/knowledge/bioinformatics/modern-transcriptomics-bulk-single-cell-spatial) [<a href="#ref-1">1</a>] is a central example for deploying these methods in non-mammalian veterinary species.

## Overview of the scRNA-seq Analysis Pipeline

A standard scRNA-seq analysis pipeline for veterinary immunology consists of six major stages:

1. Raw data processing and quantification.
2. Quality control and filtering.
3. Normalization and batch correction.
4. Dimensionality reduction and clustering.
5. Cell type annotation.
6. Downstream analyses (differential expression, trajectory inference, ligand-receptor interactions).

Each stage requires specific considerations when applied to veterinary species due to differences in genome annotation quality, tissue architecture, and immune cell marker conservation.

The following Mermaid diagram summarizes the workflow:

```mermaid
flowchart TD
 A["Raw FASTQ files"] --> B["'Alignment & quantification<br>(e.g., STARsolo, Alevin, Cell Ranger-like')"]
 B --> C["Generate count matrix"]
 C --> D["Quality control<br>Mitochondrial content, gene count, UMI count"]
 D --> E["Filter cells & genes"]
 E --> F["Normalization<br>scran, SCTransform, or analytic Pearson residuals"]
 F --> G["Batch correction<br>Harmony, Seurat CCA, or fastMNN"]
 G --> H["Dimensionality reduction<br>PCA, t-SNE, UMAP"]
 H --> I["Clustering<br>Louvain, Leiden, K-means"]
 I --> J["Cell type annotation<br>Marker genes, reference mapping, SingleR"]
 J --> K["Downstream analyses<br>DEGs, trajectory, cell-cell communication"]
```

## Raw Data Processing and Quantification

The first step involves converting raw sequencing reads into a gene-cell count matrix. For veterinary species, the reference genome and annotation must be appropriate for the target organism. Commonly used alignment tools include STARsolo, Alevin (from the Salmon suite), and the kallisto-bustools pipeline. These tools generate unique molecular identifier (UMI) counts per gene per cell.

In the Atlantic salmon head kidney study [<a href="#ref-1">1</a>], the authors compared single-cell and single-nucleus [transcriptomics](/knowledge/bioinformatics/modern-transcriptomics-bulk-single-cell-spatial). For single-cell data, they used the 10x Genomics platform (described generically as a droplet-based microfluidic system) and aligned reads to the salmon genome (Ssal v3.1). For single-nucleus RNA-seq, nuclei were isolated from frozen tissues and processed similarly. The choice between whole cells and nuclei influences the recovery of certain transcripts; cytoplasmic mRNAs are enriched in whole cells, while nuclear RNA captures nascent transcripts and is more suitable for archived samples.

## Quality Control and Filtering

Quality control (QC) steps remove low-quality cells, empty droplets, and doublets. Key metrics include:

- Number of unique genes detected per cell.
- Total UMI count per cell.
- Percentage of reads mapping to mitochondrial genes.

For mammalian immune cells, a high mitochondrial fraction (above 20%) indicates damaged or dying cells. In fish, the threshold may be adjusted based on tissue type; for salmon head kidney, a mitochondrial fraction cutoff of 10-15% is commonly applied. Low gene counts (e.g., fewer than 200 genes) may represent empty droplets, while very high counts (>5000 genes) often indicate doublets. Doublet detection can be performed using tools such as DoubletFinder or scrublet.

The QC filtering step is critical in veterinary species because tissue dissociation protocols (e.g., from spleen, lymph node, or kidney) can introduce variable cell stress. For example, cells from the chicken bursa of Fabricius are particularly fragile and may require lower stringency.

## Normalization and Batch Correction

Normalization aims to remove technical variation while preserving biological heterogeneity. Methods include library-size scaling (Seurat's LogNormalize, scran's deconvolution) and model-based approaches (SCTransform, analytic Pearson residuals). For datasets with multiple experimental batches (e.g., different animals or flow-sorted populations), batch correction is essential. Popular algorithms include Harmony, Seurat's canonical correlation analysis (CCA), and fastMNN.

In the Atlantic salmon study [<a href="#ref-1">1</a>], the authors integrated single-cell and single-nucleus datasets to identify shared cell types. Batch effects arose from differences in dissociation protocols and sequencing runs. Harmony, which operates in a reduced dimensional space, was used to align the datasets without losing biological variation. The result was a unified representation of head kidney immune cells, including B cells, T cells, macrophages, and granulocytes.

## Dimensionality Reduction and Clustering

After normalization and batch correction, principal component analysis (PCA) is applied to the most variable genes. The number of principal components (PCs) to retain is typically determined by elbow plots or jackstraw analysis (in Seurat). Clustering is performed in the PCA-reduced space using graph-based methods (Louvain or Leiden) or K-means. The resolution parameter controls the number of clusters.

In veterinary immunology, clustering must distinguish subtle subsets such as CD4+ versus CD8+ T cells, or M1 versus M2 macrophages. Marker gene panels for these subsets are often derived from mammalian studies but may require cross-species validation. For example, in salmon, CD3 epsilon is a pan-T cell marker, while IgM identifies B cells. The presence of novel or species-specific cell types (e.g., rodlet cells in fish kidney) demands careful manual annotation.

## Cell Type Annotation

Cell type annotation can be performed using three approaches:

1. **Manual annotation** based on expression of known marker genes.
2. **Reference-based annotation** using tools like SingleR, which correlates cluster expression profiles with reference transcriptomic datasets.
3. **Transfer learning** from labeled datasets via methods such as Seurat's `FindTransferAnchors`.

For veterinary species, reference-based annotation is often limited by the availability of high-quality sorted cell populations. In the absence of species-specific references, cross-species mapping using orthologous gene symbols may be employed. The Atlantic salmon study [<a href="#ref-1">1</a>] constructed a comprehensive cell atlas of the head kidney by combining manual annotation with reference data from zebrafish and mouse immune cells. They identified 15 distinct cell types, including thrombocytes, which are nucleated in fish and participate in both hemostasis and immunity.

A table of commonly used immune cell markers in selected veterinary species is provided below.

| Cell Type | Mammalian Marker (cattle, swine) | Avian Marker (chicken) | Teleost Marker (salmon) |
|------|------------------|------------|-------------|
| T cell | CD3E, CD4, CD8A | CD3E, CD4, CD8A | CD3E, CD4, CD8A |
| B cell | CD19, MS4A1 (CD20), PAX5 | PAX5, CD79A | CD79A, sIgM |
| Macrophage | CD14, CD68, CSF1R | CSF1R, CD68 | CSF1R, CD209 |
| Granulocyte | S100A8, FUT4, ELANE | CATH1, avBD | MPO, LYZ |
| NK cell | NKG7, KLRD1, NCR1 | NKG7, KLRD1 | Perforin, Granzyme |
| Dendritic cell | FLT3, XCR1, CD207 | FLT3, XCR1 | FLT3, CD83 |

Note: These markers are based on current literature and may require experimental validation.

## Downstream Analyses

Following annotation, several downstream analyses reveal biological insights.

### Differential Expression Analysis

Differential expression (DE) between conditions (e.g., infected versus naive animals) is performed at the cell-type level using methods such as pseudobulk aggregation (edgeR, DESeq2) or single-cell level models (MAST, SCORPIUS). For example, in a study of [porcine reproductive and respiratory syndrome virus](/knowledge/viruses/livestock-viruses/porcine-reproductive-and-respiratory-syndrome-virus) (PRRSV) infection, DE analysis in alveolar macrophages can identify interferon-stimulated genes and antiviral factors.

### Trajectory Inference

Trajectory inference methods (Monocle 3, Slingshot, PAGA) reconstruct developmental or activation paths from scRNA-seq data. In veterinary immunology, this is useful for studying B cell maturation in the chicken bursa of Fabricius or T cell differentiation in the bovine thymus. The pipeline should consider the inherent pseudotime ordering and confirm with RNA velocity (e.g., velocyto, scVelo).

### Cell-Cell Communication

Ligand-receptor interaction analysis (CellChat, NicheNet, SingleCellSignalR) infers intercellular signaling. For instance, in the ovine mammary gland during mastitis, interactions between macrophages and epithelial cells via TNF and IL-1 pathways can be dissected.

### Integration with Other Data Types

Multi-omic integration (e.g., scRNA-seq with CITE-seq for surface protein, or scATAC-seq for chromatin accessibility) is increasingly applied in veterinary immunology. The pipeline can incorporate weighted nearest neighbor analysis (Seurat v4/v5) to jointly cluster cells based on RNA and protein data.

## Practical Considerations for Veterinary Specimens

Several factors differentiate veterinary scRNA-seq studies from human-focused work:

- **Tissue availability**: Post-mortem samples from slaughterhouses or diagnostic necropsies may have variable RNA quality. single-nucleus RNA-seq is more robust for frozen tissues.
- **Species-specific genome annotations**: Not all veterinary species have fully annotated immune gene sets. *De novo* assembly or cross-mapping with closely related genomes may be necessary.
- **Immune cell nomenclature**: Veterinary immunologists often use CD nomenclature based on cross-reactivity with monoclonal antibodies; scRNA-seq can confirm expression of these markers.
- **Cost and throughput**: Large animal studies (e.g., cattle, pigs) may require pooling multiple animals. Batch effects must be carefully modeled.

The Atlantic salmon study [<a href="#ref-1">1</a>] demonstrated that single-nucleus [transcriptomics](/knowledge/bioinformatics/modern-transcriptomics-bulk-single-cell-spatial 2) can recover a comparable cell atlas to single-cell data, with the advantage of using archived frozen samples. This is particularly relevant for veterinary diagnostics where fresh tissue may not be available.

## Conclusion

Single-cell RNA-seq analysis pipelines are now mature for veterinary immunology applications. The core computational steps of preprocessing, QC, normalization, clustering, annotation, and downstream analysis apply across species, but each stage requires careful tailoring to the target organism. The integration of single-cell and single-nucleus approaches, as exemplified in Atlantic salmon [<a href="#ref-1">1</a>], expands the utility of these methods to field-collected specimens. As veterinary reference atlases grow, cross-species comparative immunology will benefit from standardized pipelines and marker gene databases. Continued development of computational tools that accept non-model organism inputs will further accelerate discovery in livestock, poultry, and aquatic species.

## References

<a id="ref-1"></a>[<a href="#ref-1">1</a>] Andresen AMS, Taylor RS, Grimholt U, et al. Mapping the cellular landscape of Atlantic salmon head kidney by single cell and single nucleus [transcriptomics](/knowledge/bioinformatics/modern-transcriptomics-bulk-single-cell-spatial). *Fish Shellfish Immunol*. 2024. URL: https://pubmed.ncbi.nlm.nih.gov/38181891/

***

## Related Clinical & Scientific Guides

* [A Practical Guide to Detecting Antimicrobial Resistance Genes in Shotgun Metagenomic Data](/knowledge/bioinformatics/c/general/a-practical-guide-to-detecting-antimicrobial-resistance-genes-in-shotgun-metagenomic-data)
* [Computational Immunology: Modeling the Immune System](/knowledge/bioinformatics/c/general/computational-immunology-modeling-the-immune-system)
* [How to Set Hard Filters for Germline Variant Calling: A Practical Guide to GATK Best Practices](/knowledge/bioinformatics/c/general/how-to-set-hard-filters-for-germline-variant-calling-a-practical-guide-to-gatk-best-practices)