Skip to content

Commit

Permalink
FILTER description in VCF header
Browse files Browse the repository at this point in the history
  • Loading branch information
suhrig committed Dec 23, 2022
1 parent f057349 commit ab3cb98
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/convert_fusions_to_vcf.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@ awk -F '\t' '
FILENAME == "/dev/stdin" { contigs[$0] }
FILENAME != "/dev/stdin" && $1 in contigs { print "##contig=<ID="$1",length="$2">" }
' /dev/stdin "$ASSEMBLY.fai" >> "$OUTPUT"
echo '##INFO=<ID=SVTYPE,Number=1,Type=String,Description="Type of structural variant">
echo '##FILTER=<ID=PASS,Description="All filters passed">
##INFO=<ID=SVTYPE,Number=1,Type=String,Description="Type of structural variant">
##INFO=<ID=MATEID,Number=.,Type=String,Description="ID of mate breakends">
##INFO=<ID=GENE_NAME,Number=.,Type=String,Description="Name of gene hit by breakpoint">
##INFO=<ID=GENE_ID,Number=.,Type=String,Description="ID of gene hit by breakpoint">
Expand Down

0 comments on commit ab3cb98

Please sign in to comment.