]> git.donarmstrong.com Git - bamtools.git/commitdiff
ConvertTool fix: removed extra space in (BAM->FASTA) header lines
authorderek <derekwbarnett@gmail.com>
Sat, 11 Jun 2011 21:07:43 +0000 (17:07 -0400)
committerderek <derekwbarnett@gmail.com>
Sat, 11 Jun 2011 21:07:43 +0000 (17:07 -0400)
src/toolkit/bamtools_convert.cpp

index 802580201c958b3ebf77a602a4003a2eb0fd7fcf..f3bc486d85df74f7abb956e7d65ce8b03c801a85 100644 (file)
@@ -3,7 +3,7 @@
 // Marth Lab, Department of Biology, Boston College
 // All rights reserved.
 // ---------------------------------------------------------------------------
-// Last modified: 7 April 2011
+// Last modified: 11 June 2011
 // ---------------------------------------------------------------------------
 // Converts between BAM and a number of other formats
 // ***************************************************************************
@@ -295,7 +295,7 @@ void ConvertTool::ConvertToolPrivate::PrintFasta(const BamAlignment& a) {
     // N.B. - QueryBases are reverse-complemented if aligned to reverse strand
   
     // print header
-    m_out << "> " << a.Name << endl;
+    m_out << ">" << a.Name << endl;
     
     // handle reverse strand alignment - bases 
     string sequence = a.QueryBases;