Browse Source

fix(CNVkit): purity

master
YaqingLiu 2 years ago
parent
commit
1e9f7ae494
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      tasks/CNVkit.wdl

+ 3
- 3
tasks/CNVkit.wdl View File

@@ -51,10 +51,10 @@ task CNVkit {
# Check noise
cnvkit.py metrics ${sample}.cnr -s ${sample}.cns > ${sample}.stats
# Derive each segment's absolute integer copy number, ploidy must be int value
purity=`awk -F'\t' '{print $6}' ${hrd} | sed -n '2p'`
cnvkit.py call ${sample}.cns -y -m clonal --purity ${purity} -o ${sample}.call.cns
PURITY=`awk -F'\t' '{print $6}' ${hrd} | sed -n '2p'`
cnvkit.py call ${sample}.cns -y -m clonal --purity $PURITY -o ${sample}.call.cns
# Plot the results
cnvkit.py scatter ${sample}.cnr -s ${sample}.call.cns -o ${sample}.scatter.pdf

Loading…
Cancel
Save