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

vcf GT format:0/0, 1/1 or 0 , 1 #241

Open
yayahoho1 opened this issue Jun 7, 2023 · 1 comment
Open

vcf GT format:0/0, 1/1 or 0 , 1 #241

yayahoho1 opened this issue Jun 7, 2023 · 1 comment

Comments

@yayahoho1
Copy link

Hi,
i am using pyseer to do GWAS analysis in bacteria. But i am not sure whether the vcf GT format would make a difference to the result?
The vcf file was generated from snippy sofware.

tkanks in advance !

@johnlees
Copy link
Collaborator

johnlees commented Jun 8, 2023

The code for this is here: https://github.com/mgalardini/pyseer/blob/master/pyseer/input.py#L445-L490
See the comment on lines 471-474:

          # This is dominant encoding. Any instance of '1' will count as present
          # Could change to additive, summing instances, or reccessive only counting
          # when all instances are 1.
          # Shouldn't matter for bacteria, but some people call hets

So any 1 in the GT field should count as present

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

No branches or pull requests

2 participants