Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Augur compatible output #307

Open
rneher opened this issue Dec 30, 2024 · 0 comments
Open

Augur compatible output #307

rneher opened this issue Dec 30, 2024 · 0 comments
Labels

Comments

@rneher
Copy link
Member

rneher commented Dec 30, 2024

augur ancestral is a very light wrapper around treetime ancestral and with the new treetime, it would make sense to just replace augur ancestral with treetime ancestral. The main missing requirement would be a "node data json" output.
These json's look like

{
    "annotations": {
        "HA1": {
            "end": 1052,
            "seqid": "config/h3n2/ha/genemap.gff",
            "start": 66,
            "strand": "+",
            "type": "gene"
        },
        "HA2": {
            "end": 1715,
            "seqid": "config/h3n2/ha/genemap.gff",
            "start": 1053,
            "strand": "+",
            "type": "gene"
        },
        "nuc": {
            "end": 1737,
            "start": 1,
            "strand": "+",
            "type": "source"
        }
    },
    "generated_by": {
        "program": "augur",
        "version": "24.1.0"
    },
    "mask": "000011100000000",
    "nodes": {
        "A/AbuDhabi/240/2018-egg": {
            "aa_muts": {
                "HA1": ["T160K", "G186V", "S219Y"],
                "HA2": [],
                "SigPep": []
            },
            "muts": ["C544A", "G622T", "C721A"],
            "sequence": "ACGT..."
        },
        "NODE000001": {}
    }
}

The annotations are really only an instruction to auspice, they could come from somewhere else. Similar for the mask. But the nodes part should be quite easy to generate.

@rneher rneher added the rust label Dec 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant