Skip to content

Conversation

jkgoodrich
Copy link
Contributor

No description provided.

Copy link
Contributor

@mike-w-wilson mike-w-wilson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A couple comments on the docs and a couple questions: This maintains the nonsplit_alleles=ht.old_alleles. Is this used downstream? We dropped this in v3.1 release since it could contain alleles belonging to unreleased samples. Also looks like the ac_group_filter is in this PR too so you may want to merge main in?

Comment on lines 813 to 818
- variant_type - Variant type (snv, indel, multi-snv, multi-indel, or mixed).
- n_alt_alleles - Total number of alternate alleles observed at variant locus.
- has_star - True if the variant contains a star allele.
- allele_type - Allele type (snv, insertion, deletion, or mixed).
- was_mixed - True if the variant was mixed (i.e. contained both SNVs and indels).
- nonsplit_alleles - Array of alleles before splitting.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perhaps change the second - to :?

Suggested change
- variant_type - Variant type (snv, indel, multi-snv, multi-indel, or mixed).
- n_alt_alleles - Total number of alternate alleles observed at variant locus.
- has_star - True if the variant contains a star allele.
- allele_type - Allele type (snv, insertion, deletion, or mixed).
- was_mixed - True if the variant was mixed (i.e. contained both SNVs and indels).
- nonsplit_alleles - Array of alleles before splitting.
- variant_type: Variant type (snv, indel, multi-snv, multi-indel, or mixed).
- n_alt_alleles: Total number of alternate alleles observed at variant locus.
- has_star: True if the variant contains a star allele.
- allele_type: Allele type (snv, insertion, deletion, or mixed).
- was_mixed: True if the variant was mixed (i.e. contained both SNVs and indels).
- nonsplit_alleles: Array of alleles before splitting.

Also, I'm not sure these are showing up as intended -- https://broadinstitute.github.io/gnomad_methods/api_reference/utils/annotations.html#gnomad.utils.annotations.annotate_freq

Copy link
Contributor Author

@jkgoodrich jkgoodrich May 10, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Screenshot 2023-05-10 at 3 44 24 PM

I think this one will, but I changed the note for annotate_freq so it looks better

Screenshot 2023-05-10 at 3 48 37 PM

@jkgoodrich jkgoodrich force-pushed the jg/add_allele_info_function branch from 53c105d to cb20e5b Compare May 10, 2023 21:11
@jkgoodrich
Copy link
Contributor Author

A couple comments on the docs and a couple questions: This maintains the nonsplit_alleles=ht.old_alleles. Is this used downstream? We dropped this in v3.1 release since it could contain alleles belonging to unreleased samples. Also looks like the ac_group_filter is in this PR too so you may want to merge main in?

Yup, I would like to have it on this annotation HT, but removed from the actual release HT

@jkgoodrich
Copy link
Contributor Author

Checks should pass after this PR goes in and I merge with main

@jkgoodrich jkgoodrich requested review from mike-w-wilson and removed request for klaricch May 11, 2023 00:51
Copy link
Contributor

@mike-w-wilson mike-w-wilson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@jkgoodrich jkgoodrich merged commit e2f2b05 into main May 11, 2023
@jkgoodrich jkgoodrich deleted the jg/add_allele_info_function branch May 11, 2023 14:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants