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

Add PMID to finding notes #4209

Merged
merged 4 commits into from
Jul 3, 2024
Merged

Add PMID to finding notes #4209

merged 4 commits into from
Jul 3, 2024

Conversation

hanars
Copy link
Collaborator

@hanars hanars commented Jul 1, 2024

No description provided.

@hanars hanars requested review from jklugherz and bpblanken July 1, 2024 19:49
], [
'Broad_HG00731_1_248367227', 'Broad_HG00731', 'Broad_exome_VCGS_FAM203_621_D2', 'SNV/INDEL', 'GRCh37', '1',
'248367227', 'TC', 'T', 'CA1501729', 'RP11', '', '', '', 'Homozygous', '', 'paternal', '', '', 'Known', '',
'MONDO:0044970', '', 'Uncertain', '', 'Broad_HG00732', 'SR-ES', '', '', '', '', '', '', '',
], [
'Broad_HG00731_19_1912634', 'Broad_HG00731', 'Broad_exome_VCGS_FAM203_621_D2', 'SNV/INDEL', 'GRCh38', '19',
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

this row was always in the table, we just were not explicitly testing it before

@@ -165,7 +165,7 @@ def parse_anvil_metadata(
airtable_fields: Iterable[str] = None, mme_value: Aggregate = None, include_svs: bool = True,
variant_json_fields: Iterable[str] = None, variant_attr_fields: Iterable[str] = None, post_process_variant: Callable[[dict, list[dict]], dict] = None,
include_no_individual_families: bool = False, omit_airtable: bool = False, include_family_name_display: bool = False, include_family_sample_metadata: bool = False,
include_discovery_sample_id: bool = False, include_mondo: bool = False, include_parent_mnvs: bool = False,
include_discovery_sample_id: bool = False, include_mondo: bool = False, omit_parent_mnvs: bool = False,
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

changes the default behavior of this function to include parent MNVs since that is the behavior we want almost everywhere, so the one place we don't want it sets that explicitly

'sv_name': _get_sv_name(v),
'notes': discovery_notes,
}
def _get_discovery_notes(variant, gene_variants, omit_parent_mnvs):
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

functionality did not change, only indenting

@hanars hanars changed the base branch from use-all-metadata-fields to dev July 2, 2024 15:10
Copy link
Contributor

@jklugherz jklugherz left a comment

Choose a reason for hiding this comment

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

code LGTM but wondering if you can tell me more about the relationship between mnvs (multi-nucleotide-variants I think) and pmids

@hanars hanars merged commit cfb0206 into dev Jul 3, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants