Skip to content

Commit 5322038

Browse files
authored
handle iupac ambiguity codes as well as dup alleles in vardict
1 parent b0633c6 commit 5322038

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

callers/vardict

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@ samp="$5"
1515

1616
vardict-java -G "$genome" -N "$samp" -b "$bam" -v -c 1 -S 2 -E 3 "$peaks" -VS SILENT | \
1717
teststrandbias.R | var2vcf_valid.pl | \
18-
awk -F $"\t" -v 'OFS=\t' '/^#/ || $5 !~ /<dup/' | \
18+
awk -F $"\t" -v 'OFS=\t' '/^#/ || $4 !~ /^(R|Y|M|W|S|K|V|H|D|B|N)$/ && $5 !~ /<dup/' | \
1919
bgzip > "$output_dir/vardict.vcf.gz" && \
2020
tabix -p vcf -f "$output_dir/vardict.vcf.gz"

0 commit comments

Comments
 (0)