summaryrefslogtreecommitdiff
path: root/quikr_train
diff options
context:
space:
mode:
authormutantturkey <mutantturke@gmail.com>2013-03-08 14:28:25 -0500
committermutantturkey <mutantturke@gmail.com>2013-03-08 14:28:25 -0500
commit5908ac75a1f82356a3b91127f84853bf9c336fa8 (patch)
treef254327888eeb91ebc54d9a1678f89bb37126fc3 /quikr_train
parentd86ae7aecd3d4ea677db6133198a3cb2381a873c (diff)
fix quikr_train to work with updated quikr module
Diffstat (limited to 'quikr_train')
-rwxr-xr-xquikr_train3
1 files changed, 2 insertions, 1 deletions
diff --git a/quikr_train b/quikr_train
index 9e9caa7..6e599c9 100755
--- a/quikr_train
+++ b/quikr_train
@@ -12,6 +12,7 @@ def main():
"""
You can call this script independently, and will save the
trained matrix as a numpy file.
+
example: python quikr-train.py -i input.fasta -k 6 -o trained_matrix.npy
"""
@@ -32,7 +33,7 @@ def main():
parser.error( "Input database not found")
# call the quikr train function, save the output with np.save
- matrix = quikr.quikr_train(args.input, args.kmer)
+ matrix = quikr.train_matrix(args.input, args.kmer)
if args.compress:
output_file = gzip.open(args.output, "wb")