From e7c65094a01a8ec2a12fea89dedd30147d60bc75 Mon Sep 17 00:00:00 2001 From: Calvin Date: Fri, 22 Feb 2013 15:53:57 -0500 Subject: fix example in header, fix weird character in args, remove incorrect dtype from previous commit --- quikr_train.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'quikr_train.py') diff --git a/quikr_train.py b/quikr_train.py index 6534b6f..ba139eb 100755 --- a/quikr_train.py +++ b/quikr_train.py @@ -10,15 +10,16 @@ def main(): """ You can call this script independently, and will save the trained matrix as a numpy file. - example: python quikr-train.py input.fasta 6 trained_matrix.npy + example: python quikr-train.py -i input.fasta -k 6 -o trained_matrix.npy + """ parser = argparse.ArgumentParser(description= " quikr_train returns a custom trained matrix that can be used with \ the quikr function. \n You must supply a kmer. \n ") - parser.add_argument("-i", "--input", help="training database of sequences (fasta format)", required=True) + parser.add_argument("-i", "--input", help="training database of sequences (fasta format)", required=True) parser.add_argument("-o", "--output", help="sensing matrix (text file)", required=True) - parser.add_argument("-k", "--kmer", type=int, help="kmer size (integer)", required=False, dtype=int) + parser.add_argument("-k", "--kmer", type=int, help="kmer size (integer)", required=False ) args = parser.parse_args() -- cgit v1.2.3