Giter Club home page Giter Club logo

Comments (4)

kausmees avatar kausmees commented on July 22, 2024

According to the PLINK file format doc, the first field should be the chromosome and the second the variant identifier.
In the .snp file, the order of the two first fields is reversed, so the structure is not the same. In the table in the leftmost image you posted, the data of "chr" and "id" is mismatched.

The example given is in the EIGENSTRAT format, which comprises 3 files (.eigenstratgeno/.snp/.ind).
GCAE also accepts PLINK format (.bed/.bim/.fam).

It might be useful to have the example in PLINK format also, however. If you would like to add that, I'd be happy to accept the pull request.

from genocae.

richelbilderbeek avatar richelbilderbeek commented on July 22, 2024

According to the PLINK file format doc, the first field should be the chromosome and the second the variant identifier.

Blimey, you are right! It simply looked too similar too me :-)

It might be useful to have the example in PLINK format also, however. If you would like to add that, I'd be happy to accept the pull request.

Awesome, I will! At least, I will try, as I have never worked with EIGENSTRAT 👍

from genocae.

richelbilderbeek avatar richelbilderbeek commented on July 22, 2024

May be fixed with Pull Request #15

from genocae.

richelbilderbeek avatar richelbilderbeek commented on July 22, 2024

Hmm, @kausmees, this was harder for me to do than expected and I spent two hours on this. Would it be easy for you to do? If yes, I hope you do this conversion :-), if not, I'll persist 😎

from genocae.

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.