Skip to content

Commit

Permalink
Merge pull request #9 from GertjanBisschop/modify_interface
Browse files Browse the repository at this point in the history
modify interface.py
  • Loading branch information
GertjanBisschop committed Sep 4, 2023
2 parents 055bbbe + 606ac7f commit 92e1652
Showing 1 changed file with 17 additions and 6 deletions.
23 changes: 17 additions & 6 deletions cli/interface.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,18 @@
"""usage: gimbleprep [<args>...] [-V -h]
"""
usage: gimbleprep -f <f> -v <v> -b <b> [-g <g> -m <m> -M <M> -q <q> -t <t> -o <o> -k] [-h|--help]
[Options]
-h, --help Show this screen
-V, --version Show version
-f, --fasta_file=<f> FASTA file
-v, --vcf_file=<v> VCF file (raw)
-b, --bam_dir=<b> Directory containing all BAM files
-g, --snpgap=<g> SnpGap [default: 2]
-q, --min_qual=<q> Minimum PHRED quality [default: 1]
-m, --min_depth=<m> Min read depth [default: 8]
-M, --max_depth=<M> Max read depth (as multiple of mean coverage of each BAM) [default: 2]
-t, --threads=<t> Threads [default: 1]
-o, --outprefix=<o> Outprefix [default: gimble]
-k, --keep_tmp Do not delete temporary files [default: False]
-h, --help Show this
"""

import sys
Expand All @@ -22,10 +32,11 @@ def main(gimble_dir=None):
gimble_dir = os.path.dirname(os.path.join(os.path.realpath(__file__), '..'))
try:
start_time = timer()
__version__ = '0.0.1'
__version__ = '0.0.2d'
version = "gimble v%s" % __version__
args = docopt(__doc__, version=version, options_first=True)
if '--version' in args['<args>'] or '-V' in args['<args>']:
# print(args)
if '--version' in args.keys() or '-V' in args.keys():
sys.exit("gimble v%s" % __version__)
params = {
'module': 'preprocess',
Expand Down

0 comments on commit 92e1652

Please sign in to comment.