Open LinguList opened 3 years ago
Some code is available here: https://github.com/pylogeny/bayes/blob/master/src/cybayes/commands/utils.pyx
We need to refactor it.
Phylip reading function: https://github.com/pylogeny/bayes/blob/master/src/cybayes/commands/utils.pyx#L69
Read Nexus: https://github.com/pylogeny/bayes/blob/master/src/cybayes/commands/utils.pyx#L125
For step matrices, a dictionary format should be good. Something like the scorer dictionary?
I suppose we use the pylogeny package, which unifies all data, to parse other datasets, e.g., by adding a phylip dst reader, commandline functionality, and adding also readers for other file formats. In this way, this package offers specifically the data parsing and uses our other libraries to conduct the studies, while the little libraries are standalones that can be used also in other projects.
So far, we'll need:
Some of these formats deserve their own issues.