From 38bd1342ee0835f10ba1a7e7f7f1150a817bcde6 Mon Sep 17 00:00:00 2001 From: Cristina Yenyxe Gonzalez Garcia <cyenyxe@ebi.ac.uk> Date: Wed, 24 Jul 2019 15:06:34 +0100 Subject: [PATCH] Added note about languages native support --- VCFv4.3.tex | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/VCFv4.3.tex b/VCFv4.3.tex index 95dd17b6e..f1b3899c9 100644 --- a/VCFv4.3.tex +++ b/VCFv4.3.tex @@ -94,8 +94,17 @@ \subsection{Character encoding, non-printable characters and characters with spe \subsection{Data types} -Data types supported by VCF are: Integer (32-bit, signed), Float (32-bit IEEE-754, formatted to match one of the regular expressions \verb|^[-+]?[0-9]*\.?[0-9]+([eE][-+]?[0-9]+)?$| or \verb"^[-+]?(INF|INFINITY|NAN)$" case insensitively), Flag, Character, and String. -For the Integer type, the values from $-2^{31}$ to $-2^{31}+7$ cannot be stored in the binary version and therefore are disallowed in both VCF and BCF, see \ref{BcfTypeEncoding}. +The data types supported by VCF are: + +\begin{itemize} + \item Integer (32-bit, signed): Values from $-2^{31}$ to $-2^{31}+7$ cannot be stored in the binary version and therefore are disallowed in both VCF and BCF, see \ref{BcfTypeEncoding}. + \item Float (32-bit IEEE-754): Formatted to match one of the regular expressions \verb|^[-+]?[0-9]*\.?[0-9]+([eE][-+]?[0-9]+)?$| or \verb"^[-+]?(INF|INFINITY|NAN)$" case insensitively. + Please note that native support for the later varies across programming languages. + \item Flag + \item Character + \item String +\end{itemize} + \subsection{Meta-information lines} File meta-information is included after the \#\# string and must be key=value pairs.