1. Data Preprocessing

1.1 Page Overview

FluNexus offers a preprocessing module for users to preprocess their own uploaded data on the Data Preprocessing page. The HA1 preprocessing panel offers three configurable options: (i) remove uncertain amino acids (e.g., B, Z, J, X), (ii) remove sequences with gaps at both ends, and (iii) remove sequences with high gap ratio. For HI data, FluNexus offers a menu to convert HI titers into antigenic distances.

1.2 Preparation (File formats)

1.3 Quick Start

  1. Upload data

    • In the upper-left Data Input panel:

      • Drop your HA1 sequence data (.fasta) into the "Drop file or click to upload data" area, or click the area to select the file.

      • Drop your HI data (.csv or .xlsx) into the the "Drop file or click to upload data" area, or click the area to select the file.

    image-20260115205300785

  2. Enable preprocessing

    • In the upper-right Options panel:

      • Toggle on the Preprocess HA1 and Preprocess HI switches.

      • Select the subtype of the HA1 sequences to be preprocessed.

    image-20251125215555839

  3. Set preprocessing details

    • HA1 Preprocessing Options (bottom left):

      • Toggle the switches you need (recommended to enable all by default):

        • Remove uncertain amino acids

        • Remove sequences with high gap ratio

        • Remove sequences with gaps at both ends

    • HI Preprocessing Options (bottom right):

      • Select Distance type: NAD or AHD.

    image-20251125215847939

  4. Execute and view results

    • Click EXECUTE at the bottom of the page to start preprocessing.

    • In the Preprocessed Data panel, expand HA1 data or HI data to view results (you can export the preprocessed data by clicking the Download preprocessed data button).

    image-20260116203244767

  5. Example (optional)

    • If you don’t have data ready, click LOAD EXAMPLE at the top of the Data Input panel to automatically load demo data and execute the analysis.

  6. Reset (optional)

    • If you need to start over, click RESET at the bottom of the page.

1.4 Detailed Module Description

1.4.1 Data Input

1.4.2 Options (Global Switches)

If you only want to test one data type (e.g., HA1 sequence only), you can enable only the corresponding switch.

1.4.3 HA1 Preprocessing Options

1.4.4 HI Preprocessing Options

1.4.5 Preprocessed Data

1.4.6 Bottom Operation Buttons

1.5 FAQ

2. Antigenic Prediction

2.1 Page Overview

On the Antigenic Prediction page in FluNexus, users can initiate an online analysis by uploading HA1 sequence data. The interface allows for the selection of specific computational tools, the designation of the virus subtype, and the choice between two types of antigenic distance.

2.2 Preparation

2.2.1 Options (File formats)

Here is the download link for the example file.

2.2.2 Sequence Requirements

All input virus sequences must meet the specified length for their subtype, and the amino acid positions must align with the reference sequence. Sequences that do not meet these requirements cannot be processed and will prevent the workflow from executing.

2.3 Quick Start

  1. Upload data Drop a file containing HA1 sequences into the "Drop file or click to upload data" area.

    image-20260115205439980

  2. Choose parameters

    In the right-hand Options:

    • ToolMFPAD (Default), AdaBoost, PREDAC, PREDAC-CNN, CNN-M23, CNN-PSO, FluAttn, PN-AgEvaH1, IAV-CNN, PREDAC-Transformer

    • Distance type: NAD or AHD

    • Subtype: H1, H3, or H5

    image-20251201134627649

  3. Run prediction and View results Click EXECUTE at the bottom to start antigenic distance prediction. After completion, results appear in Predictive Result. Click Download result to save.

    image-20251126005410731

  4. Example (optional)

  1. Reset (optional)

2.4 Detailed Module Description

2.4.1 Data Input

Upload HA1 sequence data (.csv/.xlsx/.fasta)

2.4.2 Options (Parameter Settings)

ParameterDescriptionDefault
ToolSelect the prediction model. Currently supports MFPAD, AdaBoost, PREDAC, PREDAC-CNN, CNN-M23, CNN-PSO, FluAttn, PN-AgEvaH1, IAV-CNN and PREDAC-TransformerMFPAD
Distance typeAntigenic distance metric: NAD (The Normalized Antigenic Distance) or AHD (The log2-transformed Archetti–Horsfall Distance).NAD
SubtypeH1, H3, or H5.H3

