Browse Source

style(Manta, MSIsensor): tab

master
YaqingLiu 2 years ago
parent
commit
dccc44f885
2 changed files with 17 additions and 17 deletions
  1. +1
    -1
      tasks/MSIsensor.wdl
  2. +16
    -16
      tasks/Manta.wdl

+ 1
- 1
tasks/MSIsensor.wdl View File

nt=$(nproc) nt=$(nproc)
# MSI # MSI
mkdir -p /cromwell_root/tmp/
mkdir -p /cromwell_root/tmp/
msisensor-pro scan -d ${ref_dir}/${fasta} -o reference.list msisensor-pro scan -d ${ref_dir}/${fasta} -o reference.list
if [ ${normal_bam} ]; then if [ ${normal_bam} ]; then
msisensor-pro msi -d reference.list -n ${normal_bam} -t ${tumor_bam} -o /cromwell_root/tmp/${sample} msisensor-pro msi -d reference.list -n ${normal_bam} -t ${tumor_bam} -o /cromwell_root/tmp/${sample}

+ 16
- 16
tasks/Manta.wdl View File

task Manta { task Manta {
File ref_dir File ref_dir
File fasta
File fasta
File regions File regions
File tumor_bam File tumor_bam
File tumor_bam_index File tumor_bam_index
File? normal_bam File? normal_bam
File? normal_bam_index File? normal_bam_index
String sample
String docker
String cluster_config
String disk_size
String sample
String docker
String cluster_config
String disk_size
command <<<
command <<<
set -o pipefail set -o pipefail
set -e set -e
nt=$(nproc)
nt=$(nproc)
MANTA_INSTALL_PATH="/opt/manta-1.6.0.centos6_x86_64" MANTA_INSTALL_PATH="/opt/manta-1.6.0.centos6_x86_64"
MANTA_ANALYSIS_PATH="/cromwell_root/tmp" MANTA_ANALYSIS_PATH="/cromwell_root/tmp"
mkdir -p $MANTA_ANALYSIS_PATH
mkdir -p $MANTA_ANALYSIS_PATH
cp ${regions} my_baits.bed cp ${regions} my_baits.bed
bgzip -c my_baits.bed > my_baits.bed.gz bgzip -c my_baits.bed > my_baits.bed.gz
else else
cp $MANTA_ANALYSIS_PATH/results/variants/tumorSV.vcf.gz ${sample}.Manta.somaticSV.vcf.gz cp $MANTA_ANALYSIS_PATH/results/variants/tumorSV.vcf.gz ${sample}.Manta.somaticSV.vcf.gz
fi fi
>>>
>>>
runtime {
docker:docker
runtime {
docker:docker
cluster: cluster_config cluster: cluster_config
systemDisk: "cloud_ssd 40" systemDisk: "cloud_ssd 40"
dataDisk: "cloud_ssd " + disk_size + " /cromwell_root/" dataDisk: "cloud_ssd " + disk_size + " /cromwell_root/"
}
}
output {
File somatic_vcf = "${sample}.Manta.somaticSV.vcf.gz"
File? germline_vcf = "${sample}.Manta.germlineSV.vcf.gz"
}
output {
File somatic_vcf = "${sample}.Manta.somaticSV.vcf.gz"
File? germline_vcf = "${sample}.Manta.germlineSV.vcf.gz"
}
} }

Loading…
Cancel
Save