From c2881d9159862295233b4895deb8bbebba0fbe99 Mon Sep 17 00:00:00 2001 From: martinahansen Date: Thu, 26 May 2011 12:55:58 +0000 Subject: [PATCH] fixed type in assemble_seq_idba git-svn-id: http://biopieces.googlecode.com/svn/trunk@1434 74ccb610-7750-0410-82ae-013aeee3265d --- bp_bin/assemble_seq_idba | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" -- 2.39.2