Skip to content

Commit

Permalink
Add another example variant to the VCF header parsing test file.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 223798158
  • Loading branch information
Genomics team in Google Brain authored and Copybara-Service committed Dec 3, 2018
1 parent 03fd2e2 commit eccc33c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion third_party/nucleus/io/vcf_reader_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ TEST(ValidVcfHeaderParsing, MatchesProto) {
header_proto.add_sample_names("Spot");
EXPECT_THAT(reader->Header(), EqualsProto(header_proto));
vector<Variant> actual = as_vector(reader->Iterate());
ASSERT_EQ(1u, actual.size());
ASSERT_EQ(2u, actual.size());
Variant expected;
expected.set_reference_name("Chr1");
expected.set_start(20);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,4 @@
##contig=<ID=chr2,length=81195210,URL=ftp://somewhere.org/assembly.fa,md5=fakemd5,species="Homo sapiens">
#CHROM POS ID REF ALT QUAL FILTER INFO FORMAT Fido Spot
Chr1 21 DogSNP1 A T 0 . . GT:GQ:FU:F2 0/1:.:a1,b1:a,b 0/1:42:c1,d1:c,d
Chr1 23 DogSNP2 G T 0 . . GT:FU 0/1:MarkDePristoWorksAtGoogle 1/1:a

0 comments on commit eccc33c

Please sign in to comment.