mothur/mothur — pull request #4 by jonls (2013-12-15 06:36:25+00:00)
Title: counttable: Avoid adding extra whitespace at end of lines

It would be great if the files produced by mothur could be easily loaded by other programs. The extra whitespace that is added at the end of the lines in the count table is unnecessary and confuses other tab-separated file readers (e.g. R, Python) into adding extra columns.

I think this is an issue with some other commands as well as it seems every command implements its own output functions, in particular commands that print phylip format distance matrices. If this patch is acceptable I'd like to go ahead and fix some of the other commands as well.