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 set vcftype for reading str files #214

Merged
merged 3 commits into from
May 19, 2023

Conversation

mlamkin7
Copy link
Collaborator

When loading a GenotypeTR class you can now specify what the type of vcf you are currently reading.

Example

genotypes = data.GenotypesTR.load('tests/data/simple_tr.vcf', vcftype='hipstr')

you can choose between

vcftype : {'auto', 'gangstr', 'advntr', 'hipstr', 'eh', 'popstr'}

@aryarm
Copy link
Member

aryarm commented May 19, 2023

checks are failing because of brentp/cyvcf2#270

they should resolve themselves once cyvcf2 uploads v0.30.22 to pypi

@mlamkin7 mlamkin7 merged commit 0d734cd into main May 19, 2023
@mlamkin7 mlamkin7 deleted the feat/GenotypesTR_vcftype branch May 19, 2023 17:48
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.

2 participants