Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • evakoe
    Member
    • Jul 2012
    • 27

    #1

    how to convert the VP INFO field of a VCF file

    Hallo,
    I'd like to understand how to covert the VP INFO field of a VCF file into the binary number. My question has to some extend been discussed here:
    http://www.biostars.org/post/show/38...eld-structure/

    Here is the explanation how to interpret the VP field. ftp://ftp.ncbi.nlm.nih.gov/snp/specs...eld_latest.pdf

    Here is a line from a dbSNP file.
    1 10144 rs144773400 TA T . . RSPOS=10145;dbSNPBuildID=134;SSR=0;SAO=0;VP=050000000005000002000200;WGT=1;VC=DIV;ASP;OTHERKG

    I am interested in other fields than the WGT, VC, R5, and ASP, which give some of the information in VP already decoded.

    Especially, I am interested in the byte F4 that corresponds to the allele frequency proportions. From what I understand, this number needs to be converted to a binary number to read the bits, however, what is unclear to me is the number system in the VP number is in. In the post mentionend obove, a user gave a number that had "a" in it so it must be a number system greater 11, maybe hexadecimal? the VP number corresponds to a 12 byte object, so we should obtain 96 bits if the number is decoded. However, if I assume that the VP number is hexadecimal and I convert to binary, I obtain 91 bits. Also decimal or octal does not match.

    Another point: Is the whole number converted as one? The VP number has 24 characters. Maybe two characters at a time correspond to one byte. So I would have to convert only 00 to get my F4 byte?! but then again, what number system is 00 in?

    Does somebody know the answer? Thanks.
  • evakoe
    Member
    • Jul 2012
    • 27

    #2
    In case somebody else is interested in the answer, the VP number is hexadecimal. See http://en.wikipedia.org/wiki/Binary_...em#Hexadecimal and http://bms.zeugner.eu/doc/htmlhelp/bin2hex.html

    Comment

    Latest Articles

    Collapse

    • SEQadmin2
      16S/ITS Profiling vs. Shotgun Metagenomics: What Changes in Your Workflow?
      by SEQadmin2




      NGS has revolutionized clinical microbiology by offering new ways to identify and surveil pathogens without prior knowledge of the target. One popular approach is 16S rRNA and ITS amplicon sequencing, which targets specific microbial markers. But studies are increasingly incorporating shotgun metagenomics, a technique that sequences all DNA from a sample without targeting specific microbial markers. This approach allows more detailed taxonomic classification, detection...
      Today, 06:46 AM
    • SEQadmin2
      Multiomic Liquid Biopsy: What DNA/RNA Panels Reveal That DNA Alone Can’t
      by SEQadmin2



      Tumors contain complex mixtures of cell populations that evolve in response to treatment and host-specific factors. Tissue biopsies provide only static snapshots of a tumor’s state. But what if we could follow that evolution over time using a minimally invasive technique?

      Liquid biopsies can detect tumor-derived material circulating in the bloodstream, providing a way to study treatment response, detect emerging resistance, and discover new biomarkers. Circulating
      ...
      10-14-2026, 09:55 AM

    ad_right_rmr

    Collapse

    News

    Collapse

    Topics Statistics Last Post
    Started by SEQadmin2, 10-28-2026, 09:57 AM
    0 responses
    24 views
    0 reactions
    Last Post SEQadmin2  
    Started by SEQadmin2, 10-28-2026, 09:51 AM
    0 responses
    15 views
    0 reactions
    Last Post SEQadmin2  
    Started by SEQadmin2, 10-22-2026, 11:13 AM
    0 responses
    68 views
    0 reactions
    Last Post SEQadmin2  
    Started by SEQadmin2, 10-22-2026, 10:48 AM
    0 responses
    48 views
    0 reactions
    Last Post SEQadmin2  
    Working...