[Biopython] Combine nexus files but not concatenating them
Peter
biopython at maubp.freeserve.co.uk
Mon Oct 5 16:31:53 EDT 2009
On Mon, Oct 5, 2009 at 9:00 PM, Denzel Li <denzel.dz.li at gmail.com> wrote:
> Hi Peter:
> Yes, it is basically the same thing returned by "nexus.combine" but
> "interleaved".
Surely whether or not the data is interleaved is immaterial to the
meaning. Does the combined version following our wiki not work
for some 3rd party tool?
> A further question is that, is it possible to split one nexus
> into several nexus according to the Charset (or partition)
> defined in the file. Like in the concatenation example
> (http://biopython.org/wiki/Concatenate_nexus ), split the
> combined file into btCOI.nex,btCOII.nex and btITS.nex.
Does the write_nexus_data_partitions() method of the Nexus
object do what you want?
Peter
More information about the Biopython
mailing list