Unconfigured Ad

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • kgulukota
    Member
    • Oct 2011
    • 30

    Can you read VCF.idx?

    Is there a way to use VFC.idx file (other than for viewing)?

    I have a large (42 Gig) VCF and associated VCF.idx - both generated by GATK. I have some simple questions about this VCF like how many variants are in it? How many of them are on CHR1, 2, ... etc? Is there a particular variant (KRAS G13D) in this VCF?

    Is there some way to answer these questions without having to open it in IGV? Clearly this data exists within the idx file. Right?
    Kamalakar Gulukota,
    Director,
    Center for Bioinformatics and Computational Biology
    NorthShore University Health System, [email protected]
  • dpryan
    Devon Ryan
    • Jul 2011
    • 3478

    #2
    I don't know why you think this information would exist in the index file. The index is just used to be able to calculate where in a file to move to extract some desired data. If you want to get various metrics about a VCF file, then just write a program to calculate it (unless one already exists that does exactly what you want).

    Comment

    • kgulukota
      Member
      • Oct 2011
      • 30

      #3
      Right. That's what I was afraid of. And I did write some scripts for things I need.

      But, when the file is so large everything takes time and I was hoping that some info in an index file can be used to speed it up.

      The question remains though: What is the structure of the idx file? What information does it have?
      Kamalakar Gulukota,
      Director,
      Center for Bioinformatics and Computational Biology
      NorthShore University Health System, [email protected]

      Comment

      • dpryan
        Devon Ryan
        • Jul 2011
        • 3478

        #4
        You might still be able to use the index if you have a question that needs random file access. If, for example, you wanted to know about a particular stretch of the genome, you could use the index to randomly extract just that part of the VCF file. I believe that the index is a tabix index, so you can have a look at tabix for a C interface, if that's what you want. Alternatively, you could probably use tabix in a script from the command line, though I've never personally tried that.

        Comment

        Latest Articles

        Collapse

        • GATTACAT
          Reply to Nine Things a Sample Prep Scientist Thinks About Before Sequencing
          by GATTACAT
          Love this - good data definitely starts from good input, and poor input can only give relatively poor data. I particularly like the mention of Nanodrop/absorbance based methods for quantification. It's such a toss up if you'll get an accurate reading or what amounts to a randomly generated number, and a lot of library/sequencing related issues can be traced back to poor quant.
          07-01-2026, 11:43 AM
        • SEQadmin2
          Nine Things a Sample Prep Scientist Thinks About Before Sequencing
          by SEQadmin2


          I’m not a sequencing expert. I’m a purification scientist who uses NGS to evaluate workflows my group develops. With this perspective, we think about the sample first and the NGS workflow second. The sequencer is an exceptionally honest reporter, but it can only report on what you give it, so whether you get clean, interpretable data from an NGS workflow is largely determined before you begin.

          Here are nine questions we think about, in roughly the order they matter, before...
          06-18-2026, 07:11 AM

        ad_right_rmr

        Collapse

        News

        Collapse

        Topics Statistics Last Post
        Started by SEQadmin2, Yesterday, 11:08 AM
        0 responses
        7 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 06-30-2026, 05:37 AM
        0 responses
        11 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 06-26-2026, 11:10 AM
        0 responses
        19 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 06-17-2026, 06:09 AM
        0 responses
        53 views
        0 reactions
        Last Post SEQadmin2  
        Working...