From: martinahansen <martinahansen@74ccb610-7750-0410-82ae-013aeee3265d> Date: Thu, 26 May 2011 12:55:58 +0000 (+0000) Subject: fixed type in assemble_seq_idba X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=c2881d9159862295233b4895deb8bbebba0fbe99;p=biopieces.git fixed type in assemble_seq_idba git-svn-id: http://biopieces.googlecode.com/svn/trunk@1434 74ccb610-7750-0410-82ae-013aeee3265d --- diff --git a/bp_bin/assemble_seq_idba b/bp_bin/assemble_seq_idba index cdb6d99..e6a1290 100755 --- a/bp_bin/assemble_seq_idba +++ b/bp_bin/assemble_seq_idba @@ -54,7 +54,7 @@ Biopieces.open(options[:stream_in], options[:stream_out]) do |input, output| Fasta.open(file_fasta, mode="w") do |fasta_io| input.each_record do |record| if options[:scaffold] # we need to fix the sequence name for mate-pair IDBA - if records[:SEQ_NAME] =~ /1$/ + if record[:SEQ_NAME] =~ /1$/ record[:SEQ_NAME] = "read#{count}/1" else record[:SEQ_NAME] = "read#{count}/2"