Closed mgalardini closed 8 years ago
How did that slip by me?! I'll fix that right away. The problem is this line:
outfile.write(delimiter.join(c for c in outrow) + "\n")
Which should have been:
outfile.write(delimiter.join('"' + c + '"' for c in outrow) + "\n")
Thanks for noticing this!
Hi Ola,
I was giving a go with the latest version (the ascii logo is very neat!) and noticed that the non numeric fields in the output table are not quoted, which might cause problems when parsing the results, especially in the gene product field.
Example of a line which causes my parser to break:
(notice the "outer membrane pore protein N, non-specific" bit)
I'm hotfixing this issue by putting an empty string in the "Annotation" field of Roary's output, but I figured you might want to have a look into this potential issue.
Thanks a lot, Marco