Skip to content

Commit

Permalink
add check for variant alleles
Browse files Browse the repository at this point in the history
  • Loading branch information
yaseminbridges committed Dec 4, 2024
1 parent cbfcd7b commit d07ecdf
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/pheval/prepare/prepare_corpus.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,11 @@ def prepare_corpus(
f"Removed {phenopacket_path.name} from the corpus due to missing variant fields."
)
continue
elif phenopacket_util.check_variant_alleles():
info_log.warning(
f"Removed {phenopacket_path.name} from the corpus due to identical "
"reference and alternate allele fields."
)
if gene_analysis:
if phenopacket_util.check_incomplete_gene_record():
info_log.warning(
Expand Down

0 comments on commit d07ecdf

Please sign in to comment.