Skip to content

Commit

Permalink
Set off example tabular environment with the usual spacing [formatting]
Browse files Browse the repository at this point in the history
  • Loading branch information
jmarshall committed Sep 30, 2024
1 parent 4cde0e2 commit be23aaa
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions VCFv4.5.tex
Original file line number Diff line number Diff line change
Expand Up @@ -696,6 +696,8 @@ \subsubsection{Genotype fields}
For example, if REF is G, ALT is A,C,T,\verb!<*>! and a genotype only has information about G, C, and \verb!<*>!, one can have LAA=[2,4] and thus LPL will be interpreted as pertaining to the alleles [G, C, \verb!<*>!] and not contain likelihood values for genotypes that involve A or T.
GQ is still the genotype quality, even when the genotype is given against the local alleles.
In the following example, the records with the same POS encode the same information (some columns removed for clarity):
\vspace{0.5em}
\begin{tabular}[l]{llllll}
POS &REF& ALT&FORMAT&sample\\
1&G&A,C,T,\textless*\textgreater& GT:LAA:LAD:LPL& 2/4:2,4:20,30,10:90,80,0,100,110,120\\
Expand All @@ -707,6 +709,7 @@ \subsubsection{Genotype fields}
4&G&A,T,\textless*\textgreater& GT:LAA:LAD:LPL& 0/0::30:0\\
4&G&A,T,\textless*\textgreater& GT:AD:PL& 0/0:30,.,.,.:0,.,.,.,.,.,.,.,.,.\\
\end{tabular}
Due to BCF encoding empty vectors as missing, implementation-defined Number=LA local-allele fields should not be used if distinguishing between zero-length data and missing data is required at REF-only sites.
It is recommended that VCF libraries provide an API in which local allele encoding can be abstracted away from the API consumer and values accessed through their corresponding non-local key.
Expand Down

0 comments on commit be23aaa

Please sign in to comment.