Skip to content

Commit

Permalink
put the input in the correct place
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreaGuarracino committed Jan 23, 2024
1 parent f581af3 commit e660954
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pggb
Original file line number Diff line number Diff line change
Expand Up @@ -669,7 +669,7 @@ if [[ $vcf_spec != false ]]; then

#TODO: remove "bcftools annotate" when vcfwave will be bug-free.
# The TYPE info sometimes is wrong/missing and there are variants without the ALT allele.
bcftools sort -T "$temp_dir" | bcftools annotate -x INFO/TYPE "$vcf_decomposed_tmp" | awk '$5 != "."' > "$vcf_decomposed"
bcftools sort -T "$temp_dir" "$vcf_decomposed_tmp" | bcftools annotate -x INFO/TYPE | awk '$5 != "."' > "$vcf_decomposed"
rm "$vcf_decomposed_tmp" "$vcf".gz

bcftools stats "$vcf_decomposed" > "$vcf_decomposed".stats
Expand Down

0 comments on commit e660954

Please sign in to comment.