summaryrefslogtreecommitdiff
path: root/multifasta_to_otu.py
diff options
context:
space:
mode:
Diffstat (limited to 'multifasta_to_otu.py')
-rwxr-xr-xmultifasta_to_otu.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/multifasta_to_otu.py b/multifasta_to_otu.py
index 4a46be6..3e14fcf 100755
--- a/multifasta_to_otu.py
+++ b/multifasta_to_otu.py
@@ -12,7 +12,6 @@ import platform
# our defaults
kmer = 6
lamb = 10000
-trained_matrix = ""
output_directory = ""
input_directory = ""
@@ -65,6 +64,9 @@ def main():
if args.kmer is not None:
kmer = args.kmer
+ # Load trained matrix
+ trained_matrix = np.load(args.trained_matrix);
+
fasta_list = os.listdir(args.input_directory)
pool = Pool(processes=jobs)