GithubHelp home page GithubHelp logo

add GT info to the VCFs about varca HOT 11 OPEN

aryarm avatar aryarm commented on August 20, 2024
add GT info to the VCFs

from varca.

Comments (11)

aryarm avatar aryarm commented on August 20, 2024

Hi @shinlin77 ,

Thanks for your interest in VarCA! I've attached responses to each portion of your question below.


out/merged_snp/jurkat_chr1/final.tsv.gz

I think you're referring to the output of the prepare subworkflow, which is not the final output of the entire pipeline. After the prepare subworkflow, VarCA automatically runs the classify subworkflow.

What is the final call? And is what should I use as the measure of confidence?

VCFs containing the final calls as well as QUAL scores with a measure of confidence for each call are generated at the end of the classify subworkflow. That output is described here. Here's the path for the jurkat_chr1 sample:

out/classify/jurkat_chr1_snp/final.vcf.gz

from varca.

shinlin77 avatar shinlin77 commented on August 20, 2024

Thanks for getting back to me. That makes a lot more sense. One additional question, though. How are heterozygous calls designated? In the example, it seems like all the ALT are homozygous.

from varca.

aryarm avatar aryarm commented on August 20, 2024

The VCFs produced by VarCA lack the genotype (GT) field (see #11)

In theory, it should be possible to have 2vcf.py add that information to the VCFs, since I think most of the individual variant callers have it. But it might take a bit of a refactor, and I just haven't had the time to implement that.

Is that a feature that you'd like to have?

from varca.

shinlin77 avatar shinlin77 commented on August 20, 2024

That would be wonderful. The concept of your program should be useful for the community, but this feature would make it truly practical.

from varca.

aryarm avatar aryarm commented on August 20, 2024

ok, we'll see if I have some time for this

One caveat to this is that a variant may be incorrectly called homozygous (when, in fact, it's actually heterozygous) in situations where only one of the alleles has open chromatin
In other words, the GT info may be incorrect in loci with allele-specific open chromatin

Does that matter to you?

from varca.

shinlin77 avatar shinlin77 commented on August 20, 2024

from varca.

aryarm avatar aryarm commented on August 20, 2024

you can quantify how often that happens, right?

In theory, it should be possible. In practice, it might be difficult. We could compare the scATAC-seq variants to variants from WGS, but there could be other reasons that the two would differ from each other besides allele-specific open chromatin. So we would have to come up with some measure (and a threshold on that measure) for detecting allele-specific open chromatin, and then filter for sites that pass the threshold.

from varca.

shinlin77 avatar shinlin77 commented on August 20, 2024

from varca.

aryarm avatar aryarm commented on August 20, 2024

Hi @shinlin77 ,

I agree that it would be good to know. Somebody should do it. But developing a method to perform a test for allele specific chromatin is probably a whole project on its own. After all, testing for allele specific expression is kinda its own sub-field. I'm sorry, but I think that specific request is one that I do not personally have the bandwidth to implement within the foreseeable future.

But nonetheless, I'm going to keep this issue open to track progress on your request to add GT info to the VCFs. Afterwards, I will probably add a warning in the documentation explaining this situation and cautioning that the GT info may be inaccurate and should be ignored by the conventual user unless they have a way to account for allele specific open chromatin.

from varca.

aryarm avatar aryarm commented on August 20, 2024

(I'm just renaming the title of the issue to reflect its new purpose.)

If you have any other feature requests, kindly submit them in a new issue. Or, if you have a question or discussion item, you can add it to the Discussions tab.

from varca.

shinlin77 avatar shinlin77 commented on August 20, 2024

from varca.

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.