Files
obitools4/pkg/obiseq
Eric Coissac 60b3753673 feat(obiconvert): add --raw-taxid option and refactor taxID formatting
- Add new `--tax-id` mode (`obiconvert --raw-taxid`) to output bare numeric taxIDs instead of full-format strings.
- Introduce `TaxNode.FullString()` to always return the complete "code:id [name]@rank" format, regardless of global `UseRawTaxids()` setting.
- Update `.String(taxonomyCode)` to respect the global flag, returning bare ID when `--raw-taxid` is active.
- Extract raw taxID from full-format strings in taxonomy methods when needed (e.g., fallback without loaded DB).
- Add comprehensive test suite covering:
a) `--raw-taxid` execution and idempotency
b) full-format taxID output with `--taxonomy`
c interaction of both flags
d format validation
- Add test data: new reference files `out_ecotag.fasta`, taxonomy.csv, and updated shell script.
2026-04-30 16:57:38 +02:00
..
2025-12-18 14:11:11 +01:00
2024-03-02 16:03:46 -04:00
2022-08-23 11:11:36 +02:00
2025-11-18 15:30:20 +01:00
2026-03-13 14:54:21 +01:00
2025-06-17 16:46:11 +02:00
2025-02-24 11:31:49 +01:00
2025-06-17 16:46:11 +02:00
2024-11-14 19:10:23 +01:00