Skip to content
Snippets Groups Projects
Commit 354ce95c authored by aneves's avatar aneves
Browse files

Merge branch 'dev' into 'main'

add --version

See merge request !3
parents 62532393 199d9582
Branches
Tags v1.0.2
1 merge request!3add --version
#!/usr/bin/env python
# coding: utf-8
tool_version = '1.0.2'
import platform
import argparse
import pandas as pd
......@@ -259,6 +261,7 @@ def main():
parser.add_argument('--type', type=str, required=True, choices=["A","B","C","D"], help='REQUIRED. Influenza type.')
parser.add_argument('--subtype', type=str, default="", help='Optional. Influenza A subtype: HxNy, where x,y are numbers, e.g. H3N2. Default is empty string.')
parser.add_argument('--lineage', type=str, default="", help='Optional. Influenza lineage: pdm09, seasonal, variant (for H3N2 of swine origin). Default is empty string.')
parser.add_argument('--version', action='version', version=f'%(prog)s {tool_version}')
args = parser.parse_args()
# Binary path to alignment tool
......
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment