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

to get a vairants list from GWAS catalog #48

Closed
GGboy-Zzz opened this issue Jul 11, 2024 · 4 comments
Closed

to get a vairants list from GWAS catalog #48

GGboy-Zzz opened this issue Jul 11, 2024 · 4 comments

Comments

@GGboy-Zzz
Copy link

GGboy-Zzz commented Jul 11, 2024

Thanks you for this greate tool to access GWAS catalog datasets. I want to download the top associations SNPs from GWAS catalog, and convert it to a SNP variant list like bim file,

image
yet the 'get_associations' output didnt have the SNP reference allele. Can you give me some help or suggestions to extract it from GWAS catalog? I will be deeply grateful.

@ramiromagno
Copy link
Owner

Hi @GGboy-Zzz,

I am happy to help.

Can you share some sample code of what you are trying to achieve? Namely, the early steps (querying criteria) for retrieving variants?

@GGboy-Zzz
Copy link
Author

Thank for your quickly response. I'm retrieved variants from a list of studys on relative traits, code as follows,
studies <- get_studies(efo_trait = 'melanoma') variants=get_variants(study_id='GCST000198') associations <- get_associations(study_id='GCST000198')

@ramiromagno
Copy link
Owner

Hi @GGboy-Zzz : I'm afraid the reference allele is not directly provided bythe GWAS Catalog.

@ramiromagno
Copy link
Owner

Closing due to inactivity.

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