Skip to content

Commit

Permalink
Added note about languages native support
Browse files Browse the repository at this point in the history
  • Loading branch information
Cristina Yenyxe Gonzalez Garcia authored Jul 24, 2019
1 parent 0cf3ecf commit 38bd134
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions VCFv4.3.tex
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 38bd134

Please sign in to comment.