Kaynağa Gözat

feat: bqsr interval

master
YaqingLiu 2 yıl önce
ebeveyn
işleme
10f0ed9f00
2 değiştirilmiş dosya ile 22 ekleme ve 8 silme
  1. +10
    -0
      tasks/BQSR.wdl
  2. +12
    -8
      workflow.wdl

+ 10
- 0
tasks/BQSR.wdl Dosyayı Görüntüle

String cluster_config String cluster_config
String disk_size String disk_size
File? regions
Int? interval_padding
command <<< command <<<
set -o pipefail set -o pipefail
set -e set -e
export SENTIEON_LICENSE=${SENTIEON_LICENSE} export SENTIEON_LICENSE=${SENTIEON_LICENSE}
nt=$(nproc) nt=$(nproc)
if [ ${regions} ]; then
INTERVAL="--interval ${regions} --interval_padding ${interval_padding}"
else
INTERVAL=""
fi
sentieon driver -t $nt \ sentieon driver -t $nt \
-r ${ref_dir}/${fasta} -i ${deduped_bam} \ -r ${ref_dir}/${fasta} -i ${deduped_bam} \
$INTERVAL \
--algo QualCal \ --algo QualCal \
-k ${dbsnp_dir}/${dbsnp} -k ${dbmills_dir}/${db_mills} \ -k ${dbsnp_dir}/${dbsnp} -k ${dbmills_dir}/${db_mills} \
${sample}_recal_data.table ${sample}_recal_data.table

+ 12
- 8
workflow.wdl Dosyayı Görüntüle

