@@ -115,7 +115,7 @@ serially is not the most effective approach.
115
115
```
116
116
N_SHARDS=$(nproc) # Or change to the number of cores you want to use
117
117
CAPTURE_BED=agilent_sureselect_human_all_exon_v5_b37_targets.bed
118
- VERSION=1.7 .0
118
+ VERSION=1.8 .0
119
119
120
120
declare -a trio=(HG002 HG003 HG004)
121
121
for SAMPLE in "${trio[@]}"
@@ -226,12 +226,12 @@ The output is:
226
226
```
227
227
Checking: /data/deepvariant.cohort.vcf.gz
228
228
Family: [Sample_Diag-excap51-HG003-EEogPU + Sample_Diag-excap51-HG004-EEogPU] -> [Sample_Diag-excap51-HG002-EEogPU]
229
- Concordance Sample_Diag-excap51-HG002-EEogPU: F:58162/58675 (99.13 %) M:58574/58690 (99.80 %) F+M:57946/58580 (98.92 %)
229
+ Concordance Sample_Diag-excap51-HG002-EEogPU: F:46502/46866 (99.22 %) M:46737/46863 (99.73 %) F+M:46291/46785 (98.94 %)
230
230
Sample Sample_Diag-excap51-HG002-EEogPU has less than 99.0 concordance with both parents. Check for incorrect pedigree or sample mislabelling.
231
- 828/58912 (1.41 %) records did not conform to expected call ploidy
232
- 58818/58912 (99.84 %) records were variant in at least 1 family member and checked for Mendelian constraints
233
- 187/58818 (0.32 %) records had indeterminate consistency status due to incomplete calls
234
- 644/58818 (1.09 %) records contained a violation of Mendelian constraints
231
+ 584/47001 (1.24 %) records did not conform to expected call ploidy
232
+ 46959/47001 (99.91 %) records were variant in at least 1 family member and checked for Mendelian constraints
233
+ 129/46959 (0.27 %) records had indeterminate consistency status due to incomplete calls
234
+ 494/46959 (1.05 %) records contained a violation of Mendelian constraints
235
235
```
236
236
237
237
From this report, we know that there is a 1.10% Mendelian violation rate, and
258
258
google/deepvariant:${VERSION} \
259
259
bcftools stats -f PASS \
260
260
${DIR}/${SAMPLE}.vcf.gz \
261
- > ${DIR}/${SAMPLE}.stats
261
+ >> ${DIR}/${SAMPLE}.stats
262
262
done
263
263
```
264
264
265
265
| Sample | [ 3] ts | [ 4] tv | [ 5] ts/tv | [ 6] ts (1st | [ 7] tv (1st | [ 8] ts/tv (1st |
266
266
: : : : : ALT) : ALT) : ALT) :
267
267
| ------ | ----- | ----- | -------- | ---------- | ---------- | ------------- |
268
- | HG002 | 29934 | 11684 | 2.56 | 29919 | 11665 | 2.56 |
269
- | HG003 | 29808 | 11749 | 2.54 | 29795 | 11727 | 2.54 |
270
- | HG004 | 30039 | 11850 | 2.53 | 30027 | 11833 | 2.54 |
268
+ | HG002 | 29955 | 11693 | 2.56 | 29942 | 11673 | 2.57 |
269
+ | HG003 | 29852 | 11769 | 2.54 | 29842 | 11746 | 2.54 |
270
+ | HG004 | 30048 | 11838 | 2.54 | 30037 | 11821 | 2.54 |
271
271
272
272
If you want to restrict to the truth BED files, use this command:
273
273
@@ -290,9 +290,9 @@ Which resulted in this table:
290
290
| Sample | [ 3] ts | [ 4] tv | [ 5] ts/tv | [ 6] ts (1st | [ 7] tv (1st | [ 8] ts/tv (1st |
291
291
: : : : : ALT) : ALT) : ALT) :
292
292
| ------ | ----- | ----- | -------- | ---------- | ---------- | ------------- |
293
- | HG002 | 27704 | 10546 | 2.63 | 27696 | 10533 | 2.63 |
294
- | HG003 | 27356 | 10514 | 2.60 | 27351 | 10502 | 2.60 |
295
- | HG004 | 27491 | 10604 | 2.59 | 27484 | 10593 | 2.59 |
293
+ | HG002 | 27716 | 10549 | 2.63 | 27708 | 10536 | 2.63 |
294
+ | HG003 | 27382 | 10527 | 2.60 | 27378 | 10515 | 2.60 |
295
+ | HG004 | 27503 | 10607 | 2.59 | 27496 | 10596 | 2.59 |
296
296
297
297
### Rtg vcfstats
298
298
@@ -314,69 +314,69 @@ HG002:
314
314
315
315
```
316
316
Location : /data/HG002.vcf.gz
317
- Failed Filters : 14598
318
- Passed Filters : 45258
319
- SNPs : 41584
317
+ Failed Filters : 14566
318
+ Passed Filters : 45290
319
+ SNPs : 41615
320
320
MNPs : 0
321
- Insertions : 1867
322
- Deletions : 1783
323
- Indels : 22
324
- Same as reference : 2
325
- SNP Transitions/Transversions: 2.56 (41838/16338 )
326
- Total Het/Hom ratio : 1.49 (27087/18169 )
327
- SNP Het/Hom ratio : 1.51 (25017/16567 )
321
+ Insertions : 1874
322
+ Deletions : 1779
323
+ Indels : 21
324
+ Same as reference : 1
325
+ SNP Transitions/Transversions: 2.56 (41843/16345 )
326
+ Total Het/Hom ratio : 1.49 (27130/18159 )
327
+ SNP Het/Hom ratio : 1.51 (25066/16549 )
328
328
MNP Het/Hom ratio : - (0/0)
329
- Insertion Het/Hom ratio : 1.08 (969/898 )
330
- Deletion Het/Hom ratio : 1.53 (1079/704 )
331
- Indel Het/Hom ratio : - (22 /0)
332
- Insertion/Deletion ratio : 1.05 (1867/1783 )
333
- Indel/SNP+MNP ratio : 0.09 (3672/41584 )
329
+ Insertion Het/Hom ratio : 1.07 (967/907 )
330
+ Deletion Het/Hom ratio : 1.53 (1076/703 )
331
+ Indel Het/Hom ratio : - (21 /0)
332
+ Insertion/Deletion ratio : 1.05 (1874/1779 )
333
+ Indel/SNP+MNP ratio : 0.09 (3674/41615 )
334
334
```
335
335
336
336
HG003:
337
337
338
338
```
339
339
Location : /data/HG003.vcf.gz
340
- Failed Filters : 15423
341
- Passed Filters : 45150
342
- SNPs : 41519
340
+ Failed Filters : 15383
341
+ Passed Filters : 45190
342
+ SNPs : 41585
343
343
MNPs : 0
344
- Insertions : 1851
345
- Deletions : 1752
346
- Indels : 21
347
- Same as reference : 7
348
- SNP Transitions/Transversions: 2.52 (41645/16537 )
349
- Total Het/Hom ratio : 1.48 (26923/18220 )
350
- SNP Het/Hom ratio : 1.50 (24879/16640 )
344
+ Insertions : 1843
345
+ Deletions : 1743
346
+ Indels : 18
347
+ Same as reference : 1
348
+ SNP Transitions/Transversions: 2.52 (41678/16558 )
349
+ Total Het/Hom ratio : 1.48 (26984/18205 )
350
+ SNP Het/Hom ratio : 1.50 (24960/16625 )
351
351
MNP Het/Hom ratio : - (0/0)
352
- Insertion Het/Hom ratio : 1.11 (974/877 )
353
- Deletion Het/Hom ratio : 1.49 (1049/703 )
354
- Indel Het/Hom ratio : - (21 /0)
355
- Insertion/Deletion ratio : 1.06 (1851/1752 )
356
- Indel/SNP+MNP ratio : 0.09 (3624/41519 )
352
+ Insertion Het/Hom ratio : 1.09 (962/881 )
353
+ Deletion Het/Hom ratio : 1.49 (1044/699 )
354
+ Indel Het/Hom ratio : - (18 /0)
355
+ Insertion/Deletion ratio : 1.06 (1843/1743 )
356
+ Indel/SNP+MNP ratio : 0.09 (3604/41585 )
357
357
```
358
358
359
359
HG004:
360
360
361
361
```
362
362
Location : /data/HG004.vcf.gz
363
- Failed Filters : 15166
364
- Passed Filters : 45515
365
- SNPs : 41857
363
+ Failed Filters : 15176
364
+ Passed Filters : 45505
365
+ SNPs : 41856
366
366
MNPs : 0
367
- Insertions : 1859
368
- Deletions : 1778
369
- Indels : 20
367
+ Insertions : 1860
368
+ Deletions : 1766
369
+ Indels : 22
370
370
Same as reference : 1
371
- SNP Transitions/Transversions: 2.55 (41671/16373 )
372
- Total Het/Hom ratio : 1.57 (27794/17720 )
373
- SNP Het/Hom ratio : 1.59 (25691/16166 )
371
+ SNP Transitions/Transversions: 2.55 (41681/16348 )
372
+ Total Het/Hom ratio : 1.57 (27795/17709 )
373
+ SNP Het/Hom ratio : 1.59 (25703/16153 )
374
374
MNP Het/Hom ratio : - (0/0)
375
- Insertion Het/Hom ratio : 1.12 (983/876 )
376
- Deletion Het/Hom ratio : 1.62 (1100/678 )
377
- Indel Het/Hom ratio : - (20 /0)
378
- Insertion/Deletion ratio : 1.05 (1859/1778 )
379
- Indel/SNP+MNP ratio : 0.09 (3657/41857 )
375
+ Insertion Het/Hom ratio : 1.11 (980/880 )
376
+ Deletion Het/Hom ratio : 1.61 (1090/676 )
377
+ Indel Het/Hom ratio : - (22 /0)
378
+ Insertion/Deletion ratio : 1.05 (1860/1766 )
379
+ Indel/SNP+MNP ratio : 0.09 (3648/41856 )
380
380
```
381
381
382
382
### Run hap.py to calculate the accuracy of DeepVariant generated call sets
@@ -405,6 +405,6 @@ Accuracy F1 scores:
405
405
406
406
Sample | Indel | SNP
407
407
------ | -------- | --------
408
- HG002 | 0.974074 | 0.993897
409
- HG003 | 0.972967 | 0.993939
410
- HG004 | 0.972967 | 0.993939
408
+ HG002 | 0.974037 | 0.994146
409
+ HG003 | 0.968448 | 0.993913
410
+ HG004 | 0.972569 | 0.994189
0 commit comments