File tree 3 files changed +4
-6
lines changed
3 files changed +4
-6
lines changed Original file line number Diff line number Diff line change 49
49
50
50
--label GROUPS... Relabel (taxonomic) groups, can be used several times.
51
51
e.g. "A=Actinobacteria,Proteobacteria"
52
- --colours COLOURFILE File containing colours for (taxonomic) groups
52
+ --colours COLOURFILE File containing colours for (taxonomic) groups. This allows having more than 9 colours.
53
53
--exclude GROUPS Exclude these (taxonomic) groups (also works for 'other')
54
54
e.g. "Actinobacteria,Proteobacteria,other"
55
55
--refcov <FILE> File containing number of "total" and "mapped" reads
@@ -77,8 +77,9 @@ def main():
77
77
rank = args ['--rank' ]
78
78
min_length = int (args ['--length' ])
79
79
max_group_plot = int (args ['--plotgroups' ])
80
- if max_group_plot > 8 :
81
- sys .exit ("[X] '--plotgroups' must be less than 9." )
80
+ colour_f = args ['--colours' ]
81
+ if max_group_plot > 8 and not colour_f :
82
+ sys .exit ("[X] '--plotgroups' must be less than 9 for using automatic colour assignation." )
82
83
hide_nohits = args ['--nohit' ]
83
84
taxrule = args ['--taxrule' ]
84
85
c_index = args ['--cindex' ]
Original file line number Diff line number Diff line change 48
48
49
49
def main ():
50
50
try :
51
-
52
51
start_time = timer ()
53
52
try :
54
53
args = docopt (__doc__ , version = __version__ , options_first = True )
55
54
except DocoptExit :
56
55
print (__doc__ )
57
56
else :
58
57
if args ['<module>' ]:
59
-
60
58
if args ['<module>' ] == 'create' :
61
59
import lib .create as create
62
60
create .main ()
Original file line number Diff line number Diff line change 25
25
-n, --notable Do not generate table view [default: False]
26
26
"""
27
27
28
- from __future__ import division
29
28
from docopt import docopt
30
29
from os .path import isfile
31
30
You can’t perform that action at this time.
0 commit comments