-
Notifications
You must be signed in to change notification settings - Fork 2
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
epo file format #25
Comments
That is very tough! What is much easier is to transform that VCF to
ACF, and use the specific population as the root/anc. However be wary that
you don't really have an ancestor, you have an outgroup :-)
…On Fri, Nov 26, 2021 at 4:49 AM xinkaitong ***@***.***> wrote:
hello, grenaud! now, I just have an outgroup vcf file (other mammals not
human), could you tell me how can I transform vcf file to epo file?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#25>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAQRNIZXIMTP352MCJZF7ITUN37VBANCNFSM5IZYG5KQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
Hello, |
Yes! You need to convert VCF to ACF and run replaceancestor I believe. Let me know if that works! |
Thank you. I will try it ! |
Hello, I have another question. Thanks |
Hello, Thank you very much |
Would you describe seems like it will work. The EPO is only human+chimp+other great apes and the inferred ancestral states, there is a single human "individual" and that is the reference |
I am not sure how this was generated but acf files can be generated in very different ways. |
There is root and ancestor. In the case of humans, we can think of the chimps as the "root" as all humans are equitistant to the chimp. However there is a chimp-human ancestor, we do not have access to the sequence of its genome as it died out 6 million years ago. However we can make a probabilistic inference of what this genome had in terms of alleles. This is precisely what EPO does. |
How did you generate this file? Could you paste the command lines? |
I think I misunderstood your meaning. |
file4.acf.gz is just a placeholder name, it could be anything. |
sorry,
What I understand is that if there is no epo file, file4 generated according to step 1 and 1kg_chr6.AFRsubset.acf.gz generated using epo in 2 are both acf files containing outgroup information. steps 1 and 2 can generate the same file, and the steps are equivalent, is it right? |
While I encourage people to use file descriptors, they are not great for debugging because you don't know which one fails. Could you try to break down these commands into three separate ones, produce the output for each and inspect that using glactools view? |
Yes, I used 3 commands to generate the file successfully. Since my species is not human, I want to know if the output file of 1 is the equivalent of the output file of 2 ? Thank you very much |
Could you please paste the commands? I am not sure what is file 1 and file 2 here. |
Again, please no file descriptors, just single commands. |
The following is code of my test file. glactools vcfm2acf --onlyGT --fai $ref_genome outgroup_root_test.chr24.vcf > outgroup_root_test.chr24.acf.gz |
ok thank you! which command fails? |
No error reported. |
ah no it is not! you need to use glactools acf2betascan |
glactools acf2betascan --useroot outgroup_root_test_merge.chr24.acf.gz | gzip > outgroup_root_test.chr24.beta.txt.gz Is it right to do ? |
should be! |
Ok! Thank you very much ! |
hello, grenaud! now, I just have an outgroup vcf file (other mammals not human), could you tell me how can I transform vcf file to epo file?
The text was updated successfully, but these errors were encountered: