Skip to content

Commit 3be2abb

Browse files
Dom LaetschDom Laetsch
authored andcommitted
changed default rank of comparecov.py
1 parent 82e74e4 commit 3be2abb

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

comparecov.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@
2121
2222
-p, --plotgroups INT Number of (taxonomic) groups to plot, remaining
2323
groups are placed in 'other' [default: 7]
24-
-r, --rank RANK Taxonomic rank used for colouring of blobs [default: phylum]
25-
(Supported: species, genus, family, order, phylum, superkingdom)
24+
-r, --rank RANK Taxonomic rank used for colouring of blobs [default: superkingdom]
25+
(Supported: superkingdom)
2626
-x, --taxrule TAXRULE Taxrule which has been used for computing taxonomy
2727
(Supported: bestsum, bestsumorder) [default: bestsum]
2828
--sort <ORDER> Sort order for plotting [default: span]

lib/BtPlot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -400,7 +400,7 @@ def plotScatterCov(self, cov_lib, cov_dict, info_flag, x_label, y_label, scale,
400400
for group in self.plot_order:
401401
i += 1
402402
group_length_array = array(self.stats[group]['length'])
403-
group_cov_y_array = array([cov_dict[name] for name in self.stats[group]['name']])
403+
group_cov_y_array = array([cov_dict[name] for name in self.stats[group]['name']]) # fix it!
404404
group_cov_x_array = array(self.stats[group]['covs'][cov_lib])
405405
# calculate values for legend
406406
if len(group_length_array) > 0:

0 commit comments

Comments
 (0)