]> git.donarmstrong.com Git - bamtools.git/blobdiff - src/toolkit/bamtools_convert.cpp
Minor cleanup
[bamtools.git] / src / toolkit / bamtools_convert.cpp
index 802580201c958b3ebf77a602a4003a2eb0fd7fcf..991cebce7512c625896cfc0f7ee62a44ce36222b 100644 (file)
@@ -1,9 +1,8 @@
 // ***************************************************************************
 // bamtools_convert.cpp (c) 2010 Derek Barnett, Erik Garrison
 // 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 +294,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;