Permalink
Browse files

add header to empty maf

  • Loading branch information...
glennhickey committed Nov 20, 2013
1 parent a5fcdaa commit e0a21cad9e0d004bdc0e014ae50b3d98cabe9ef6
Showing with 2 additions and 0 deletions.
  1. +2 −0 maf/impl/hal2maf.cpp
View
@@ -244,6 +244,8 @@ int main(int argc, char** argv)
refSequence != NULL ? refSequence->getName() : refGenome->getName();
cerr << "hal2maf: Warning reference sequence " << refSeqName
<< " has zero length. MAF output will be empty" << endl;
+ mafStream << "##maf version=1 scoring=N/A\n"
+ << "# hal " << alignment->getNewickTree() << endl << endl;
}
else
{

0 comments on commit e0a21ca

Please sign in to comment.