Extra space in bamtools convert to fasta ?

20 views
Skip to first unread message

Assaf Gordon

unread,
Jun 10, 2011, 5:16:08 PM6/10/11
to bamtoo...@googlegroups.com
Hello,

When running "bamtools convert -format fasta", there's a space character between the ">" and the read identifier.

This happens in ./src/toolkit/bamtools_convert.cpp line 889 in ConvertTool::ConvertToolPrivate::PrintBed():
===
// print header
m_out << "> " << a.Name << endl;
===

Is that intentional or a bug ?

-gordon

Assaf Gordon

unread,
Jun 10, 2011, 5:18:22 PM6/10/11
to bamtoo...@googlegroups.com
A typo: it's in "PrintFasta()", not "PrintBed()".

Derek Barnett

unread,
Jun 11, 2011, 5:08:48 PM6/11/11
to bamtoo...@googlegroups.com
Nope, that wasn't intentional, purely an oversight.
It's now been updated.

Thanks for the headsup.
- Derek

Reply all
Reply to author
Forward
0 new messages