Skip to content

Commit

Permalink
name2taxid: Add support of fuzzy match. #88
Browse files Browse the repository at this point in the history
  • Loading branch information
shenwei356 committed Jun 15, 2024
1 parent 552e9ee commit 6547781
Show file tree
Hide file tree
Showing 5 changed files with 119 additions and 553 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
- Fix keeping taxids with a rank of "no rank" or "clade". [#97](https://github.com/shenwei356/taxonkit/issues/97)
- `taxonkit list`:
- Accept input TaxIds from stdin/files, not just the flag `--ids`. [#93](https://github.com/shenwei356/taxonkit/issues/93)
- `taxonkit name2taxid`:
- Add support of fuzzy match with `-f/--fuzzy`. [#88](https://github.com/shenwei356/taxonkit/issues/88)
- [TaxonKit v0.16.0](https://github.com/shenwei356/taxonkit/releases/tag/v0.16.0)
[![Github Releases (by Release)](https://img.shields.io/github/downloads/shenwei356/taxonkit/v0.16.0/total.svg)](https://github.com/shenwei356/taxonkit/releases/tag/v0.16.0)
- `taxonkit create-taxdump`:
Expand Down
6 changes: 6 additions & 0 deletions doc/docs/usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,12 @@ Examples:
63221
741158
# from stdin
echo 9606 | taxonkit list
# from file
taxonkit list <(echo 9606)
Usage:
taxonkit list [flags]
Expand Down
12 changes: 12 additions & 0 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -13,19 +13,31 @@ require (
github.com/shenwei356/util v0.5.2
github.com/shenwei356/xopen v0.3.2
github.com/spf13/cobra v1.8.0
github.com/suggest-go/suggest v0.0.0-20210111224047-3b44145ad0b0
github.com/twotwotwo/sorts v0.0.0-20160814051341-bf5c1f2b8553
)

require (
github.com/RoaringBitmap/roaring v0.5.5 // indirect
github.com/alldroll/cdb v1.0.2 // indirect
github.com/dsnet/compress v0.0.1 // indirect
github.com/edsrzf/mmap-go v1.0.0 // indirect
github.com/glycerine/go-unsnap-stream v0.0.0-20181221182339-f9677308dec2 // indirect
github.com/golang/snappy v0.0.1 // indirect
github.com/inconshreveable/mousetrap v1.1.0 // indirect
github.com/klauspost/compress v1.16.3 // indirect
github.com/klauspost/pgzip v1.2.5 // indirect
github.com/kr/text v0.2.0 // indirect
github.com/mattn/go-isatty v0.0.12 // indirect
github.com/mschoch/smat v0.0.0-20160514031455-90eadee771ae // indirect
github.com/philhofer/fwd v1.0.0 // indirect
github.com/rogpeppe/go-internal v1.9.0 // indirect
github.com/shenwei356/natsort v0.0.0-20190418160752-600d539c017d // indirect
github.com/snowballstem/snowball v2.0.0+incompatible // indirect
github.com/spf13/pflag v1.0.5 // indirect
github.com/tinylib/msgp v1.1.0 // indirect
github.com/ulikunitz/xz v0.5.11 // indirect
github.com/willf/bitset v1.1.10 // indirect
golang.org/x/sync v0.0.0-20200625203802-6e8e738ad208 // indirect
golang.org/x/sys v0.6.0 // indirect
)
Loading

0 comments on commit 6547781

Please sign in to comment.