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

feat: Added ability to read tandem repeats with GenotypesTR #204

Merged
merged 8 commits into from
Apr 7, 2023

Conversation

mlamkin7
Copy link
Collaborator

@mlamkin7 mlamkin7 commented Apr 7, 2023

Updated data/genotypes.py to include GenotypesTR which has the ability to read in tandem repeat variant caller vcf data: expansion hunter, gangstr, hipstr, advntr, and popstr.

@mlamkin7 mlamkin7 merged commit 6257264 into main Apr 7, 2023
@mlamkin7 mlamkin7 deleted the feat/genotypesTR branch April 7, 2023 22:27
@@ -11,6 +11,7 @@
import numpy.typing as npt
from cyvcf2 import VCF, Variant
from pysam import VariantFile, TabixFile
from . import tr_harmonizer as trh
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
from . import tr_harmonizer as trh
try:
import trtools.utils.tr_harmonizer as trh
except ModuleNotFoundError:
from . import tr_harmonizer as trh

might wanna try to import from trtools first just in case there's any new code from there that we should be using

@aryarm aryarm linked an issue Apr 10, 2023 that may be closed by this pull request
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.

support for a TR-based GenotypesPLINK class
2 participants