Skip to content

Commit 3a12dba

Browse files
Dom LaetschDom Laetsch
Dom Laetsch
authored and
Dom Laetsch
committed
fixed command line options
1 parent bdbc34d commit 3a12dba

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

create.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"""usage: blobtools create -i FASTA [-y FASTATYPE] [-o OUTFILE] [--title TITLE]
55
[-b BAM...] [-s SAM...] [-a CAS...] [-c COV...]
66
[--nodes <NODES>] [--names <NAMES>] [--db <NODESDB>]
7-
[-t TAX...] [-r TAXRULE...]
7+
[-t TAX...] [-x TAXRULE...]
88
[-h|--help]
99
1010
Options:
@@ -15,7 +15,7 @@
1515
(Parsing supported for 'spades', 'soap', 'velvet', 'abyss')
1616
-t, --taxfile TAX... Taxonomy file in format (qseqid\\ttaxid\\tbitscore)
1717
(e.g. BLAST output "--outfmt '6 qseqid staxids bitscore'")
18-
-r, --taxrule <TAXRULE>... Taxrule determines how taxonomy of blobs is computed [default: bestsum]
18+
-x, --taxrule <TAXRULE>... Taxrule determines how taxonomy of blobs is computed [default: bestsum]
1919
"bestsum" : sum bitscore across all hits for each taxonomic rank
2020
"bestsumorder" : sum bitscore across all hits for each taxonomic rank.
2121
- If first <TAX> file supplies hits, bestsum is calculated.

view.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/usr/bin/env python
22
# -*- coding: utf-8 -*-
33

4-
"""usage: blobtools view -i <BLOBDB> [-r <TAXRULE>] [--rank <TAXRANK>...] [--hits]
4+
"""usage: blobtools view -i <BLOBDB> [-x <TAXRULE>] [--rank <TAXRANK>...] [--hits]
55
[--list <LIST>] [--out <OUT>]
66
[--h|--help]
77
@@ -11,9 +11,9 @@
1111
-o, --out <OUT> Output file [default: STDOUT]
1212
-l, --list <LIST> List of sequence names (comma-separated or file).
1313
If comma-separated, no whitespaces allowed.
14-
-r, --taxrule <TAXRULE> Taxrule used for computing taxonomy (supported: "bestsum", "bestsumorder")
14+
-x, --taxrule <TAXRULE> Taxrule used for computing taxonomy (supported: "bestsum", "bestsumorder")
1515
[default: bestsum]
16-
--rank <TAXRANK>... Taxonomic rank(s) at which output will be written.
16+
-r, --rank <TAXRANK>... Taxonomic rank(s) at which output will be written.
1717
(supported: 'species', 'genus', 'family', 'order',
1818
'phylum', 'superkingdom', 'all') [default: phylum]
1919
-b, --hits Displays taxonomic hits from tax files

0 commit comments

Comments
 (0)