-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathgenomon_virus_checker
29 lines (17 loc) · 1.06 KB
/
genomon_virus_checker
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#! /usr/bin/env python
from genomon_virus_checker.run import *
import argparse
parser = argparse.ArgumentParser(prog = "genomon_virus_checker")
parser.add_argument("--version", action = "version", version = "genomon_virus_checker-0.1.0")
parser.add_argument("fastq_file_1", metavar = "sequence1.fastq", default = None, type = str,
help = "the path to the read 1 fastq file")
parser.add_argument("fastq_file_2", metavar = "sequence2.fastq", default = None, type = str,
help = "the path to the read 2 fastq file")
parser.add_argument("output_prefix", metavar = "output_prefix", default = None, type = str,
help = "the prefix of the output")
parser.add_argument("virus_reference_file", metavar = "virus_reference.fa", default = None, type = str,
help = "the path to virus reference file")
parser.add_argument('-q', metavar = "minimum_match_thres", default='30', type=int,
help = "threshold for match score for calculating base counts")
args = parser.parse_args()
main(args)