nim-abif

Dataset 5865470

This dataset comes from Zenodo record 5865470 and the related paper SangeR: The high-throughput Sanger sequencing analysis pipeline.

Description

This dataset contains Sanger trace files in AB1 format. The traces come from glioma cell lines and patient samples. Each trace covers one hotspot locus used in the SangeR paper. The dataset is useful for checking whether abiscreen can detect known hotspot calls and return wild-type calls for matching controls.

The main loci are:

The downloaded record includes a mutation directory with positive examples and a no_mutation directory with wild-type control traces.

Get the dataset

Use download_zenodo_5865470.sh to download and unpack the Zenodo record into ./datasets/5865470.

bash tests/download_zenodo_5865470.sh datasets/5865470

The output directory must be missing or empty before you run the script. The script downloads the Zenodo archive, checks the nested ZIP files, expands them, and verifies the expected AB1 file counts.

After a successful download, the directory should contain:

datasets/5865470/
+-- mutation/
+-- no_mutation/
+-- *.ab1

The mutation directory contains 12 AB1 files. The no_mutation directory contains 20 AB1 files. The top-level AB1 files are copies from the Zenodo archive and are not needed for the abiscreen example below.

Ground truth

The ground truth table below is transcribed from the supplementary data for the SangeR paper. WT means wild type.

# Sample/Cell line TERT promoter C250 TERT promoter C228 IDH1 R132 IDH1 G105 IDH2 R172 H3F3A K28 H3F3A G34
1 G55 C250T WT WT WT WT WT WT
2 G141 WT C228T WT WT WT WT WT
3 HGBM WT C228T WT WT WT WT WT
4 U-87-MG WT C228T WT WT WT WT WT
5 U-118-MG WT C228T WT WT WT WT WT
6 LN-229 WT C228Y WT WT WT WT WT
7 GBM46x WT C228T WT WT WT WT WT
8 Patient 1 WT WT R132H G105G WT WT WT
9 Patient 2 WT WT R132H WT WT WT WT
10 Patient 3 WT WT WT WT R172M WT WT
11 Patient 4 WT WT WT WT WT R028M WT
12 Patient 5 WT WT WT WT WT WT G34R

Some sample names differ between the supplementary table and the AB1 file names:

Supplementary table AB1 file name fragment
U-87-MG U87 or U-87-MG-ATCC
U-118-MG U118 or U-118
GBM46x GBM46x or GBM046x
HGBM HGBM

The current abiscreen fixture panel is stored in targets.tsv, with reference sequences in refs.fa. It covers TERT promoter C250 and C228, IDH1 R132 and G105, IDH2 R172, and H3F3A K28.

Two calls in the paper table need care when using the downloaded traces as automated tests:

Using abiscreen

Build the command-line tools first:

nimble buildbin

Then run abiscreen on the positive and negative control traces:

bin/abiscreen \
  -i datasets/5865470/mutation \
  -i datasets/5865470/no_mutation \
  -p tests/fixtures/5865470/targets.tsv \
  -r tests/fixtures/5865470/refs.fa \
  -o screen-out \
  --report html,csv,vcf

This creates:

An example HTML report is available at abiscreen-5865470.html.

The dataset-specific regression test is test_abiscreen.nim. It runs abiscreen against the downloaded files when datasets/5865470 is present, then compares the output with 5865470_calls.csv.