Skip to content

TreeSequence.as_fasta which returns a string #1816

Closed

Description

@jeromekelleher

This can call TreeSequence.write_fasta with a StringIO.

Seems like a useful convention to establish: to_format_X returns a string, write_format_X writes it to a file.

Activity

  1. jeromekelleher commented on Oct 18, 2021

    @jeromekelleher
    MemberAuthor

    See #353 first.

  2. changed the title [-]TreeSequence.as_fasta which returns a string[/-] [+]TreeSequence.to_fasta which returns a string[/+] on Oct 18, 2021
  3. jeromekelleher commented on Oct 25, 2021

    @jeromekelleher
    MemberAuthor

    Change of mind: let's make the convention as_fasta instead to be more like methods like asdict etc.

  4. added this to the Python 0.4.0 milestone on Oct 27, 2021
  5. changed the title [-]TreeSequence.to_fasta which returns a string[/-] [+]TreeSequence.as_fasta which returns a string[/+] on Oct 27, 2021
  6. added 5 commits that reference this issue on Nov 5, 2021
    b00c873
    158abcf
    420c010
    f85954e
    2c2ea27
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