2.4.3 Predictive Result

The result contains the following columns:

Note: After obtaining the inference results, click the Upload to visualization button to go to the visualization interface. NAD corresponds to the Antigenic map and AHD corresponds to the Antigenic cluster.

2.4.4 Bottom Action Area

2.5 FAQ

3. Antigenic Map

3.1 Page Overview

The Antigenic Map page is designed for visualization. Maps can be constructed using either the proposed manifold-based method or the established Racmacs method, accepting HI data or NAD values as input.

3.2 Preparation (File formats)

The Antigenic Map supports two types of input data: Titer data and NAD distance data. Use the data type option to select the corresponding format.

Here is the download link for the example file.

In the file, each row represents an antigen and each column represents an antiserum. The required format is as follows:

virusHK/1/1968HK/107/1971...EN/42/1972PC/1/1973
BI/15793/1968354*...501109
BI/16190/1968640*...32080
..................
HK/1/196812801280...256053
BI/808/1969320*...640120
virus1virus2antigenic_distance
BI/15793/1968BI/16190/19681.1
BI/16190/1968HK/1/19681.4
.........
HK/1/1968BI/15793/19681.6
BI/808/1969BI/808/19691.2

3.3 Quick Start

The control panel is on the right and contains four sub-tabs:

TabOverview
OptionsConfigure plotting algorithm, data type, dimensionality, clustering parameters, etc.
StyleAdjust point size, color, opacity, etc.
PointsView groupings for antigens and sera
Job InfoView job ID, status, download/upload results, and notification settings

The large white area on the left is the canvas for visualization; the antigenic map will render there after execution.

  1. Upload data Drop the file into the "Drop file or click to upload data" area, or click to select a file.

    image-20260115205535292

  2. Choose parameters

    image-20260116204400593

  3. Click the Start button to execute the visualization task

    image-20260115205617754

  4. Generate the antigenic map

    image-20260115205906776

    Under the default style settings, the visual elements in the antigenic map are defined as follows:

    • Symbols: antigens are visualized as circles (2D) or spheres (3D), whereas antisera are depicted as squares (2D) or cubes (3D).

    • Colors: points are colored to represent distinct antigenic groups identified by the k-means algorithm.

    • Axes: the axes represent the dimensions of the antigenic space (2D or 3D).

    • Grid: each grid interval represents 2 antigenic units, equivalent to a 4-folds change in HI titers.

3.4 Detailed Instructions

3.4.1 Upload & Load

▸ Upload file

Click the "Drop file or click to upload data" area to upload data for visualization.

▸ Load example

Click Load example to load built-in demo data for a quick walkthrough.

▸ Start job

Click Start (purple arrow button at the top right) to run the plotting task. After execution, check progress and results in the Job Info tab.

3.4.2 Options Tab: Plotting & Algorithm Settings

ParameterDescription
MethodSelect the visualization algorithm. Available options are FluNexus (default) and Racmacs.
Data typeSelect input type: available options are Titer and NAD distance.
DimensionOutput dimensionality. Support 2D or 3D.
Number of optimizersThe number of optimizers
SeedRandom seed for reproducibility.
ClusterThe number of clusters.

💡 Tips:

  • If the points are scattered chaotically, increase the number of optimizers.

  • Fix the Seed to obtain repeatable results.

3.4.3 Style Tab: Visual Styling

The Style Tab controls the coordinate system and point appearance. Key parameters:

ParameterFunction
Show namesToggle the display of names for all points on the antigenic map.
Style SettingsConfigure label styles for all names, including font size, color, and other formatting options.
Apply toChoose the target for styling: All / Antigens / Sera.
ShapeSelect point shape.
Coordinate scaleCoordinate scale defines the scale division of the coordinate system, i.e., how much antigen distance one grid unit represents. A scale value of s indicates that s grid cells correspond to one unit of antigenic distance. For example, scale = 1 means each grid cell corresponds directly to one antigenic distance unit, whereas scale = 2 means two grid cells represent one antigenic distance unit.
Point scaleControl point size.
Point opacityControl point transparency (0–1).
Outline widthControl outline width.
Point colorChoose point color.

