ForamEcoQS is a Windows desktop application for ecological quality assessment based on benthic foraminifera. It targets .NET 6, uses Windows Forms for the graphical interface, and can also run in command-line mode. The software calculates multiple biotic and diversity indices from species-by-sample abundance matrices and assigns Ecological Quality Status (EQS) classes where implemented.
- Matteo Mangiagalli (m.mangiagalli@campus.uniurb.it)
- Fabrizio Frontalini (fabrizio.frontalini@uniurb.it)
- Carla Cristallo (c.cristallo1@campus.uniurb.it)
- Fabio Francescangeli (fabio.francescangeli@unifr.ch)
Year: 2026
ForamEcoQS supports a practical analysis workflow:
- Import abundance matrices from Excel or CSV files;
- Create or edit sample tables directly in the application;
- Clean and normalize sample data;
- Calculate selected indices for each sample;
- Review EQS classifications for supported indices;
- Export tables, plots, and EQS agreement summaries.
- Create an empty dataset.
- Open existing datasets from Excel or CSV.
- Save the current dataset to Excel.
- Create spreadsheet templates from reference lists.
- Add, remove, and rename sample columns.
- Undo recent data edits.
- Clean and normalize sample values.
- Compute selected indices from the
Advanced Indicesworkflow. - Choose threshold systems and reference options from
Index Calculation Settings. - Apply optional EQR calculations for
FSIandexp(H'bc). - Use selected Foram-AMBI lists for eco-group based indices.
- Open plot options for calculated results.
- Open a composite dashboard.
- Load existing index tables for plotting without recalculation.
- Export result tables to Excel.
- Export plots to PNG.
- Foram-AMBI List Manager.
- FSI List Manager.
- Geographic Areas Database.
- User Custom Lists Manager.
- Ecological-group override support for taxa assignments.
- EQS summary table.
- Pairwise Cohen's kappa matrix.
- Confusion matrices between indices.
- Kappa heatmap.
- Exportable EQS agreement summary.
- Run the same calculator in command-line mode by passing arguments at startup.
- Read the first worksheet from an Excel input file.
- Print results to console or export them to Excel.
- Foram-AMBI
- Foram-M-AMBI
- FSI
- TSI-Med
- NQIf
- FIEI
- BENTIX
- BQI
- FoRAM Index
exp(H'bc)H'log2H'lnSimpson (1-D)Pielou's JES100
- Species Richness (
S) - Total Abundance (
N) - Ecological group percentages (
EG1-EG5) - FoRAM functional group percentages
The threshold system is selectable in Index Calculation Settings.
| System | High | Good | Moderate | Poor | Bad |
|---|---|---|---|---|---|
| Borja 2003 | <= 1.2 |
<= 3.3 |
<= 4.3 |
<= 5.5 |
> 5.5 |
| Parent 2021 | < 1.4 |
< 2.4 |
< 3.4 |
< 4.4 |
>= 4.4 |
| Bouchet 2025 (Brazilian transitional waters) | < 1.4 |
< 1.8 |
< 3.0 |
<= 4.0 |
> 4.0 |
Implemented formula:
TSI-Med = ((%TS - %TSref) / (100 - %TSref)) x 100
%TSref is derived from mud percentage (%mud) using the selected reference curve:
- Barras 2014:
%TSref = 5.0 + 0.3 x %mud - Parent 2021 (>125 µm):
%TSref = 4.5 + 0.28 x %mud - Jorissen 2018 homogenized:
%TSref = 3.6718 + 0.3247 x %mud
Supported EQS conventions:
| Convention | High | Good | Moderate | Poor | Bad |
|---|---|---|---|---|---|
| Parent 2021 | <= 4 |
<= 16 |
<= 36 |
<= 64 |
> 64 |
| Barras & Jorissen 2011 | > 64 |
<= 64 |
<= 36 |
<= 16 |
<= 4 |
The second convention inverts the ecological meaning of low TSI values.
| Class | Rule |
|---|---|
| High | >= 9 |
| Good | >= 5.5 |
| Moderate | >= 2 |
| Poor | >= 1 |
| Bad | < 1 |
0 is treated as Azoic.
| Class | Rule |
|---|---|
| High | >= 0.54 |
| Good | >= 0.45 |
| Moderate | >= 0.31 |
| Poor | >= 0.13 |
| Bad | < 0.13 |
| Threshold Set | High | Good | Moderate | Poor | Bad |
|---|---|---|---|---|---|
O'Brien 2021 Norway >125 µm |
>= 10 |
>= 7 |
>= 5 |
> 2 |
<= 2 |
O'Brien 2021 Norway >63 µm |
>= 22 |
>= 13 |
>= 7 |
> 3 |
<= 3 |
O'Brien 2021 Italy >63 µm |
>= 5 |
>= 4 |
>= 3 |
> 2 |
<= 2 |
Optional EQR mode is available for FSI and exp(H'bc).
EQR = Observed / Reference- The value is clamped to the
0.0-1.0range.
EQS boundaries from EQR:
| Class | Rule |
|---|---|
| High | >= 0.8 |
| Good | >= 0.6 |
| Moderate | >= 0.4 |
| Poor | >= 0.2 |
| Bad | < 0.2 |
Default reference values exposed by the settings dialog:
FSIreference value:10.0exp(H'bc)reference value:20.0
| Index | High | Good | Moderate | Poor | Bad |
|---|---|---|---|---|---|
| BENTIX | >= 4.5 |
>= 3.5 |
>= 2.5 |
>= 2.0 |
< 2.0 |
| BQI | >= 12 |
>= 8 |
>= 5 |
>= 2 |
< 2 |
| Foram-M-AMBI | >= 0.81 |
>= 0.61 |
>= 0.41 |
>= 0.21 |
< 0.21 |
For BENTIX and BQI, 0 is treated as Azoic.
Implemented formula:
FI = (10 x Ps) + Po + (2 x Ph)
Where:
Ps= symbiont-bearing proportionPo= stress-tolerant proportionPh= heterotrophic proportion
Interpretation:
> 4: suitable for coral growth2-4: marginal conditions< 2: unsuitable for coral growth
.NET 6 SDKfor build and run from source.- Windows for normal GUI execution.
- A Windows-capable environment for the
net6.0-windowstarget. - Bundled reference
.csvand.xlsfiles available at runtime.
NuGet packages used by the project:
ClosedXMLExcelDataReaderExcelDataReader.DataSetOxyPlot.CoreOxyPlot.WindowsFormsSystem.Data.DataSetExtensions
Important build note:
- The project targets
net6.0-windows. - On non-Windows systems,
dotnet buildcan fail withNETSDK1100unless Windows targeting is enabled explicitly.
Standard build:
dotnet restore ForamEcoQS.sln
dotnet build ForamEcoQS.sln -c ReleaseOn non-Windows systems:
dotnet build ForamEcoQS.sln -c Release -p:EnableWindowsTargeting=trueThis can build the Windows-targeted application, but GUI execution is still intended for Windows.
dotnet run --project ForamEcoQSIf no command-line arguments are passed, the application starts in GUI mode, shows the splash screen, and then opens the main window.
dotnet run --project ForamEcoQS -- -i INPUT_FILE [options]Supported options:
-i INPUT_FILE-index=INDEX_LIST-list LIST_NAME-o OUTPUT_FILE-mud=VALUE-help--help/?
Supported reference list names for -list:
jorissenalvebouchetmedbouchetatlbouchetsouthatlOMalley2021
Accepted index names in -index=:
exp(H'bc)H'log2H'lnFSITSI-MedNQIfFIEIForam-AMBIForam-M-AMBIBENTIXBQIFoRAM IndexSpecies Richness (S)Total Abundance (N)Simpson (1-D)Pielou's JES100
Example:
dotnet run --project ForamEcoQS -- -i data.xlsx -index=all -list jorissen -o results.xlsx -mud=50The expected input layout is a species-by-sample matrix:
- The first column must contain species names;
- Each following column represents one sample;
- Positive numeric values are treated as abundances.
CLI mode supports Excel .xls and .xlsx files and reads the first worksheet. GUI mode also supports CSV import.
ForamEcoQS can produce:
- Calculated result tables in the
Advanced Indiceswindow; - An EQS summary table;
- Excel exports of results;
- PNG exports for generated plots;
- Exports for EQS agreement outputs, including the kappa matrix.
The application includes:
- Selectable Foram-AMBI reference lists;
- A Foram-AMBI List Manager;
- An FSI List Manager;
- A Geographic Areas Database;
- A User Custom Lists Manager;
- Taxon-specific ecological-group overrides;
- Template generation from lists.
- The GUI is Windows-oriented because the project is a Windows Forms application.
- Some indices depend on the selected databank and species classification coverage.
- TSI-Med depends on mud percentage and the selected reference curve.
- FoRAM Index is mainly meaningful for tropical or subtropical reef settings.
Azoicis treated separately fromBadin several EQS outputs.
- Borja A. et al. (2003). AMBI classification boundaries.
- Parent B. et al. (2021). Foram-AMBI and TSI-related threshold updates.
- Bouchet V.M.P. et al. (2025). Brazilian transitional waters Foram-AMBI thresholds.
- Barras C. et al. (2014). TSI-Med reference relationship.
- Jorissen F.J. et al. (2018). Foram-AMBI Mediterranean development.
- O'Brien B.J. et al. (2021).
exp(H'bc)thresholds and related foraminiferal EQS work. - Dimiza M.D. et al. (2016). Foram Stress Index.
- Alve E. et al. (2019). Norwegian Quality Index for foraminifera.
- Simboura N. and Zenetos A. (2002). BENTIX.
- Rosenberg R. et al. (2004). BQI framework.
- Muxika I. et al. (2007). M-AMBI / multivariate ecological quality approach.
- Hallock P. et al. (2003). Original FoRAM Index.
- Prazeres M. et al. (2020). FoRAM Index revisit.
- Mojtahid M. et al. (2006). FIEI.