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

Update civicpy to support all types of Features #151

Merged
merged 8 commits into from
Dec 10, 2024
2,814 changes: 1,780 additions & 1,034 deletions civicpy/civic.py

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion civicpy/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def create_vcf(vcf_file_path, include_status):
"""Create a VCF file of CIViC variants"""
with open(vcf_file_path, "w") as fh:
writer = VCFWriter(fh)
for variant in civic.get_all_variants(include_status=include_status):
for variant in civic.get_all_gene_variants(include_status=include_status):
if variant.is_valid_for_vcf():
writer.addrecord(variant)
writer.writerecords()
Expand Down
Binary file modified civicpy/data/test_cache.pkl
Binary file not shown.
Loading
Loading