mirror of
https://github.com/MillironX/SequenceVariation.jl.git
synced 2024-12-22 16:28:17 +00:00
test: Add test for alignment(::Haplotype)
This commit is contained in:
parent
4817c8016a
commit
db170730f0
1 changed files with 7 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue