Giter Site home page Giter Site logo

Comments (2)

nmousavi avatar nmousavi commented on July 27, 2024

re error: This is due to an incompatible header data. Looks like 'GQ' field (Genotype Quality) is defined as a single Integer value in one VCF file, while another VCF file defines it as any-number (i.e., '.') of Integers. The pipeline fails because it doesn't know how to build the Bigquery schema in this case.

Solnution:
Make the definition of 'GQ' field consistent across the files. Or

from gcp-variant-transforms.

arostamianfar avatar arostamianfar commented on July 27, 2024

To clarify: using --representative_header_file will not actually work in this case as explained in the thread. This is b/c the parser still returns a single number for the GQ field while the 'correct' representation is to have a list. We realize it is frustrating to use Variant Transforms when dealing with malformed/incompatible VCF files, so we are actively working on automatically fixing such cases in Issue #101. In the meantime, changing the VCF header in all files to have Number='.' would work. You would also need to ensure that other fields (e.g. AD) are properly defined in all files.

RE documentation: Sorry for the delay on this! It has been on my TODO list and I have started on a draft. Should be ready by EOW. Also, tracked on Issue #76.

from gcp-variant-transforms.

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.