File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed
Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change 1717from matplotlib .offsetbox import AnchoredText
1818import matplotlib .ticker as ticker
1919
20+ VERSION = "1.0.1"
21+
2022INTERCHROM_YAXIS = 5000
2123
2224COLORS = {
@@ -1966,11 +1968,17 @@ def print_arguments(options):
19661968def setup_arguments ():
19671969 """Defines the allowed arguments for samplot
19681970 """
1969- parser = argparse .ArgumentParser (
1971+ parser = argparse .ArgumentParser ( \
1972+ prog = "samplot" ,
19701973 description = "SAMPLOT creates images of genome regions from " + \
19711974 "CRAM/SAM alignments, " + \
19721975 "optimized for structural variant call review" )
19731976
1977+ parser .add_argument ('--version' ,
1978+ action = 'version' ,
1979+ version = '%(prog)s ' + VERSION )
1980+
1981+
19741982 parser .add_argument ("--marker_size" ,
19751983 type = int ,
19761984 default = 3 ,
You can’t perform that action at this time.
0 commit comments