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

Does gwas2vcf implementation of multi GWAS storage? #81

Open
nicksunderland opened this issue Aug 15, 2023 · 2 comments
Open

Does gwas2vcf implementation of multi GWAS storage? #81

nicksunderland opened this issue Aug 15, 2023 · 2 comments

Comments

@nicksunderland
Copy link

I'm having difficulty with writing out multiple 'samples' (multiple GWAS traits/outcomes), as described here. I can't see how/if it is implemented; can anyone help?

https://github.com/MRCIEU/gwas2vcf/blob/f4790a502e9c2ab2322322f45fa86a3540a20e02/vcf.py#L204C35-L204C45

Best,
Nick

@nicksunderland
Copy link
Author

A possible solution? Rest of the programme not tested and almost certainly broken...

@mja
Copy link

mja commented Sep 5, 2023

I think the idea is to use gwas2vcf to create a VCF for each separate sumstats file, then merge them together using a tool like bcftools merge.

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