Giter Club home page Giter Club logo

Comments (5)

grenaud avatar grenaud commented on June 16, 2024 1

Hello! I managed to replicate the error using:
glactools bplink2acf --fai human_g1k_v37.fasta.fai afghan > /dev/null

bplink2acf: WARNING: The reference allele between the EPO/FASTA (G) was not found in the the .bim file (found: C,T) at chr:pos 1:5732473 at line 1 rs771071 0 5732473 T C

So I looked at the USCS browser and it shows that rs771071 is a reference G morphing to A. Around this snp is GGC.

samtools faidx seems to agree:

1:5732472-5732474
GGC

Are you sure it was v37? not 38 for the bim file?

from glactools.

grenaud avatar grenaud commented on June 16, 2024 1

This is not a bug, it is a safeguard feature to make sure that the consistency between the reference and the bim file is respected. How is it possible that this line is in your bim file with the wrong reference allele? It should be a G.

from glactools.

grenaud avatar grenaud commented on June 16, 2024 1

The solution is to try to understand why there is a SNP without the reference allele being present in your .bim file and where the bases do not match UCSC. Go over the steps you used to generate the .bed, .bim and fam files and try to track the issue.

from glactools.

josephresearcher avatar josephresearcher commented on June 16, 2024

thank you
Dear Renaud
I tried several files, unfortunately the problem persists

from glactools.

josephresearcher avatar josephresearcher commented on June 16, 2024

I mentioned the link of these files for you
What do you think is the solution?
https://evolbio.ut.ee/
https://evolbio.ut.ee/afghan/

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.