3.4.4 Points Tab: Point-set Information

This tab lists two types of elements:

Click any item to highlight the corresponding entity on the canvas on the left.

In addition, hold Ctrl and click points on the antigenic map to select multiple points simultaneously.

3.4.5 Job Info Tab: Job & Result Management

FieldDescription
Notification emailReceive an email notification when the job finishes.
Download MetadataDownload the current job’s metadata files.
Upload MetadataLoad previously saved metadata from local files.

💡 Note:

For long-running jobs, we recommend providing an email address to receive completion notifications automatically.

3.5 FAQ

4. Antigenic Cluster

4.1 Page Overview

The Antigenic Cluster page is designed for visualization. FluNexus constructs an antigenic correlation network where antigenic relationships are quantified by AHD distance.

4.2 Preparation (File formats)

The Antigenic Cluster supports three types of input data: Titer data, AHD distance data and Relationship data. Use the data type option to select the corresponding format.

Here is the download link for the example file.

In the file, each row represents an antigen and each column represents an antiserum. The required format is as follows:

virusHK/1/1968HK/107/1971...EN/42/1972PC/1/1973
BI/15793/1968354*...501109
BI/16190/1968640*...32080
..................
HK/1/196812801280...256053
BI/808/1969320*...640120
virus1virus2antigenic_distance
BI/15793/1968BI/16190/19681.0
BI/16190/1968HK/1/19681.1
.........
HK/1/1968BI/15793/19681.9
BI/808/1969BI/808/19691.3
virus1virus2antigenic_relationship
BI/15793/1968BI/16190/19680
BI/16190/1968HK/1/19680
.........
HK/1/1968BI/15793/19681
BI/808/1969BI/808/19690

4.3 Quick Start

The control panel is on the right and contains four sub-tabs:

TabOverview
OptionsConfigure the data type
StyleAdjust point size, color, opacity, etc.
PointsView Points
Job InfoView job ID, status, download/upload results, and notification settings

The large white area on the left is the canvas for visualization; the antigenic cluster will render there after execution.

  1. Upload data Drop the file into the "Drop file or click to upload data" area, or click to select a file.

    image-20260115211330089

  2. Choose the data type

    image-20260116204432297

  3. Click the Start button to execute the visualization task

    image-20260115211403669

  4. Generate the antigenic cluster

    image-20260115211453459

    Under the default style settings, the visual elements in the antigenic cluster are defined as follows:

    • Symbols: virused are visualized as circles (2D).

    • Colors: points are colored to represent distinct antigenic groups identified by the Markov Clustering algorithm.

    • Axes: the axes represent the dimensions of the antigenic space (2D).

4.4 Detailed Instructions

4.4.1 Upload & Load

▸ Upload file

Drop the file into the "Drop file or click to upload data" area, or click to select a file for visualization.

▸ Load example

Click Load example to load built-in demo data for a quick walkthrough.

▸ Start job

Click Start (purple arrow button at the top right) to run the plotting task. After execution, check progress and results in the Job Info tab.

4.4.2 Options Tab

This tab configures basic plotting parameters:

ParameterDescription
Data typeSelect input type: available options are Tite, AHD distance and Relationship.

4.4.3 Style Tab: Visual Styling

Adjust the appearance of points and axes to better present and differentiate antigens.

ParameterDescription
Show namesToggle the display of names for all points on the antigenic map.
Style SettingsConfigure label styles for all names, including font size, color, and other formatting options.
ShapeSelect point shape.
Coordinate scaleScale the coordinate system.
Point scaleControl point size.
Point opacityControl point transparency (0–1).
Outline widthControl outline width.
Point colorChoose point color.
Outline colorChoose outline color.

4.4.4 Points Tab: Point-set Information

4.4.5 Job Info Tab (Status & Management)

FieldDescription
Notification emailReceive an email notification when the job finishes.
Download MetadataDownload the current job’s metadata files.
Upload MetaDataLoad previously saved metadata from local files.

💡 Note:

For long-running jobs, we recommend providing an email address to receive completion notifications automatically.

4.5 FAQ