[BioRuby] newick gsub(' ','_')

Ben Woodcroft donttrustben at gmail.com
Mon Jul 20 03:52:09 UTC 2009


Hello.

I'm attempting to put spaces in the leaf nodes of a phylogenetic tree, and
the bioruby newick writer is replacing them with underscores - not my
desired behaviour.

I believe the gsub I'm talking about is on line 58 of
http://github.com/bioruby/bioruby/blob/97b9284109c9a4431b92eab208509e1df6069b4b/lib/bio/db/newick.rb

If a leaf node name has spaces in it, should it then be surrounded with a
single quote? Am I not understanding something about the newick format?

Thanks in advance,
ben

-- 
FYI: My email addresses at unimelb, uq and gmail all redirect to the same
place.



More information about the BioRuby mailing list