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

Allow csi-indexed vcf files #209

Merged
merged 1 commit into from
Apr 8, 2024
Merged

Allow csi-indexed vcf files #209

merged 1 commit into from
Apr 8, 2024

Conversation

ctsa
Copy link
Contributor

@ctsa ctsa commented Apr 8, 2024

It looks like truvari already works with csi-indexed VCF files via support from pysam, but just needs updated input validation.

ACEnglish added a commit that referenced this pull request Apr 8, 2024
functional tests passed.
pylint wanted changes
```
% python repo_utils/pylint_maker.py
************* Module truvari.utils
truvari/utils.py:448:0: C0305: Trailing newlines (trailing-newlines)
truvari/utils.py:447:11: R1729: Use a generator instead 'any(os.path.exists(vcf_path + '.' + x) for x in vcf_index_ext)' (use-a-generator)
```

Updated `truvari/annotations/trf.py` to use the new method.

Added the new method to api docs in `docs/api/truvari.rst`
@ACEnglish ACEnglish merged commit 9663645 into ACEnglish:develop Apr 8, 2024
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.

None yet

2 participants