Bladeren bron

更新 'tasks/CNVkit.wdl'

master
meng 2 jaren geleden
bovenliggende
commit
093c7d64d4
1 gewijzigde bestanden met toevoegingen van 3 en 0 verwijderingen
  1. +3
    -0
      tasks/CNVkit.wdl

+ 3
- 0
tasks/CNVkit.wdl Bestand weergeven

@@ -37,6 +37,8 @@ task cnvkit{
awk 'NR==FNR {a[$1]=$2;next} NR!=FNR {if(FNR == 1 || (FNR != 1 && $1 in a)) print $0}' ${sample}.trusted_genes.txt ${sample}.ratio_cnv.txt > ${sample}.ratio_cnv.trusted.txt
/root/miniconda2/bin/cnvkit.py call ${sample}.ratio_cnv.trusted.txt -m threshold -o ${sample}.ratio_cnv.call.txt
awk '{if ($6 != 2) print $0}' ${sample}.ratio_cnv.call.txt > ${sample}.ratio_cnv.call.filter.txt
cp ${sample}.ratio_cnv.call.filter.txt ${sample}.ratio_cnv.call.filter.bed

ls ./

@@ -53,6 +55,7 @@ task cnvkit{

output{
File out_file = "${sample}.tar"
File cnv_bed = "${sample}.ratio_cnv.call.filter.bed"
}

}

Laden…
Annuleren
Opslaan