]> git.donarmstrong.com Git - biopieces.git/blobdiff - code_ruby/lib/maasha/fasta.rb
got rid of type in filesys.rb
[biopieces.git] / code_ruby / lib / maasha / fasta.rb
index 05655f67c86d609e8e4ab666347df228ad246c50..d4c443b0824301eda7dd8f397413fcba1285d92d 100644 (file)
@@ -42,9 +42,9 @@ class Fasta < Filesys
     raise FastaError, "Bad FASTA format" if seq_name.nil? or seq.nil?
 
     entry          = Seq.new
-    entry.type     = @type.nil? ? nil : @type.downcase
     entry.seq      = seq.gsub(/\s/, '')
     entry.seq_name = seq_name.sub(/^>/, '').rstrip
+    entry.type     = nil
 
     raise FastaError, "Bad FASTA format" if entry.seq_name.empty?
     raise FastaError, "Bad FASTA format" if entry.seq.empty?