Skip to content

Commit

Permalink
fix log info
Browse files Browse the repository at this point in the history
  • Loading branch information
shenwei356 committed May 3, 2017
1 parent 678ec47 commit 27a453d
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion doc/docs/download.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Download

`TaxonKit` is implemented in [Go](https://golang.org/) programming language,
executable binary files **for most popular operating system** are freely available
executable binary files **for most popular operating systems** are freely available
in [release](https://github.com/shenwei356/taxonkit/releases) page.

## Current Version
Expand Down
4 changes: 2 additions & 2 deletions doc/docs/tutorial.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ Taking virus for example.
</s>
It costs ~ 8 minutes.

3. Retrieving nr sequences:
3. Retrieving nr sequences from BLAST database:

- accesion

Expand All @@ -52,7 +52,7 @@ Taking virus for example.
blastdbcmd -db nr -entry_batch - -out nr.virus.fa
</s>

Another way is retrieving from [nr FASTA sequences](ftp://ftp.ncbi.nih.gov/blast/db/FASTA/nr.gz) using [SeqKit](http://bioinf.shenwei.me/seqkit/download):
Another way is directly retrieving from [nr FASTA sequences](ftp://ftp.ncbi.nih.gov/blast/db/FASTA/nr.gz) using [SeqKit](http://bioinf.shenwei.me/seqkit/download):

gzip -c -d nr.gz | seqkit grep -f virus.taxid.acc.txt > nr.virus.fa

Expand Down
12 changes: 6 additions & 6 deletions doc/docs/usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -384,13 +384,13 @@ Example data
1. show rank

$ cat names.txt | taxonkit name2taxid --show-rank
Homo sapiens 9606
Akkermansia muciniphila ATCC BAA-835 349741
Akkermansia muciniphila 239935
Mouse Intracisternal A-particle 11932
Homo sapiens 9606 species
Akkermansia muciniphila ATCC BAA-835 349741 no rank
Akkermansia muciniphila 239935 species
Mouse Intracisternal A-particle 11932 species
Wei Shen
uncultured murine large bowel bacterium BAC 54B 314101
Croceibacter phage P2559Y 1327037
uncultured murine large bowel bacterium BAC 54B 314101 species
Croceibacter phage P2559Y 1327037 species

1. from name to lineage

Expand Down
4 changes: 2 additions & 2 deletions taxonkit/cmd/name2taxid.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ var name2taxidCmd = &cobra.Command{
files := getFileList(args)

if len(files) == 1 && isStdin(files[0]) && !xopen.IsStdin() {
checkError(fmt.Errorf("tdin not detected"))
checkError(fmt.Errorf("stdin not detected"))
}

outfh, err := xopen.Wopen(config.OutFile)
Expand All @@ -66,7 +66,7 @@ var name2taxidCmd = &cobra.Command{
reader, err := breader.NewBufferedReader(config.NodesFile, config.Threads, 10, taxonParseFunc)
checkError(err)

ranks := make(map[int32]string)
ranks = make(map[int32]string)
var info taxonInfo
var n int64
for chunk := range reader.Ch {
Expand Down

0 comments on commit 27a453d

Please sign in to comment.