Skip to content

Commit 3793221

Browse files
committed
improve clinCNV parameters for WGS somatic calling, call dragen CNVs only for WGS samples (no panel of normals made for WES yet)
1 parent 802c915 commit 3793221

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/Pipelines/somatic_dna.php

+4-2
Original file line numberDiff line numberDiff line change
@@ -457,8 +457,10 @@ function($str) { return explode("\t", $str); },
457457
$args[] = "--log ".$dragen_log_file;
458458

459459
$dragen_normal_vcf = $n_folder."/dragen_variant_calls/{$n_id}_dragen.vcf.gz";
460-
if (is_file($dragen_normal_vcf))
460+
461+
if ($sys['type'] == "WGS" && is_file($dragen_normal_vcf))
461462
{
463+
//calc dragen CNVs for WGS samples to compare results to clincnv
462464
$args[] = "-out_cnv ".$dragen_output_cnvs;
463465
$args[] = "-normal_snvs ".$dragen_normal_vcf;
464466
}
@@ -1032,7 +1034,7 @@ function($str) { return explode("\t", $str); },
10321034
if($sys['type'] == "WGS")
10331035
{
10341036
$args_clincnv[] = "-lengthS 9";
1035-
$args_clincnv[] = "-scoreS 10000";
1037+
$args_clincnv[] = "-scoreS 1500";
10361038
$args_clincnv[] = "-filterStep 2";
10371039
$args_clincnv[] = "-clonePenalty 10000";
10381040
}

0 commit comments

Comments
 (0)