Seqanswers Leaderboard Ad

Collapse

Announcement

Collapse
No announcement yet.
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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:


    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.

  • #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

    • seqadmin
      Essential Discoveries and Tools in Epitranscriptomics
      by seqadmin




      The field of epigenetics has traditionally concentrated more on DNA and how changes like methylation and phosphorylation of histones impact gene expression and regulation. However, our increased understanding of RNA modifications and their importance in cellular processes has led to a rise in epitranscriptomics research. “Epitranscriptomics brings together the concepts of epigenetics and gene expression,” explained Adrien Leger, PhD, Principal Research Scientist...
      04-22-2024, 07:01 AM
    • seqadmin
      Current Approaches to Protein Sequencing
      by seqadmin


      Proteins are often described as the workhorses of the cell, and identifying their sequences is key to understanding their role in biological processes and disease. Currently, the most common technique used to determine protein sequences is mass spectrometry. While still a valuable tool, mass spectrometry faces several limitations and requires a highly experienced scientist familiar with the equipment to operate it. Additionally, other proteomic methods, like affinity assays, are constrained...
      04-04-2024, 04:25 PM

    ad_right_rmr

    Collapse

    News

    Collapse

    Topics Statistics Last Post
    Started by seqadmin, Today, 08:47 AM
    0 responses
    11 views
    0 likes
    Last Post seqadmin  
    Started by seqadmin, 04-11-2024, 12:08 PM
    0 responses
    60 views
    0 likes
    Last Post seqadmin  
    Started by seqadmin, 04-10-2024, 10:19 PM
    0 responses
    59 views
    0 likes
    Last Post seqadmin  
    Started by seqadmin, 04-10-2024, 09:21 AM
    0 responses
    54 views
    0 likes
    Last Post seqadmin  
    Working...
    X