Skip to content

Add DATA block to as_nexus #1840

Closed
Closed

Description

@jeromekelleher

#1838 updated the as_nexus method to make it more standards compliant. Before we release this in 0.4.0 we should (at least) decide whether we should include the alignments in the DATA block of the nexus file. (Like this example)

Since the as_nexus/write_nexus methods are new in 0.4.0 I guess we should either (a) output alignments in the DATA block or (b) document that we want to do this later and that the default will always be to not output the alignments. However, once we have #1825 merged it should be pretty straightforward to implement. I presume things like matchchar are optional?

@jeetsukumaran any thoughts here? Would it be expected that a nexus conversion should output the full data set by default, or just include the trees?

Activity

  1. jeetsukumaran commented on Oct 25, 2021

    @jeetsukumaran
    Contributor

    I think would expect the entire dataset to be written out unless I specified otherwise (e.g., is_include_chars=False or is_exclude_chars=True, depending on which idiom you like, along with a parallel is_include_trees/is_exclude_trees).

  2. added this to the Python 0.4.0 milestone on Oct 25, 2021
  3. added 3 commits that reference this issue on Nov 7, 2021
    bc05baf
    82c2777
    bb3c76f
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions