Browse Source

更新 'tasks/CNVkit.wdl'

master
meng 2 years ago
parent
commit
ffc3e90ea0
1 changed files with 4 additions and 2 deletions
  1. +4
    -2
      tasks/CNVkit.wdl

+ 4
- 2
tasks/CNVkit.wdl View File

String? fasta String? fasta
File ref_flat File ref_flat
File bed_file File bed_file
String center_at
File hrd
File tumor_bam File tumor_bam
File tumor_bam_index File tumor_bam_index
File? normal_bam File? normal_bam
nt=$(nproc) nt=$(nproc)
echo ${sample} echo ${sample}
PURITY=`awk -F'\t' '{print $6}' ${hrd} | sed -n '2p'`
center=`awk -v vv=${center_at} 'BEGIN {print log(2/vv)/log(2)}'`
center=`awk -v vv=$PURITY 'BEGIN {print log(2/vv)/log(2)}'`
echo $center echo $center



Loading…
Cancel
Save