]> git.donarmstrong.com Git - biopieces.git/commitdiff
added uchime to usearch
authormartinahansen <martinahansen@74ccb610-7750-0410-82ae-013aeee3265d>
Tue, 20 Nov 2012 09:00:05 +0000 (09:00 +0000)
committermartinahansen <martinahansen@74ccb610-7750-0410-82ae-013aeee3265d>
Tue, 20 Nov 2012 09:00:05 +0000 (09:00 +0000)
git-svn-id: http://biopieces.googlecode.com/svn/trunk@1991 74ccb610-7750-0410-82ae-013aeee3265d

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}