We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents e5623d2 + 7a63a1f commit 9f57289Copy full SHA for 9f57289
1 file changed
src/samplot.py
@@ -17,6 +17,8 @@
17
from matplotlib.offsetbox import AnchoredText
18
import matplotlib.ticker as ticker
19
20
+VERSION="1.0.1"
21
+
22
INTERCHROM_YAXIS=5000
23
24
COLORS = {
@@ -1966,11 +1968,17 @@ def print_arguments(options):
1966
1968
def setup_arguments():
1967
1969
"""Defines the allowed arguments for samplot
1970
"""
- parser = argparse.ArgumentParser(
1971
+ parser = argparse.ArgumentParser( \
1972
+ prog="samplot",
1973
description="SAMPLOT creates images of genome regions from " + \
1974
"CRAM/SAM alignments, "+\
1975
"optimized for structural variant call review")
1976
1977
+ parser.add_argument('--version',
1978
+ action='version',
1979
+ version='%(prog)s ' + VERSION)
1980
1981
1982
parser.add_argument("--marker_size",
1983
type=int,
1984
default=3,
0 commit comments