-
Notifications
You must be signed in to change notification settings - Fork 1
/
call-indels.sh
31 lines (25 loc) · 974 Bytes
/
call-indels.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#!/bin/bash
echo "*** calling indels ***"
source path_file.sh # path to the GATK (somatic indel detector) and reference genome
if [ $5 -eg RECALIBRATE ]
then
"$JAVA" -Xmx8g -jar "$SomaticIndelDetector" -R "$REF" -T SomaticIndelDetector -mnr 50000 \
-minConsensusFraction 0.7 \
-minCoverage 6 \
-minNormalCoverage 4 \
-o $3/SI-$4.vcf \
-verbose $3/SI-$4.txt \
-I:normal $1/out.recal.quality.bam \
-I:tumor $2/out.recal.quality.bam \
--validation_strictness SILENT -U
else
"$JAVA" -Xmx8g -jar "$SomaticIndelDetector" -R "$REF" -T SomaticIndelDetector -mnr 50000 \
-minConsensusFraction 0.7 \
-minCoverage 6 \
-minNormalCoverage 4 \
-o $3/SI-$4.vcf \
-verbose $3/SI-$4.txt \
-I:normal $1/out.nonrecal.quality.bam \
-I:tumor $2/out.nonrecal.quality.bam \
--validation_strictness SILENT -U
fi