Skip to content

Commit

Permalink
Merge pull request #151 from griffithlab/features
Browse files Browse the repository at this point in the history
Update civicpy to support all types of Features
  • Loading branch information
susannasiebert authored Dec 10, 2024
2 parents dd93559 + 0d7df44 commit 2724315
Show file tree
Hide file tree
Showing 9 changed files with 3,433 additions and 1,219 deletions.
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

0 comments on commit 2724315

Please sign in to comment.