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
{{ message }}
Repository navigation
Commit 352601c
Browse filesBrowse the repository at this point in the historyBrowse files
Fix tail-side complexity scanning, align overlap-search defaults with fastp-style thresholds, and recalibrate validation presets so Normal favors consensus salvage while Strict keeps conservative mismatch rejection.
Update README and benchmark docs to explain pairasm's template-centric consensus model and the intentionally apples-to-oranges nature of default tool comparisons.
Copy file name to clipboardExpand all lines: README.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
@@ -79,9 +79,9 @@ pairasm \
79
79
-1 sample_R1.fastq.gz \
80
80
-2 sample_R2.fastq.gz \
81
81
--min-overlap 30 \
82
-
--overlap-diff-max 2 \
82
+
--overlap-diff-max 5 \
83
83
--diff-percent-max 0.2 \
84
-
--min-complexity-score 39
84
+
--min-complexity-score 30
85
85
```
86
86
87
87
By default, merged reads are quality-corrected using the overlapping evidence from both mates. Use `--no-correct` when you want the merged sequence but do not want overlap-based quality correction.
@@ -116,6 +116,8 @@ The main operations are:
116
116
- Overlap-aware quality correction, including a library mode that updates qualities without changing mate bases.
117
117
- Normal no-overlap handling: a pair with no acceptable overlap is an expected outcome and not treated as a failure.
118
118
119
+
Unlike filtering tools that bundle merging like fastp, `pairasm` is entirely focused on overlap discovery and merging, which has important consequences for sensitivity. Whereas a tool like fastp might filter a mate because it's below quality thresholds in isolation, `pairasm` might instead "salveage" the pair, producing a merged consensus read with corrected quality scores that then passes filtering. As a result, `pairasm` will often merge considerably more pairs than `fastp` or VSEARCH with default settings. Merged corrected reads can then be considered in their own right for further filtering. A major goal for `pairasm` and `libpairassembly` was to leverage correction to turn overlapping mate evidence into more higher-confidence consensus reads.
120
+
119
121
## Using the library in another Rust tool
120
122
121
123
The library does not require applications to adopt a specific FASTQ parser. If your parser record can expose an ID, sequence, and FASTQ ASCII quality string, implement `SeqRecordView` and pass those records through `PairInput`.
Tool paths can be exported or copied into `benches/config/tools.env` from `tools.env.example`. Benchmark defaults can similarly be copied into `benches/config/benchmark.env` from `benchmark.env.example`.
39
39
40
-
These comparisons are not perfectly apples-to-apples yet. The tools differ in scoring, filtering, output semantics, and compression behavior. Treat the first runs as decision-support data: runtime, merged counts, and logs should guide which settings and datasets need deeper follow-up before release claims are made.
40
+
It should be emphasized that these comparisons are knowingly not perfectly apples-to-apples. The tools differ in scoring, filtering, output semantics, and compression behavior. In particular, fastp's default merge output reflects both overlap detection and fastp's general read filtering, while `pairasm` is focused on overlap-based consensus assembly and does not apply the same pre-merge read-level filters. This makes default CLI comparisons useful for understanding normal tool behavior. They should not, however, be taken as a pure comparison of overlap discovery.
41
+
42
+
A `pairasm`-only merged read may therefore represent an intended salvage case: a pair whose individual reads look low quality, but whose overlapping evidence supports a corrected consensus. Treat benchmark results as decision-support data. Runtime, merged counts, output membership, and logs should guide which settings and datasets need deeper follow-up before release claims are made.
0 commit comments