Code Monkey home page Code Monkey logo

Comments (6)

grenaud avatar grenaud commented on July 24, 2024

Hi josieparis,
Is the ancestral state defined?

Gabriel

from glactools.

josieparis avatar josieparis commented on July 24, 2024

Hey Gabriel,

Thanks for getting back to me so quick. I have the ancestral state defined in the vcf file like so:
chr1 4620 chr1_4620 A G 5527.83 PASS AA=A
chr1 4827 chr1_4827 G A 38420.2 PASS AA=G
chr1 4947 chr1_4947 T G 6433.52 PASS AA=T
chr1 5182 chr1_5182 A C 5021.24 PASS AA=A

It also does not produce an output when I use --useroot

from glactools.

grenaud avatar grenaud commented on July 24, 2024

Ok the conversion to ACF cannot process custom tags for now. You could add it as a feature request.

For now you could either:

  1. if this is hg18, you could use our per-parsed EPO files during acf conversion
  2. otherwise, get a VCF of the ancestral state and use replaceanc+usepopsrootanc to use it as ancestral
  3. or specify --fold but then you lose which allele is ancestral and derived, you just get minor/major.

from glactools.

josieparis avatar josieparis commented on July 24, 2024

ah gotya!

yeah unfortunately these are custom vcfs. I'll add as a feature request

in the meantime, I'll probably just fold them.
thanks for your help! (and glactools - very useful)

from glactools.

grenaud avatar grenaud commented on July 24, 2024

from glactools.

xinkaitong avatar xinkaitong commented on July 24, 2024

Ok for now, may I close this issue? tor. 16. maj 2019 16.22 skrev josieparis [email protected]:

ah gotya! yeah unfortunately these are custom vcfs. I'll add as a feature request in the meantime, I'll probably just fold them. thanks for your help! (and glactools - very useful) — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#6?email_source=notifications&email_token=AAQRNI6WPGDDCESLHIGZI4LPVVNXXA5CNFSM4HNFH3KKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODVRZHAY#issuecomment-493065091>, or mute the thread https://github.com/notifications/unsubscribe-auth/AAQRNI3BKQZ4FB2OM6JL23TPVVNXXANCNFSM4HNFH3KA .

hello grenaud! your reply was helpful. now, I just have outgroup vcf file (other mammals not human), could you tell me how can I transform vcf file to epo file?

from glactools.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.