Skip to content

Commit

Permalink
Added -u/--update to usage
Browse files Browse the repository at this point in the history
  • Loading branch information
niemasd committed Jun 12, 2020
1 parent 37fc0c9 commit c7d9db9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ViralMSA.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
import argparse

# useful constants
VERSION = '1.0.3'
VERSION = '1.0.4'
RELEASES_URL = 'https://api.github.com/repos/niemasd/ViralMSA/tags'
CIGAR_LETTERS = {'M','D','I','S','H','=','X'}

Expand Down Expand Up @@ -339,6 +339,7 @@ def align_star(seqs_path, out_sam_path, ref_genome_path, threads, verbose=True):
parser.add_argument('-l', '--list_references', action="store_true", help="List all reference sequences")
parser.add_argument('--omit_ref', action="store_true", help="Omit reference sequence from output alignment")
parser.add_argument('--viralmsa_dir', required=False, type=str, default=abspath(expanduser("~/.viralmsa")), help="ViralMSA Cache Directory")
parser.add_argument('-u', '--update', action="store_true", help="Update ViralMSA")
args = parser.parse_args()
if args.threads < 1:
print("ERROR: Number of threads must be positive", file=stderr); exit(1)
Expand Down

0 comments on commit c7d9db9

Please sign in to comment.