Skip to content

merge: Support inner join #1873

@victorlin

Description

@victorlin

Context

augur merge is hardcoded to do an outer join for metadata and sequences. There have been talks about wanting to do an inner join.

Potential solution

Add a new command-line option to specify whether to do an inner or outer join, with default being outer.

Option name/value ideas:

  • --join <inner|outer>
  • --join-type <inner|outer>

The implementation can use SQL's INNER JOIN for metadata and seqkit common for sequences.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions