Variant representation in CellBase¶
Variant representation in CellBase¶
CellBase results may represent variants differently from the original VCF record or laboratory report. This is particularly common for insertions, deletions, complex variants, and structural variants.
The examples in this guide describe how variants appear in CellBase results and explain the meaning of the coordinates, alleles, and variant types that users may encounter.
Several CellBase conventions differ from standard VCF representation:
- Sequence-resolved insertions and deletions do not include a context or anchor nucleotide.
- A missing reference or alternate allele is displayed as
.in the variant lines used throughout this guide. - Small insertions and deletions have the CellBase type
INDEL. - Structural variants are represented using genomic start and end coordinates.
- For symbolic insertions,
endis one position beforestart.
The examples below use VCF-style lines to illustrate the variant representations returned by CellBase. Only fields relevant to each example are shown.
Single-nucleotide variants¶
A single-nucleotide variant changes one nucleotide into another.
For example:
#CHROM POS ID REF ALT QUAL FILTER INFO
22 35490160 . G A . . TYPE=SNV
The reference and alternate alleles each contain one nucleotide, and the variant is assigned the type SNV.
Small deletions¶
CellBase represents a small deletion using only the deleted sequence. It does not retain the anchor nucleotide included in a conventional VCF representation.
For example, this conventional VCF record represents the deletion of CGC using a shared anchor nucleotide, A:
#CHROM POS ID REF ALT QUAL FILTER INFO
8 26332080 . ACGC A . . .
CellBase represents the same variant as:
#CHROM POS ID REF ALT QUAL FILTER INFO
8 26332081 . CGC . . . TYPE=INDEL
In the CellBase representation:
POSidentifies the first deleted nucleotide.REFcontains only the deleted sequence.ALTis empty and is displayed as..- No anchor nucleotide is included.
- The variant type is
INDEL.
Although this is biologically a deletion, CellBase uses the type INDEL for small sequence-resolved deletions.
Small insertions¶
CellBase represents a small insertion using only the inserted sequence. It does not retain the anchor nucleotide included in a conventional VCF representation.
For example, this conventional VCF record represents the insertion of CGC after the shared anchor nucleotide A:
#CHROM POS ID REF ALT QUAL FILTER INFO
8 26332080 . A ACGC . . .
CellBase represents the same variant as:
#CHROM POS ID REF ALT QUAL FILTER INFO
8 26332081 . . CGC . . TYPE=INDEL
In the CellBase representation:
POSidentifies the reference position immediately after the insertion point.REFis empty and is displayed as..ALTcontains only the inserted sequence.- No anchor nucleotide is included.
- The variant type is
INDEL.
Although this is biologically an insertion, CellBase uses the type INDEL for small sequence-resolved insertions.
Multi-nucleotide variants¶
A multi-nucleotide variant replaces two or more adjacent reference nucleotides with the same number of alternate nucleotides.
For example:
#CHROM POS ID REF ALT QUAL FILTER INFO
8 26332081 . TCCC ACGC . . TYPE=MNV
In this representation:
POSidentifies the first affected nucleotide.REFcontains the reference sequence.ALTcontains the replacement sequence.REFandALThave the same length.- The variant type is
MNV.
Delins¶
A delins replaces a reference sequence with an alternate sequence of a different length.
For example:
#CHROM POS ID REF ALT QUAL FILTER INFO
8 26332081 . TCCC AGC . . TYPE=INDEL
In this representation:
POSidentifies the first affected nucleotide.REFcontains the replaced reference sequence.ALTcontains the replacement sequence.REFandALThave different lengths.- The variant type is
INDEL.
Type assignment for sequence-resolved variants¶
CellBase assigns the variant type by assessing the representation of the reference and alternate alleles.
| Reference allele | Alternate allele | CellBase type |
|---|---|---|
| One nucleotide | One different nucleotide | SNV |
| More than one nucleotide | Same-length alternate allele | MNV |
| Present | Empty | INDEL |
| Empty | Present | INDEL |
| More than one nucleotide | Alternate allele of a different length | INDEL |
Variant decomposition¶
During normalisation, CellBase can decompose eligible SNVs, MNVs, and delins into smaller component variants. As a result, a single submitted variant may produce multiple returned annotation records.
For example, the following MNV:
#CHROM POS ID REF ALT QUAL FILTER INFO
8 26332081 . TCCC ACGC . . TYPE=MNV
can be represented as two component SNVs:
#CHROM POS ID REF ALT QUAL FILTER INFO
8 26332081 . T A . . TYPE=SNV
8 26332083 . C G . . TYPE=SNV
Positions at which the reference and alternate alleles are identical are not returned as component variants.
A delins may be decomposed into a mixture of SNVs, insertions, and deletions. For example:
#CHROM POS ID REF ALT QUAL FILTER INFO
8 26332082 . TCCCAG TAGGG . . TYPE=INDEL
can be represented as a deletion and an insertion:
#CHROM POS ID REF ALT QUAL FILTER INFO
8 26332083 . CCC . . . TYPE=INDEL
8 26332087 . . GGG . . TYPE=INDEL
All positions in the decomposed result refer to the reference genome. An insertion does not create additional reference positions for subsequent component variants.
Component variants produced from the same MNV or delins should not automatically be interpreted as unrelated findings. CellBase uses phase-set information to associate components originating from the same decomposed variant. The component records should therefore be reviewed in the context of the original variant.
For more information about decomposition, processing order, and the interpretation of decomposed results, see Variant normalisation.
Structural variants¶
CellBase uses symbolic alternate alleles for copy-number variants and other structural variants whose complete altered sequence is not represented directly.
For symbolic variants, CellBase results expose start and end coordinates. Their interpretation depends on the type of structural variant.
The following sections describe these externally visible coordinates and symbolic alleles.
Copy-number variants¶
Copy-number variants describe a genomic interval with an altered number of copies.
Where the number of copies is known, CellBase uses an alternate allele of the form <CNx>, where x is the copy number.
For example:
#CHROM POS ID REF ALT QUAL FILTER INFO
8 26332081 . . <CN3> . . END=26333231;TYPE=COPY_NUMBER_GAIN;CN=3
In this representation:
startis26332081.endis26333231.- The interval from
starttoendhas the reported copy number. REFis empty and is displayed as..ALTis<CN3>.- The copy number is
3. - The variant type is
COPY_NUMBER_GAIN.
Where the copy number is unavailable, CellBase uses <CNV>:
#CHROM POS ID REF ALT QUAL FILTER INFO
8 26332081 . . <CNV> . . END=26333231;TYPE=COPY_NUMBER
The type assigned to a copy-number variant depends on the available copy-number information:
| Copy-number information | CellBase type |
|---|---|
| Copy number greater than 2 | COPY_NUMBER_GAIN |
| Copy number less than 2 | COPY_NUMBER_LOSS |
| Copy number unavailable | COPY_NUMBER |
This classification is based solely on the reported copy number. It does not account for sex-chromosome ploidy or distinguish between pseudoautosomal and non-pseudoautosomal regions.
If a copy number is available, a result may contain <CNx> even where the source representation used <CNV>.
Imprecise structural-variant coordinates¶
The exact start or end position of a structural variant may be uncertain. Where this information is available, CellBase results can contain confidence intervals around start and end.
The relevant fields are:
ciStartLeft: left boundary of the confidence interval aroundstart.ciStartRight: right boundary of the confidence interval aroundstart.ciEndLeft: left boundary of the confidence interval aroundend.ciEndRight: right boundary of the confidence interval aroundend.
For example:
#CHROM POS ID REF ALT QUAL FILTER INFO
8 26332081 . . <CN3> . . END=26333231;TYPE=COPY_NUMBER_GAIN;CN=3;CISTART=26332051,26332091;CIEND=26333131,26333241
In this example:
startis26332081.- The confidence interval around
startextends from26332051to26332091. endis26333231.- The confidence interval around
endextends from26333131to26333241.
CellBase confidence-interval values are absolute genomic positions. They are not relative offsets from start or end.
For example, a VCF CIPOS value of -30,10 for a variant starting at 26332081 corresponds to the following CellBase values:
ciStartLeft = 26332051
ciStartRight = 26332091
This differs from VCF, where CIPOS and CIEND are normally expressed as offsets relative to POS and END.
Large deletions¶
Large deletions use the symbolic alternate allele <DEL>.
For example:
#CHROM POS ID REF ALT QUAL FILTER INFO
8 26332081 . . <DEL> . . END=26333231;TYPE=DELETION
In this representation:
startidentifies the first deleted nucleotide.endidentifies the last deleted nucleotide.REFis empty and is displayed as..ALTis<DEL>.- The variant type is
DELETION.
Large symbolic deletions use the type DELETION, whereas small sequence-resolved deletions use INDEL.
Large insertions¶
Large insertions use the symbolic alternate allele <INS>.
For example:
#CHROM POS ID REF ALT QUAL FILTER INFO
8 26332081 . . <INS> . . END=26332080;TYPE=INSERTION
In this representation:
startidentifies the reference position immediately after the insertion point.endidentifies the reference position immediately before the insertion point.endis equal tostart - 1.REFis empty and is displayed as..ALTis<INS>.- The variant type is
INSERTION.
Consequently, a symbolic insertion has:
end < start
This is the expected CellBase representation and does not indicate that the coordinates are invalid.
Where sequence from the ends of the inserted segment is available, CellBase may additionally provide:
leftSvInsSeq: sequence from the 5′ end of the insertion.rightSvInsSeq: sequence from the 3′ end of the insertion.
For example:
#CHROM POS ID REF ALT QUAL FILTER INFO
8 26332081 . . <INS> . . END=26332080;TYPE=INSERTION;LEFT_SV_INS_SEQ=CGCGGTCGTGCAACTCATCTG;RIGHT_SV_INS_SEQ=CGGGCACCCACTGGCACTGTG
Large symbolic insertions use the type INSERTION, whereas small sequence-resolved insertions use INDEL.
Inversions¶
Inversions use the symbolic alternate allele <INV>.
For example:
#CHROM POS ID REF ALT QUAL FILTER INFO
8 26332081 . . <INV> . . END=26333231;TYPE=INVERSION
In this representation:
startidentifies the first affected nucleotide.endidentifies the last affected nucleotide.REFis empty and is displayed as..ALTis<INV>.- The variant type is
INVERSION.
Phased variants¶
CellBase may represent phase information for SNVs, small insertions, and small deletions.
For example:
#CHROM POS ID REF ALT QUAL FILTER INFO FORMAT SAMPLE
19 45411941 . T C . . . GT:PS 1|0:45411941
The relevant phase attributes are:
PS: the phase set to which the variant belongs.GT: the phased genotype, when available.
PS is required for CellBase to use the variant in phasing considerations. GT is optional.
Two variants are represented as occurring on the same haplotype when they have the same PS value and their phased genotypes place the alternate allele on the same side.
For example:
#CHROM POS ID REF ALT QUAL FILTER INFO FORMAT SAMPLE
19 45411941 . T C . . . GT:PS 1|0:45411941
19 45411943 . A G . . . GT:PS 1|0:45411941
Both alternate alleles are represented on the same haplotype.
By contrast:
#CHROM POS ID REF ALT QUAL FILTER INFO FORMAT SAMPLE
19 45411941 . T C . . . GT:PS 1|0:45411941
19 45411943 . A G . . . GT:PS 0|1:45411941
The alternate alleles are represented on different haplotypes, despite belonging to the same phase set.
Phase information after decomposition¶
Component variants produced through decomposition may contain PS without GT.
For example:
#CHROM POS ID REF ALT QUAL FILTER INFO FORMAT SAMPLE
8 26332081 . T A . . . PS 26332081
8 26332083 . C G . . . PS 26332081
CellBase does not create a genotype for component variants produced through MNV decomposition. Receivers should therefore not assume that GT will always accompany PS.
Single-sample limitation¶
CellBase considers phase information for one sample only. Where results originate from multi-sample input, the represented phasing information relates only to the first sample considered by CellBase.
Summary of variant representations¶
| Biological variant | Observable representation | CellBase type |
|---|---|---|
| Single-nucleotide variant | One reference and one alternate nucleotide | SNV |
| Small deletion | Deleted sequence in REF; empty ALT |
INDEL |
| Small insertion | Empty REF; inserted sequence in ALT |
INDEL |
| Equal-length multi-nucleotide replacement | Same-length REF and ALT sequences |
MNV |
| Unequal-length sequence replacement | Different-length REF and ALT sequences |
INDEL |
| Copy-number variant with known copy number | Symbolic <CNx> allele with start and end |
COPY_NUMBER_GAIN or COPY_NUMBER_LOSS |
| Copy-number variant with unknown copy number | Symbolic <CNV> allele with start and end |
COPY_NUMBER |
| Large deletion | Symbolic <DEL> allele with start and end |
DELETION |
| Large insertion | Symbolic <INS> allele with end = start - 1 |
INSERTION |
| Inversion | Symbolic <INV> allele with start and end |
INVERSION |
A single submitted MNV or delins may be represented by multiple component variants after decomposition. These components should be interpreted in the context of the original submitted variant and any associated phase-set information.