Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sample ID and filter update #414

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion VCFv4.2.tex
Original file line number Diff line number Diff line change
Expand Up @@ -141,9 +141,12 @@ \subsubsection{Sample field format}
It is possible to define sample to genome mappings as shown below:
\small
\begin{verbatim}
##SAMPLE=<ID=S_ID,Genomes=G1_ID;G2_ID; ...;GK_ID,Mixture=N1;N2; ...;NK,Description=S1;S2; ...;SK>
##SAMPLE=<ID=S_ID,FILTER=PASS,Genomes=G1_ID;G2_ID; ...;GK_ID,Mixture=N1;N2; ...;NK,Description=S1;S2; ...;SK>
\end{verbatim}
\normalsize
ID is a string that identifies the sample. It comprises of non-whitespace characters and doesn't include the comma (`,') character.
FILTER is a string that has been defined in a \verb!##FILTER! line, except for PASS or `.' which mean that the sample passes or that the filter is missing (respectively).

\subsubsection{Pedigree field format}
It is possible to record relationships between genomes using the following syntax:
\begin{verbatim}
Expand Down
7 changes: 7 additions & 0 deletions VCFv4.3.tex
Original file line number Diff line number Diff line change
Expand Up @@ -240,6 +240,13 @@ \subsubsection{Sample field format}
##SAMPLE=<ID=Sample2,Assay=Exome,Ethnicity=CEU,Disease=Cancer,Tissue=Breast,Description="European patient exome from breast cancer">
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

need to add FILTER to the line itself.

\end{verbatim}}

In the \verb!SAMPLE! line:
\begin{itemize}
\item{ID} is a string that identifies the sample.
It comprises non-whitespace characters and doesn't include the comma (`.') character.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Comma in the parentheses 😄

\item{FILTER} is a string that has been defined in a \verb!##FILTER! line, except for PASS or `.' which mean that the sample passes or that the filter is missing (respectively).
\end{itemize}

\subsubsection{Pedigree field format}
It is possible to record relationships between genomes using the following syntax:
\begin{verbatim}
Expand Down