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 file conversion #3

Open
jwhitaker17 opened this issue Nov 19, 2019 · 2 comments
Open

vcf file conversion #3

jwhitaker17 opened this issue Nov 19, 2019 · 2 comments

Comments

@jwhitaker17
Copy link

Is there a way to convert vcf files to the format required for the GRoSS package? Thank you!

@FerRacimo
Copy link
Owner

The GRoSS SNP input file format is very similar to the TreeMix input file format: it just needs 3 additional columns with information about chromosome number, position and SNP ID for each SNP. What I would recommend it to convert your VCF file to Plink format and then to TreeMix input file format (see here: https://speciationgenomics.github.io/Treemix/ for guidance), and then just add the 3 columns corresponding to the chromosome, position and SNP ID (which can be obtained from the intermediate plink *bim file). Note that the link also explains how to prune the data, which is something that is not required for GRoSS (so this can be skipped).

@jwhitaker17
Copy link
Author

jwhitaker17 commented Nov 26, 2019 via email

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