Tutorial

PanViewer: An Integrated Platform for Cereal Pan-Gene Exploration (graingenes.org/panviewer).

PanViewer is a new GrainGenes tool currently under development that facilitates the exploration of pan-genes across wheat, barley, and oat genomes. PanViewer has been developed to provide researchers with an intuitive, user-friendly platform for visualizing and comparing pan-gene sequence diversity, gene presence–absence variation, and homoeologous relationships across major cereal crops. A total of 16 wheat genomes, 77 barley genomes, and 33 oat genomes have been processed using Pandagma, a method developed for pan-gene annotation that takes into account homoeologous chromosomes. This approach offers more accurate clustering of genes across complex polyploid genomes, particularly in wheat and oat, where distinguishing homoeologs is essential for meaningful comparative analysis. Additionally, the OrthoFinder-based pan-gene annotations obtained from the PanBARLEX and PanOat projects were added to PanViewer and are available to view independently of the Pandagma pan-gene annotations. PanViewer also enables users to quickly download pan-gene gene lists, coding sequences (CDS), and predicted protein sequences for downstream analyses. Integrated tools allow researchers to overlay gene expression data, explore synteny and collinearity relationships across genomes, construct protein alignments and phylogenetic trees, and assess sequence conservation relative to selected reference genes. Together, these features make PanViewer a powerful and flexible resource for comparative genomics and functional analysis in small grains research.

Overview

A pan-gene groups orthologous genes from many accessions (genomes) into one cluster. PanViewer lets you search by gene ID or keyword, open a pan-gene cluster, choose which accessions and genes to include, and inspect sequence alignment, phylogeny, synteny, expression, and variant summaries in one place.

  1. Tabs to select from the available species list. By default, PanViewer opens the Pandagma pan-gene annotations; when additional pan-gene annotations are available (for example PanBARLEX or PanOat), a toggle button under the tabs lets you switch between them.
  2. Search bar — input a gene ID or keyword to search. Keywords are matched against gene descriptions of best MMseqs2 hits to Arabidopsis Araport11 and Rice IRGSP-1.0 to identify relevant pan-genes.
  3. Saved pan-genes — save pan-gene presets in the browser for easier access on return visits.
PanViewer main search page with species tabs, search bar, and saved pan-genes
Main search page for the active species.

Pan-gene page header

The header summarizes the open pan-gene and provides quick exports and preset controls shared across tabs.

  1. Pan-gene title.
  2. If a reference gene from the pan-gene set is selected, it appears here with available gene descriptions from Arabidopsis and rice based on best MMseqs2 hits.
  3. Buttons to download the gene list table, CDS sequences, and protein sequences for the selected genes within the pan-gene.
  4. Save pan-gene presets.
Pan-gene page header with title, reference descriptions, and download buttons
Description header on a pan-gene detail page.

Accessions tab

  1. Table that allows selection and deselection of specific accessions from the list.
  2. Genome assembly versions used for the pan-gene annotation, including links.
  3. Count of genes for each genome assembly. For polyploid species, the count is split across sub-genomes.
Accessions tab with genome assemblies and per-subgenome gene counts
Accessions tab for a wheat pan-gene.

Genes tab

  1. Toggle between different table views and selection options.
  2. In the gene view, press gene IDs to select or deselect them. Press the radio button to select a reference gene within the pan-gene to compare to.
  3. For polyploids, use the buttons in the headers to select or deselect all homoeologues.
  4. Use the buttons next to each gene ID to copy gene IDs, or open windows with additional information such as sequences and links to the GrainGenes BLAST database or genome browsers.
Genes tab subgenome grid with reference selection and inclusion toggles
Genes tab — subgenome grid view.
Genes tab table view listing gene IDs per accession
Genes tab — table view.

Expression tab

Where expression data are available, PanViewer loads tissue RNA-seq and differential-expression results from PlantApp for reference-genome genes in the cluster.

  1. Select from the genes with available gene expression data.
  2. Available tissue-specific gene expression and differential expression data (DEG) will appear.
  3. Compare the tissue-specific gene expression of up to six genes side by side.
Expression tab with tissue plots and DEG table
Expression tab with multi-gene comparison.

Synteny tab

On coordinate-aware datasets (wheat and oat), synteny draws a neighborhood strip per included focal gene.

  1. Select from the options to modify how the synteny plot is generated.
  2. Each selected gene in the pan-gene appears as a separate row. Pressing the (−) icon deselects the gene and removes it from the plot.
  3. Hover neighboring genes to check for Arabidopsis or rice annotations based on best MMseqs2 hits. Pressing a neighboring gene opens a new tab if that gene is within an annotated pan-gene.
Synteny tab with per-gene neighborhood strips
Synteny tab — one strip per focal gene.

Collinearity tab

Collinearity stacks synteny-style tracks and links genes that share the same pan-gene id across rows.

  1. Select from the options to modify how the collinearity plot is generated.
  2. Use the buttons next to every gene ID to rotate the orientation, add or remove neighboring genes from the 5′ and 3′ ends, or deselect the gene and remove it from the plot.
  3. Hover neighboring genes to check for Arabidopsis or rice annotations based on best MMseqs2 hits. Pressing a neighboring gene opens a new tab if that gene is within an annotated pan-gene.
Collinearity tab with linked synteny tracks
Collinearity tab — stacked tracks with pan-gene links.

Alignment tab

  1. Select from the options to modify how the alignment plot is generated. Press Re-align to refresh the alignment if necessary.
  2. Protein sequence alignments appear here. If a reference gene is selected, secondary structure predictions appear above the sequences.
Protein alignment tab with secondary structure row
Alignment tab with optional secondary-structure track.

Tree tab

  1. Select from the options to modify how the alignment plot is generated. Press Re-align to refresh the alignment if necessary.
  2. Protein sequence alignments appear here. If a reference gene is selected, secondary structure predictions appear above the sequences.
  3. Use FastTree from MSA to generate a more accurate tree than the default tree when ready.
Tree tab with alignment side panel and FastTree option
Tree tab with alignment side panel.

Conservation tab

Conservation summaries require a selected reference gene (choose one on the Genes tab).

  1. The top part shows sequence conservation compared to a selected reference gene.
  2. The bottom part shows predicted secondary structure conservation compared to a reference gene.
  3. Hover over a residue to see additional information.
Conservation tab with sequence and secondary-structure conservation plots
Conservation tab — sequence and secondary-structure tracks.

Variants tab

The variants table lists every alignment column where the reference residue differs from at least one other included gene. Rows are active (non-reference) genes; columns are reference amino-acid positions that vary across the cluster. Cells show the alternate residue (color-coded by amino acid); identical residues to the reference are left blank. A summary above the table reports how many variant sites were found and how many genes were compared. Sort columns by alignment position, allele frequency, or diversity, and export the matrix as TSV. A reference gene must be selected on the Genes tab before this tab populates.

Variants tab matrix of amino-acid differences versus the reference gene
Variants tab — protein differences relative to the chosen reference.

Exports & downloads

From the pan-gene header and individual tabs you can download the active gene list (TSV), CDS and protein FASTA, alignment (FASTA), tree (Newick), variant matrix (TSV), collinearity plot (PNG), and expression tables. Export filenames include a .panviewer.YYYYMMDD. stamp so downloads are easy to trace.