call Metrics.Metrics as tumor_Metrics { call Metrics.Metrics as tumor_Metrics {
input: input:
SENTIEON_LICENSE=SENTIEON_LICENSE, SENTIEON_LICENSE=SENTIEON_LICENSE,
sample=sample_id + '.T',
fasta=fasta, fasta=fasta,
ref_dir=ref_dir, ref_dir=ref_dir,
sorted_bam=tumor_mapping.sorted_bam, sorted_bam=tumor_mapping.sorted_bam,
sorted_bam_index=tumor_mapping.sorted_bam_index, sorted_bam_index=tumor_mapping.sorted_bam_index,
sample=sample_id + '.T',
docker=sentieon_docker, docker=sentieon_docker,
disk_size=disk_size, disk_size=disk_size,
cluster_config=cluster_16cpu_32gb cluster_config=cluster_16cpu_32gb
call Dedup.Dedup as tumor_Dedup { call Dedup.Dedup as tumor_Dedup {
input: input:
SENTIEON_LICENSE=SENTIEON_LICENSE, SENTIEON_LICENSE=SENTIEON_LICENSE,
sample=sample_id + '.T',
sorted_bam=tumor_mapping.sorted_bam, sorted_bam=tumor_mapping.sorted_bam,
sorted_bam_index=tumor_mapping.sorted_bam_index, sorted_bam_index=tumor_mapping.sorted_bam_index,
sample=sample_id + '.T',
docker=sentieon_docker, docker=sentieon_docker,
disk_size=disk_size, disk_size=disk_size,
cluster_config=cluster_16cpu_32gb cluster_config=cluster_16cpu_32gb
call deduped_Metrics.deduped_Metrics as tumor_deduped_Metrics { call deduped_Metrics.deduped_Metrics as tumor_deduped_Metrics {
input: input:
SENTIEON_LICENSE=SENTIEON_LICENSE, SENTIEON_LICENSE=SENTIEON_LICENSE,
sample=sample_id + '.T',
fasta=fasta, fasta=fasta,
ref_dir=ref_dir, ref_dir=ref_dir,
deduped_bam=tumor_Dedup.deduped_bam, deduped_bam=tumor_Dedup.deduped_bam,
deduped_bam_index=tumor_Dedup.deduped_bam_index, deduped_bam_index=tumor_Dedup.deduped_bam_index,
sample=sample_id + '.T',
docker=sentieon_docker, docker=sentieon_docker,
disk_size=disk_size, disk_size=disk_size,
cluster_config=cluster_16cpu_32gb cluster_config=cluster_16cpu_32gb
call BQSR.BQSR as tumor_BQSR { call BQSR.BQSR as tumor_BQSR {
input: input:
SENTIEON_LICENSE=SENTIEON_LICENSE, SENTIEON_LICENSE=SENTIEON_LICENSE,
sample=sample_id + '.T',
fasta=fasta, fasta=fasta,
ref_dir=ref_dir, ref_dir=ref_dir,
deduped_bam=tumor_Dedup.deduped_bam, deduped_bam=tumor_Dedup.deduped_bam,
dbmills_dir=dbmills_dir, dbmills_dir=dbmills_dir,
dbsnp=dbsnp, dbsnp=dbsnp,
dbsnp_dir=dbsnp_dir, dbsnp_dir=dbsnp_dir,
sample=sample_id + '.T',
regions=regions,
interval_padding=interval_padding,
docker=sentieon_docker, docker=sentieon_docker,
disk_size=disk_size, disk_size=disk_size,
cluster_config=cluster_16cpu_32gb cluster_config=cluster_16cpu_32gb
call Metrics.Metrics as normal_Metrics { call Metrics.Metrics as normal_Metrics {
input: input:
SENTIEON_LICENSE=SENTIEON_LICENSE, SENTIEON_LICENSE=SENTIEON_LICENSE,
sample=sample_id + '.N',
fasta=fasta, fasta=fasta,
ref_dir=ref_dir, ref_dir=ref_dir,
sorted_bam=normal_mapping.sorted_bam, sorted_bam=normal_mapping.sorted_bam,
sorted_bam_index=normal_mapping.sorted_bam_index, sorted_bam_index=normal_mapping.sorted_bam_index,
sample=sample_id + '.N',
regions=regions, regions=regions,
docker=sentieon_docker, docker=sentieon_docker,
disk_size=disk_size, disk_size=disk_size,
call Dedup.Dedup as normal_Dedup { call Dedup.Dedup as normal_Dedup {
input: input:
SENTIEON_LICENSE=SENTIEON_LICENSE, SENTIEON_LICENSE=SENTIEON_LICENSE,
sample=sample_id + '.N',
sorted_bam=normal_mapping.sorted_bam, sorted_bam=normal_mapping.sorted_bam,
sorted_bam_index=normal_mapping.sorted_bam_index, sorted_bam_index=normal_mapping.sorted_bam_index,
sample=sample_id + '.N',
docker=sentieon_docker, docker=sentieon_docker,
disk_size=disk_size, disk_size=disk_size,
cluster_config=cluster_16cpu_32gb cluster_config=cluster_16cpu_32gb
call deduped_Metrics.deduped_Metrics as normal_deduped_Metrics { call deduped_Metrics.deduped_Metrics as normal_deduped_Metrics {
input: input:
SENTIEON_LICENSE=SENTIEON_LICENSE, SENTIEON_LICENSE=SENTIEON_LICENSE,
sample=sample_id + '.N',
fasta=fasta, fasta=fasta,
ref_dir=ref_dir, ref_dir=ref_dir,
deduped_bam=normal_Dedup.deduped_bam, deduped_bam=normal_Dedup.deduped_bam,
deduped_bam_index=normal_Dedup.deduped_bam_index, deduped_bam_index=normal_Dedup.deduped_bam_index,
sample=sample_id + '.N',
regions=regions, regions=regions,
docker=sentieon_docker, docker=sentieon_docker,
disk_size=disk_size, disk_size=disk_size,
call BQSR.BQSR as normal_BQSR { call BQSR.BQSR as normal_BQSR {
input: input:
SENTIEON_LICENSE=SENTIEON_LICENSE, SENTIEON_LICENSE=SENTIEON_LICENSE,
sample=sample_id + '.N',
fasta=fasta, fasta=fasta,
ref_dir=ref_dir, ref_dir=ref_dir,
deduped_bam=normal_Dedup.deduped_bam, deduped_bam=normal_Dedup.deduped_bam,
dbmills_dir=dbmills_dir, dbmills_dir=dbmills_dir,
dbsnp=dbsnp, dbsnp=dbsnp,
dbsnp_dir=dbsnp_dir, dbsnp_dir=dbsnp_dir,
sample=sample_id + '.N',
regions=regions,
interval_padding=interval_padding,
docker=sentieon_docker, docker=sentieon_docker,
disk_size=disk_size, disk_size=disk_size,
cluster_config=cluster_16cpu_32gb cluster_config=cluster_16cpu_32gb

Yükleniyor…
İptal
Kaydet