Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Read unique contig and filter VCF header lines #173

Merged
merged 1 commit into from
Mar 20, 2020

Conversation

karenfeng
Copy link
Collaborator

@karenfeng karenfeng commented Mar 19, 2020

What changes are proposed in this pull request?

Changes VCFHeaderUtils.getUniqueHeaderLines to read not only FILTER and INFO header lines, but also contig and filter lines. During disambiguation, performs a check that contig lines with the same ID have the same length. No such check occurs for FILTER lines.

How is this patch tested?

  • Unit tests
  • Integration tests
  • Manual tests

@karenfeng karenfeng changed the title Read contig and filter VCF header lines Read unique contig and filter VCF header lines Mar 19, 2020
@codecov
Copy link

codecov bot commented Mar 19, 2020

Codecov Report

Merging #173 into master will increase coverage by 0.02%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #173      +/-   ##
==========================================
+ Coverage    92.1%   92.13%   +0.02%     
==========================================
  Files          86       86              
  Lines        4131     4134       +3     
  Branches      389      393       +4     
==========================================
+ Hits         3805     3809       +4     
+ Misses        326      325       -1
Impacted Files Coverage Δ
...main/scala/io/projectglow/vcf/VCFHeaderUtils.scala 100% <ø> (ø) ⬆️
.../main/scala/io/projectglow/vcf/VCFFileFormat.scala 98.23% <100%> (+0.63%) ⬆️

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 72b8286...b0aff6a. Read the comment docs.

Copy link
Contributor

@henrydavidge henrydavidge left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@karenfeng karenfeng merged commit 5291b90 into projectglow:master Mar 20, 2020
@karenfeng karenfeng deleted the get-all-unique-header-lines branch March 20, 2020 00:47
henrydavidge pushed a commit to henrydavidge/glow that referenced this pull request Jun 22, 2020
Signed-off-by: Karen Feng <[email protected]>
Signed-off-by: Henry Davidge <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants