Parcourir la source

更新 'tasks/CNVkit.wdl'

master
meng il y a 2 ans
Parent
révision
ffc3e90ea0
1 fichiers modifiés avec 4 ajouts et 2 suppressions
  1. +4
    -2
      tasks/CNVkit.wdl

+ 4
- 2
tasks/CNVkit.wdl Voir le fichier

@@ -5,7 +5,7 @@ task cnvkit{
String? fasta
File ref_flat
File bed_file
String center_at
File hrd
File tumor_bam
File tumor_bam_index
File? normal_bam
@@ -22,8 +22,10 @@ task cnvkit{
nt=$(nproc)
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


Chargement…
Annuler
Enregistrer