fulcrumgenomics / dagr

A scala based DSL and framework for writing and executing bioinformatics pipelines as Directed Acyclic GRaphs
MIT License
69 stars 14 forks source link

Allow callers of Var2VcfValid to turn on printing of a variant's END tag #398

Closed clintval closed 3 years ago

clintval commented 3 years ago

Do you know why historically this was hardcoded to false?

codecov-commenter commented 3 years ago

Codecov Report

Merging #398 (3f9ea4d) into master (f639abd) will not change coverage. The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #398   +/-   ##
=======================================
  Coverage   91.40%   91.40%           
=======================================
  Files          31       31           
  Lines        1187     1187           
  Branches       83       83           
=======================================
  Hits         1085     1085           
  Misses        102      102           
Flag Coverage Δ
unittests 91.40% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.


Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update f639abd...3f9ea4d. Read the comment docs.

clintval commented 3 years ago

To follow up. I have non-exhaustively tested VarDictJava's ability to correctly calculate the END tag on a large collection of simple variants (SNV, MNV, insertion, deletion) and on simple symbolics (INS, INV, DUP). Given that downstream tooling wants the END tag for symbolics, it is a good idea to include it:

• END : end position of the variant described in this record (for use with symbolic alleles)

Source: https://samtools.github.io/hts-specs/VCFv4.2.pdf

Thank you for the merge!