]> git.donarmstrong.com Git - biopieces.git/blobdiff - code_ruby/lib/maasha/usearch.rb
added uchime to usearch
[biopieces.git] / code_ruby / lib / maasha / usearch.rb
index c821cac5c0036aea8df7511fada127d82c7b8dcb..2a3365b73cec139ace7e204cd1779867a6befae1 100644 (file)
@@ -85,6 +85,13 @@ class Usearch
                execute
   end
 
+  # Method to execute uchime chimera detection.
+  def uchime
+    @command << "usearch --uchime #{@infile} --db #{@options[:database]} --uchimeout #{@outfile}"
+
+    execute
+  end
+
   # Method to execute ustar alignment.
   def ustar
     command = %Q{grep "^[SH]" #{@outfile} > #{@outfile}.sub}