Skip to content

Commit

Permalink
Merge branch 'fstrozzi-master'
Browse files Browse the repository at this point in the history
  • Loading branch information
chmille4 committed Jan 12, 2011
2 parents 0ec7eb3 + f73a67a commit d56ad57
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/bio-assembly/caf.rb
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,8 @@ def parse_blocks(line,feat)
def parse_dna(feat)
feat[:seq] = @file.gets("\n\n").tr("\n","")
newline = @file.gets
feat[:qual] = @file.gets("\n\n").tr("\n"," ").rstrip if newline.start_with?("BaseQuality")
keywords = newline.split("\s")
feat[:qual] = @file.gets("\n\n").tr("\n"," ").rstrip if keywords[0] == "BaseQuality"
feat[:parsed] = true if feat[:type] == :contig
end

Expand Down

0 comments on commit d56ad57

Please sign in to comment.