Skip to content

Commit

Permalink
v0.12.0
Browse files Browse the repository at this point in the history
  • Loading branch information
shenwei356 committed Jun 8, 2022
1 parent 9680749 commit 211a869
Show file tree
Hide file tree
Showing 26 changed files with 53 additions and 33 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
- `taxonkit create-taxdump`:
- accepts arbitrary ranks [#60](https://github.com/shenwei356/taxonkit/issues/60)
- better handle of taxa with same names.
- many flags changed.
- [TaxonKit v0.11.1](https://github.com/shenwei356/taxonkit/releases/tag/v0.11.1)
[![Github Releases (by Release)](https://img.shields.io/github/downloads/shenwei356/taxonkit/v0.11.1/total.svg)](https://github.com/shenwei356/taxonkit/releases/tag/v0.11.1)
- `taxonkit create-taxdump`: fix bug of missing Class rank, contributed by @apcamargo. The flag `--gtdb` was not effected. [#57](https://github.com/shenwei356/taxonkit/issues/57)
Expand Down
25 changes: 17 additions & 8 deletions doc/docs/download.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,12 @@

## Current Version

- [TaxonKit v0.11.1](https://github.com/shenwei356/taxonkit/releases/tag/v0.11.1)
[![Github Releases (by Release)](https://img.shields.io/github/downloads/shenwei356/taxonkit/v0.11.1/total.svg)](https://github.com/shenwei356/taxonkit/releases/tag/v0.11.1)
- `taxonkit create-taxdump`: fix bug of missing Class rank, contributed by @apcamargo. The flag `--gtdb` was not effected. [#57](https://github.com/shenwei356/taxonkit/issues/57)
- [TaxonKit v0.12.0](https://github.com/shenwei356/taxonkit/releases/tag/v0.12.0)
[![Github Releases (by Release)](https://img.shields.io/github/downloads/shenwei356/taxonkit/v0.12.0/total.svg)](https://github.com/shenwei356/taxonkit/releases/tag/v0.12.0)
- `taxonkit create-taxdump`:
- accepts arbitrary ranks [#60](https://github.com/shenwei356/taxonkit/issues/60)
- better handle of taxa with same names.
- many flags changed.

### Please cite

Expand All @@ -25,11 +28,11 @@

OS |Arch |File, 中国镜像 |Download Count
:------|:---------|:-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|:-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Linux |**64-bit**|[**taxonkit_linux_amd64.tar.gz**](https://github.com/shenwei356/taxonkit/releases/download/v0.11.1/taxonkit_linux_amd64.tar.gz),<br/> [中国镜像](http://app.shenwei.me/data/taxonkit/taxonkit_linux_amd64.tar.gz) |[![Github Releases (by Asset)](https://img.shields.io/github/downloads/shenwei356/taxonkit/latest/taxonkit_linux_amd64.tar.gz.svg?maxAge=3600)](https://github.com/shenwei356/taxonkit/releases/download/v0.11.1/taxonkit_linux_amd64.tar.gz)
Linux |**arm64**|[**taxonkit_linux_arm64.tar.gz**](https://github.com/shenwei356/taxonkit/releases/download/v0.11.1/taxonkit_linux_arm64.tar.gz),<br/> [中国镜像](http://app.shenwei.me/data/taxonkit/taxonkit_linux_arm64.tar.gz) |[![Github Releases (by Asset)](https://img.shields.io/github/downloads/shenwei356/taxonkit/latest/taxonkit_linux_arm64.tar.gz.svg?maxAge=3600)](https://github.com/shenwei356/taxonkit/releases/download/v0.11.1/taxonkit_linux_arm64.tar.gz)
macOS |**64-bit**|[**taxonkit_darwin_amd64.tar.gz**](https://github.com/shenwei356/taxonkit/releases/download/v0.11.1/taxonkit_darwin_amd64.tar.gz),<br/> [中国镜像](http://app.shenwei.me/data/taxonkit/taxonkit_darwin_amd64.tar.gz) |[![Github Releases (by Asset)](https://img.shields.io/github/downloads/shenwei356/taxonkit/latest/taxonkit_darwin_amd64.tar.gz.svg?maxAge=3600)](https://github.com/shenwei356/taxonkit/releases/download/v0.11.1/taxonkit_darwin_amd64.tar.gz)
macOS |**arm64** |[**taxonkit_darwin_arm64.tar.gz**](https://github.com/shenwei356/taxonkit/releases/download/v0.11.1/taxonkit_darwin_arm64.tar.gz),<br/> [中国镜像](http://app.shenwei.me/data/taxonkit/taxonkit_darwin_arm64.tar.gz) |[![Github Releases (by Asset)](https://img.shields.io/github/downloads/shenwei356/taxonkit/latest/taxonkit_darwin_arm64.tar.gz.svg?maxAge=3600)](https://github.com/shenwei356/taxonkit/releases/download/v0.11.1/taxonkit_darwin_arm64.tar.gz)
Windows|**64-bit**|[**taxonkit_windows_amd64.exe.tar.gz**](https://github.com/shenwei356/taxonkit/releases/download/v0.11.1/taxonkit_windows_amd64.exe.tar.gz),<br/> [中国镜像](http://app.shenwei.me/data/taxonkit/taxonkit_windows_amd64.exe.tar.gz)|[![Github Releases (by Asset)](https://img.shields.io/github/downloads/shenwei356/taxonkit/latest/taxonkit_windows_amd64.exe.tar.gz.svg?maxAge=3600)](https://github.com/shenwei356/taxonkit/releases/download/v0.11.1/taxonkit_windows_amd64.exe.tar.gz)
Linux |**64-bit**|[**taxonkit_linux_amd64.tar.gz**](https://github.com/shenwei356/taxonkit/releases/download/v0.12.0/taxonkit_linux_amd64.tar.gz),<br/> [中国镜像](http://app.shenwei.me/data/taxonkit/taxonkit_linux_amd64.tar.gz) |[![Github Releases (by Asset)](https://img.shields.io/github/downloads/shenwei356/taxonkit/latest/taxonkit_linux_amd64.tar.gz.svg?maxAge=3600)](https://github.com/shenwei356/taxonkit/releases/download/v0.12.0/taxonkit_linux_amd64.tar.gz)
Linux |**arm64**|[**taxonkit_linux_arm64.tar.gz**](https://github.com/shenwei356/taxonkit/releases/download/v0.12.0/taxonkit_linux_arm64.tar.gz),<br/> [中国镜像](http://app.shenwei.me/data/taxonkit/taxonkit_linux_arm64.tar.gz) |[![Github Releases (by Asset)](https://img.shields.io/github/downloads/shenwei356/taxonkit/latest/taxonkit_linux_arm64.tar.gz.svg?maxAge=3600)](https://github.com/shenwei356/taxonkit/releases/download/v0.12.0/taxonkit_linux_arm64.tar.gz)
macOS |**64-bit**|[**taxonkit_darwin_amd64.tar.gz**](https://github.com/shenwei356/taxonkit/releases/download/v0.12.0/taxonkit_darwin_amd64.tar.gz),<br/> [中国镜像](http://app.shenwei.me/data/taxonkit/taxonkit_darwin_amd64.tar.gz) |[![Github Releases (by Asset)](https://img.shields.io/github/downloads/shenwei356/taxonkit/latest/taxonkit_darwin_amd64.tar.gz.svg?maxAge=3600)](https://github.com/shenwei356/taxonkit/releases/download/v0.12.0/taxonkit_darwin_amd64.tar.gz)
macOS |**arm64** |[**taxonkit_darwin_arm64.tar.gz**](https://github.com/shenwei356/taxonkit/releases/download/v0.12.0/taxonkit_darwin_arm64.tar.gz),<br/> [中国镜像](http://app.shenwei.me/data/taxonkit/taxonkit_darwin_arm64.tar.gz) |[![Github Releases (by Asset)](https://img.shields.io/github/downloads/shenwei356/taxonkit/latest/taxonkit_darwin_arm64.tar.gz.svg?maxAge=3600)](https://github.com/shenwei356/taxonkit/releases/download/v0.12.0/taxonkit_darwin_arm64.tar.gz)
Windows|**64-bit**|[**taxonkit_windows_amd64.exe.tar.gz**](https://github.com/shenwei356/taxonkit/releases/download/v0.12.0/taxonkit_windows_amd64.exe.tar.gz),<br/> [中国镜像](http://app.shenwei.me/data/taxonkit/taxonkit_windows_amd64.exe.tar.gz)|[![Github Releases (by Asset)](https://img.shields.io/github/downloads/shenwei356/taxonkit/latest/taxonkit_windows_amd64.exe.tar.gz.svg?maxAge=3600)](https://github.com/shenwei356/taxonkit/releases/download/v0.12.0/taxonkit_windows_amd64.exe.tar.gz)

## Installation

Expand Down Expand Up @@ -116,6 +119,12 @@ All-in-one command:

## Release history

- [TaxonKit v0.12.0](https://github.com/shenwei356/taxonkit/releases/tag/v0.12.0)
[![Github Releases (by Release)](https://img.shields.io/github/downloads/shenwei356/taxonkit/v0.12.0/total.svg)](https://github.com/shenwei356/taxonkit/releases/tag/v0.12.0)
- `taxonkit create-taxdump`:
- accepts arbitrary ranks [#60](https://github.com/shenwei356/taxonkit/issues/60)
- better handle of taxa with same names.
- many flags changed.
- [TaxonKit v0.11.1](https://github.com/shenwei356/taxonkit/releases/tag/v0.11.1)
[![Github Releases (by Release)](https://img.shields.io/github/downloads/shenwei356/taxonkit/v0.11.1/total.svg)](https://github.com/shenwei356/taxonkit/releases/tag/v0.11.1)
- `taxonkit create-taxdump`: fix bug of missing Class rank, contributed by @apcamargo. The flag `--gtdb` was not effected. [#57](https://github.com/shenwei356/taxonkit/issues/57)
Expand Down
9 changes: 7 additions & 2 deletions doc/docs/usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ All-in-one command:
```text
TaxonKit - A Practical and Efficient NCBI Taxonomy Toolkit
Version: 0.11.1
Version: 0.12.0
Author: Wei Shen <[email protected]>
Expand All @@ -65,7 +65,7 @@ Usage:
Available Commands:
cami-filter Remove taxa of given TaxIds and their descendants in CAMI metagenomic profile
create-taxdump Create NCBI-style taxdump files for custom taxonomy, e.g., GTDB
create-taxdump Create NCBI-style taxdump files for custom taxonomy, e.g., GTDB and ICTV
filter Filter TaxIds by taxonomic rank range
genautocomplete generate shell autocompletion script (bash|zsh|fish|powershell)
lca Compute lowest common ancestor (LCA) for TaxIds
Expand Down Expand Up @@ -1483,6 +1483,11 @@ Attentions:
Jerseyvirus SETP3 Salmonella phage SETP7
Jerseyvirus SETP7 Salmonella phage SETP7
3. The generated TaxIds are not consecutive numbers, however some tools like MMSeqs2
required this, you can use the script below for convertion:
https://github.com/apcamargo/ictv-mmseqs2-protein-database/blob/master/fix_taxdump.py
Usage:
taxonkit create-taxdump [flags]
Expand Down
2 changes: 1 addition & 1 deletion taxonkit/cmd/cami-filter.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright © 2016-2021 Wei Shen <[email protected]>
// Copyright © 2016-2022 Wei Shen <[email protected]>
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion taxonkit/cmd/cobra_helper.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright © 2016-2021 Wei Shen <[email protected]>
// Copyright © 2016-2022 Wei Shen <[email protected]>
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
Expand Down
7 changes: 6 additions & 1 deletion taxonkit/cmd/create-taxdump.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright © 2016-2021 Wei Shen <[email protected]>
// Copyright © 2016-2022 Wei Shen <[email protected]>
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
Expand Down Expand Up @@ -81,6 +81,11 @@ Attentions:
Jerseyvirus SETP3 Salmonella phage SETP7
Jerseyvirus SETP7 Salmonella phage SETP7
3. The generated TaxIds are not consecutive numbers, however some tools like MMSeqs2
required this, you can use the script below for convertion:
https://github.com/apcamargo/ictv-mmseqs2-protein-database/blob/master/fix_taxdump.py
`,
Run: func(cmd *cobra.Command, args []string) {
config := getConfigs(cmd)
Expand Down
2 changes: 1 addition & 1 deletion taxonkit/cmd/filter.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright © 2016-2021 Wei Shen <[email protected]>
// Copyright © 2016-2022 Wei Shen <[email protected]>
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion taxonkit/cmd/genautocomplete.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright © 2016-2021 Wei Shen <[email protected]>
// Copyright © 2016-2022 Wei Shen <[email protected]>
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion taxonkit/cmd/lca.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright © 2016-2021 Wei Shen <[email protected]>
// Copyright © 2016-2022 Wei Shen <[email protected]>
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion taxonkit/cmd/lineage.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright © 2016-2021 Wei Shen <[email protected]>
// Copyright © 2016-2022 Wei Shen <[email protected]>
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion taxonkit/cmd/list.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright © 2016-2021 Wei Shen <[email protected]>
// Copyright © 2016-2022 Wei Shen <[email protected]>
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion taxonkit/cmd/logging.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright © 2016-2021 Wei Shen <[email protected]>
// Copyright © 2016-2022 Wei Shen <[email protected]>
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion taxonkit/cmd/name2taxid.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright © 2016-2021 Wei Shen <[email protected]>
// Copyright © 2016-2022 Wei Shen <[email protected]>
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion taxonkit/cmd/profile2cami.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright © 2016-2021 Wei Shen <[email protected]>
// Copyright © 2016-2022 Wei Shen <[email protected]>
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion taxonkit/cmd/reformat.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright © 2016-2021 Wei Shen <[email protected]>
// Copyright © 2016-2022 Wei Shen <[email protected]>
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion taxonkit/cmd/root.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright © 2016-2021 Wei Shen <[email protected]>
// Copyright © 2016-2022 Wei Shen <[email protected]>
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion taxonkit/cmd/taxid-changelog.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright © 2016-2021 Wei Shen <[email protected]>
// Copyright © 2016-2022 Wei Shen <[email protected]>
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion taxonkit/cmd/util-basic-data.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright © 2016-2021 Wei Shen <[email protected]>
// Copyright © 2016-2022 Wei Shen <[email protected]>
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion taxonkit/cmd/util-cli.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright © 2016-2021 Wei Shen <[email protected]>
// Copyright © 2016-2022 Wei Shen <[email protected]>
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion taxonkit/cmd/util-complex-data.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright © 2016-2021 Wei Shen <[email protected]>
// Copyright © 2016-2022 Wei Shen <[email protected]>
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion taxonkit/cmd/util-filter.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright © 2016-2021 Wei Shen <[email protected]>
// Copyright © 2016-2022 Wei Shen <[email protected]>
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion taxonkit/cmd/util-profile.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright © 2016-2021 Wei Shen <[email protected]>
// Copyright © 2016-2022 Wei Shen <[email protected]>
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion taxonkit/cmd/util-rank.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright © 2016-2021 Wei Shen <[email protected]>
// Copyright © 2016-2022 Wei Shen <[email protected]>
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion taxonkit/cmd/util.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright © 2016-2021 Wei Shen <[email protected]>
// Copyright © 2016-2022 Wei Shen <[email protected]>
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion taxonkit/cmd/version.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright © 2016-2021 Wei Shen <[email protected]>
// Copyright © 2016-2022 Wei Shen <[email protected]>
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion taxonkit/main.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright © 2016-2021 Wei Shen <[email protected]>
// Copyright © 2016-2022 Wei Shen <[email protected]>
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
Expand Down

0 comments on commit 211a869

Please sign in to comment.