From db170730f0069df9141f286f1e10a919dc4545e0 Mon Sep 17 00:00:00 2001 From: "Thomas A. Christensen II" <25492070+MillironX@users.noreply.github.com> Date: Tue, 4 Apr 2023 12:32:13 -0500 Subject: [PATCH] test: Add test for alignment(::Haplotype) --- test/runtests.jl | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/test/runtests.jl b/test/runtests.jl index 5a5ca1b..f9ad9f2 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -32,6 +32,7 @@ using BioAlignments: Alignment, AlignedSequence, PairwiseAlignment, + alignment, cigar using BioSequences: BioSequence, @dna_str, ungap! using BioSymbols: DNA_A @@ -147,6 +148,12 @@ end @test cigar(genotype) == "2D7M1I7M2D8M" end +@testset "HaplotypeAlignment" begin + # This test is broken until we get a way to remove sequence info from alignments + # See: https://github.com/BioJulia/BioAlignments.jl/issues/90 + @test_broken alignment(var) == align(seq1, seq2) +end + @testset "HaplotypeTranslation" begin ref1 = seq2 ref2 = seq3