You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/output.md
+15-8Lines changed: 15 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -681,7 +681,7 @@ When expected sequences are supplied, the following files will be produced:
681
681
682
682
When additionally expected abundances are available, additional performance metrics will be generated.
683
683
684
-
(1) Metrics base on presence/absence:
684
+
####Metrics base on presence/absence:
685
685
686
686
-`observed`: Number of observed sequences
687
687
-`expected`: Number of expected sequences
@@ -698,24 +698,31 @@ When additionally expected abundances are available, additional performance metr
698
698
-`FNs_exp`: FN IDs (max 100) corresponding to expected sequences
699
699
-`FPs_obs`: FP IDs (max 100) corresponding to observed sequences
700
700
701
-
(2) Metrics based on abundances:
701
+
> [!NOTE]
702
+
> The F1 score is unreliable with strongly unbalanced data.
703
+
704
+
> [!WARNING]
705
+
> If the supplied expected sequences are not unique in the region of the alignment with the observed sequences, alignment matches are used to aggregate identical expected sequences and vice versa. In case there isnt an exact match to a set of identical expected sequences, those will not be aggregated and inflate the number of expected sequences.
706
+
707
+
#### Metrics based on abundances:
708
+
709
+
(1) based on filtered abundance tables, **excluding** non-matching sequences (FP & FN)
710
+
711
+
These metrics would be inflated, dominated or skewed by false positives and false negatives.
(2) based on complete abundance tables, **including** non-matching sequences (FP & FN)
721
+
709
722
-`bray-curtis`: Bray-Curtis Dissimilarity
710
723
-`hellinger`: Hellinger Distance
711
724
-`jensen-shannon`: Jensen-Shannon Divergence
712
725
713
-
> [!NOTE]
714
-
> The F1 score is unreliable with strongly unbalanced data.
715
-
716
-
> [!WARNING]
717
-
> If the supplied expected sequences are not unique in the region of the alignment with the observed sequences, alignment matches are used to aggregate identical expected sequences. In case there isnt an exact match to a set of identical expected sequences, those will not be aggregated and inflate the number of expected sequences.
Copy file name to clipboardExpand all lines: docs/usage.md
+5-3Lines changed: 5 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -343,10 +343,12 @@ To investigate the quality of data generation and/or data analysis, analysis out
343
343
The observed sequences will be aligned globally (using `VSEASRCH --usearch_global`) to the expected sequences (`--expected_sequences`).
344
344
Depending on the region to analyse (`--expected_sequences_region`) the mismatches and gaps within the alignment will be summarized with or without terminal gaps.
345
345
The nucleotide differences will be evaluated for each observed sequence to its best match.
346
+
346
347
Expected abundances per sequence (`--expected_abundances`) enable sample specific presence/absence metrics and abundance-based comparisons.
347
-
For those, observed and expected sequences will be aggregated by their analysed region: when one observed sequence matches exactely to several expected sequences, the expected sequence IDs (and abundances) will be concatenated and vice versa. That means, for example, if observed sequences are shorter than expected sequences and the analysed region is "query", each expected sequence (ID) that matches the same observed sequence will be aggregated.
348
+
For those, observed and expected sequences will be aggregated by their analysed region: when one observed sequence matches exactely to several expected sequences, the expected sequence IDs will be concatenated and vice versa.
349
+
That means, for example, if observed sequences are shorter than expected sequences and the analysed region is "query", each expected sequence (ID) that matches the same observed sequence will be aggregated.
348
350
349
-
The aggregation of obsevered and expected IDs and abundances based on perfect matches:
351
+
The aggregation of obsevered and expected IDs and abundances based on perfect matches
350
352
351
353
| obsID | expID | exp_abund | obs_abund |
352
354
| ----- | ----- | --------- | --------- |
@@ -373,7 +375,7 @@ will be transformed to:
373
375
| h || 0 | 1 |
374
376
|| 4 | 1 | 0 |
375
377
376
-
This aggregation will not work properly when many sequences are not observed, e.g. in the above axample observed ID "a" links expected IDs "1" and "2", which would not have been aggregated if "a" would not have been observed. This would inflate expected sequences. Therefore, optimal sequence and abundance input are tailored towards the actual sequenced region and de-duplicated.
378
+
This aggregation will not work properly when many sequences are not observed, e.g. in the above example observed ID "a" links expected IDs "1" and "2", which would not have been aggregated if "a" would not have been observed. This would inflate expected sequences. Therefore, optimal sequence and abundance input are tailored towards the actual sequenced region and de-duplicated.
0 commit comments