diff --git a/paper/paper.md b/paper/paper.md index b9e4a4e..c6a54db 100644 --- a/paper/paper.md +++ b/paper/paper.md @@ -35,7 +35,7 @@ The table below summarizes, based on the official documentation of each project, |---|---|---|---|---| | Supported input | Kraken2 reports and Bracken abundance-estimation output (Kraken2-style format) | Kraken 1, Kraken 2, KrakenUniq, and Bracken reports; several scripts also accept raw FASTA/FASTQ read files | Kraken, KrakenUniq, Kraken 2, Centrifuge, and MetaPhlAn-style reports, plus BAM alignments for its viewer | Kraken2 and Bracken reports | | Batch processing | Single CLI invocation ingests a directory of reports and produces rank-specific cross-sample matrices | `combine_kreports.py`/`combine_mpa.py` merge multiple reports, but each script is invoked and chained by the user; no unified multi-sample driver | Multi-sample comparison view within the interactive browser session; no scriptable or headless batch mode | `combine-abundances`/`combine-trees` subcommands merge multiple reports into one CSV or Newick file per invocation | -| Diversity calculations | Built-in alpha (Shannon, Pielou, Chao1, with rarefaction) and beta (Bray-Curtis, Jaccard) diversity | `DiversityTools` add-on scripts: alpha (Shannon, Berger-Parker, Simpson, inverse Simpson, Fisher), one sample at a time, and beta (Bray-Curtis only); neither includes rarefaction | None | None | +| Diversity calculations | Built-in alpha (Shannon, Pielou, Chao1, computed on raw counts) and beta (Bray-Curtis, Jaccard, with rarefaction) diversity | `DiversityTools` add-on scripts: alpha (Shannon, Berger-Parker, Simpson, inverse Simpson, Fisher), one sample at a time, and beta (Bray-Curtis only); neither includes rarefaction | None | None | | Visualization | Stacked bar plots, streamgraphs, and clustermaps rendered as static figures | None built in; `kreport2krona.py` exports a Krona-compatible text file for rendering with the external Krona tool | Interactive Sankey diagrams, sample overview plots, and a BAM alignment pileup viewer rendered in the browser | None | | Mode of use | Single CLI command for the full pipeline, or modular subcommands, suited to scripted/headless execution (HPC, CI) | Suite of independent Python CLI scripts, each run and chained manually by the user | Interactive R/Shiny web application (local install or Docker), designed for exploratory use rather than headless automation | Standalone compiled CLI binary performing one format-conversion operation per invocation | @@ -54,8 +54,8 @@ The core data engine features flexible filtering mechanisms. Users can selective Following matrix generation, the statistical module computes normalization metrics and ecological indices directly: * **Relative Abundance:** Normalizes absolute counts into percentage distributions using the formula: $\text{Relative Abundance} = \left( \frac{\text{Number of individuals of taxa}}{\text{Total number of individuals of all taxa}} \right) \times 100$. A user-defined abundance threshold aggregates rare background taxa into a consolidated `Other` category to simplify downstream parsing and plotting. -* **Alpha Diversity:** Calculates *Shannon* [@shannon1948mathematical], *Pielou’s evenness* [@pielou1966measurement], and *Chao1* [@chao2002estimating] indices. To mitigate artifacts caused by uneven sequencing depths across different sequencing runs, a built-in rarefaction procedure subsamples reads to a uniform user-specified depth prior to calculating indices. -* **Beta Diversity:** Computes compositional dissimilarity between samples via *Bray-Curtis* [@bray10jt] and *Jaccard* [@jaccard1901etude] distance metrics using `NumPy` [@harris2020array] and `SciPy` [@virtanen2020scipy], exporting standard distance matrices ready for ordination. +* **Alpha Diversity:** Calculates *Shannon* [@shannon1948mathematical], *Pielou’s evenness* [@pielou1966measurement], and *Chao1* [@chao2002estimating] indices directly from the unrarefied input count matrix. +* **Beta Diversity:** Computes compositional dissimilarity between samples via *Bray-Curtis* [@bray10jt] and *Jaccard* [@jaccard1901etude] distance metrics using `NumPy` [@harris2020array] and `SciPy` [@virtanen2020scipy], applying a user-defined rarefaction depth prior to matrix calculation to account for uneven sequencing depths, exporting standard distance matrices ready for ordination. ## Visualization