summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCalvin <calvin@EESI>2013-02-22 15:53:57 -0500
committerCalvin <calvin@EESI>2013-02-22 15:53:57 -0500
commite7c65094a01a8ec2a12fea89dedd30147d60bc75 (patch)
tree58c0ec731793cf89cd8a5a5815180655e16ad902
parente00a6d4da81596d4ba79439aca24be2e180ffc59 (diff)
fix example in header, fix weird character in args, remove incorrect dtype from previous commit
-rwxr-xr-xquikr_train.py7
1 files changed, 4 insertions, 3 deletions
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()