[Biopython] Combine nexus files but not concatenating them

Peter biopython at maubp.freeserve.co.uk
Mon Oct 5 15:42:48 EDT 2009


On Mon, Oct 5, 2009 at 6:38 PM, Denzel Li <denzel.dz.li at gmail.com> wrote:
> Hi all:
> I notice there is a solution for combining nexus files as appeared in the
> cookbook
> (http://biopython.org/wiki/Concatenate_nexus ).  However, in the example the
> alignments are concatenated. What if I want is, for example, the following
> two files are combined into one file as shown in "combinedFile.nex".

I was under the impression that NEXUS files should only hold
one alignment matrix. Why do you need it done this way? Isn't
your example basically the same thing but interleaved?

Peter



More information about the Biopython mailing list