Skip to content

Values in meandiffsel file #6

@NatJWalker-Hale

Description

@NatJWalker-Hale

Hi @vlanore,

I just had one question about the interpretation and transformation of the values in the *.meandiffsel file. I assume that the raw values in columns 1 to 21 (zero-indexed) are the per-site differential selection effects for each amino acid. Is this correct?

In the GitLab repository for the Phil Trans review (in lib/scripts/diffsel_analyze_result.py), @pveber has the following transformation to calculate the per-amino acid convergence probability:

2 * abs(0.5 - D)
where D is the element for for that amino acid at that site in *.meandiffsel (in his script, it is vectorised).

Forgive me if this is very stupid, but what exactly is this calculation doing? How do we go from the elements in *.meandiffsel to the posterior probabilities?

Thanks so much in advance for your help,

Best,

Nathanael

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions