Skip to content

Commit

Permalink
handle iupac ambiguity codes as well as dup alleles in vardict
Browse files Browse the repository at this point in the history
  • Loading branch information
aryarm authored Jun 14, 2022
1 parent b0633c6 commit 5322038
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion callers/vardict
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ samp="$5"

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

0 comments on commit 5322038

Please sign in to comment.