YaqingLiu пре 5 година
родитељ
комит
16a5f7eed6
2 измењених фајлова са 14 додато и 14 уклоњено
  1. +6
    -6
      tasks/TNseq.wdl
  2. +8
    -8
      tasks/corealigner.wdl

+ 6
- 6
tasks/TNseq.wdl Прегледај датотеку

@@ -1,7 +1,7 @@
task TNseq {
File ref_dir
File dbsnp_dir
Array[String] sample
String sample
String SENTIEON_INSTALL_DIR
String SENTIEON_LICENSE
String tumor_name
@@ -10,8 +10,8 @@ task TNseq {
String cluster_config
String fasta
Array[File] corealigner_bam
Array[File] corealigner_bam_index
File corealigner_bam
File corealigner_bam_index
String dbsnp
String disk_size
@@ -36,7 +36,7 @@ task TNseq {
PONcommand=""
fi
${SENTIEON_INSTALL_DIR}/bin/sentieon driver -t $nt -r ${ref_dir}/${fasta} -i ${sep=" -i " corealigner_bam} --algo TNhaplotyper --tumor_sample ${tumor_name} --normal_sample ${normal_name} --dbsnp ${dbsnp_dir}/${dbsnp} PONcommand ${sep=" " sample}.TNseq.TN.vcf
${SENTIEON_INSTALL_DIR}/bin/sentieon driver -t $nt -r ${ref_dir}/${fasta} -i ${corealigner_bam} --algo TNhaplotyper --tumor_sample ${tumor_name} --normal_sample ${normal_name} --dbsnp ${dbsnp_dir}/${dbsnp} PONcommand ${sample}.TNseq.TN.vcf
>>>
@@ -48,8 +48,8 @@ task TNseq {
}
output {
File TNseq_vcf= "${sep=" " sample}.TNseq.TN.vcf"
File TNseq_vcf_index = "${sep=" " sample}.TNseq.TN.vcf.idx"
File TNseq_vcf= "${sample}.TNseq.TN.vcf"
File TNseq_vcf_index = "${sample}.TNseq.TN.vcf.idx"
}
}

+ 8
- 8
tasks/corealigner.wdl Прегледај датотеку

@@ -4,19 +4,19 @@ task corealigner {
File dbsnp_dir
File dbmills_dir
Array[String] sample
String SENTIEON_INSTALL_DIR
String SENTIEON_LICENSE
String docker
String cluster_config
String fasta
String sample
String dbsnp
String db_mills
Array[File] tumor_recaled_bam
Array[File] tumor_recaled_bam_index
Array[File] normal_recaled_bam
Array[File] normal_recaled_bam_index
File tumor_recaled_bam
File tumor_recaled_bam_index
File normal_recaled_bam
File normal_recaled_bam_index
String disk_size
@@ -26,7 +26,7 @@ task corealigner {
export SENTIEON_LICENSE=${SENTIEON_LICENSE}
nt=$(nproc)
#${sep=" " tumor_recaled_bam}
${SENTIEON_INSTALL_DIR}/bin/sentieon driver -r ${ref_dir}/${fasta} -t $nt -i ${sep=" -i " tumor_recaled_bam} -i ${sep=" -i " normal_recaled_bam} --algo Realigner -k ${dbmills_dir}/${db_mills} -k ${dbsnp_dir}/${dbsnp} ${sep=" " sample}_corealigned.bam
${SENTIEON_INSTALL_DIR}/bin/sentieon driver -r ${ref_dir}/${fasta} -t $nt -i ${tumor_recaled_bam} -i ${normal_recaled_bam} --algo Realigner -k ${dbmills_dir}/${db_mills} -k ${dbsnp_dir}/${dbsnp} ${sample}_corealigned.bam
>>>
runtime {
@@ -37,8 +37,8 @@ task corealigner {
}
output {
File corealigner_bam = "${sep=" " sample}_corealigned.bam"
File corealigner_bam_index = "${sep=" " sample}_corealigned.bam.bai"
File corealigner_bam = "${sample}_corealigned.bam"
File corealigner_bam_index = "${sample}_corealigned.bam.bai"
}
}

Loading…
Откажи
Сачувај