From 0732d29b06f67ec8fb54958ff453699b4f0bdb4d Mon Sep 17 00:00:00 2001 From: Calvin Date: Wed, 27 Feb 2013 13:23:41 -0500 Subject: Update multifasta_to_otu.py for new quikr function * Removed an old comment from the quikr function * Load the trained matrix from multifasta main. * This will reduce load times as we only need to call it once --- quikr.py | 3 --- 1 file changed, 3 deletions(-) (limited to 'quikr.py') diff --git a/quikr.py b/quikr.py index 065590d..a6b8bd0 100755 --- a/quikr.py +++ b/quikr.py @@ -85,9 +85,6 @@ def quikr(input_fasta_location, trained_matrix, kmer, default_lambda): counts = default_lambda * counts counts = np.concatenate([np.zeros(1), counts]) - # load our trained matrix - - #form the k-mer sensing matrix trained_matrix = trained_matrix * default_lambda; trained_matrix = np.flipud(trained_matrix); -- cgit v1.2.3