|
|
|
|
|
|
|
|
String ref_fasta |
|
|
String ref_fasta |
|
|
File germline_resource |
|
|
File germline_resource |
|
|
File germline_resource_tbi |
|
|
File germline_resource_tbi |
|
|
File? regions |
|
|
|
|
|
Int? interval_padding |
|
|
|
|
|
|
|
|
|
|
|
# excute env |
|
|
# excute env |
|
|
String docker |
|
|
String docker |
|
|
|
|
|
|
|
|
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 |
|
|
fi |
|
|
|
|
|
|
|
|
if [${normal_bam}];then |
|
|
if [${normal_bam}];then |
|
|
|
|
|
|
|
|
fi |
|
|
fi |
|
|
|
|
|
|
|
|
sentieon driver -t $nt -r ${ref_dir}/${ref_fasta} \ |
|
|
sentieon driver -t $nt -r ${ref_dir}/${ref_fasta} \ |
|
|
$INPUT $INTERVAL \ |
|
|
|
|
|
|
|
|
$INPUT \ |
|
|
--algo TNhaplotyper2 $SAMPLE \ |
|
|
--algo TNhaplotyper2 $SAMPLE \ |
|
|
--germline_vcf ${germline_resource} \ |
|
|
--germline_vcf ${germline_resource} \ |
|
|
${sample_id}.TNseq.raw.vcf \ |
|
|
${sample_id}.TNseq.raw.vcf \ |