mirror of
https://github.com/MillironX/XAM.jl.git
synced 2024-11-22 17:59:55 +00:00
Update tests to use new AlignmentAnchor structure
This commit is contained in:
parent
9720fd0fcd
commit
f7b9d9fa75
2 changed files with 8 additions and 8 deletions
|
@ -79,10 +79,10 @@
|
|||
@test BAM.flag(record) === UInt16(16)
|
||||
@test BAM.cigar(record) == "27M1D73M"
|
||||
@test BAM.alignment(record) == Alignment([
|
||||
AlignmentAnchor( 0, 1, OP_START),
|
||||
AlignmentAnchor( 27, 28, OP_MATCH),
|
||||
AlignmentAnchor( 27, 29, OP_DELETE),
|
||||
AlignmentAnchor(100, 102, OP_MATCH)])
|
||||
AlignmentAnchor( 0, 1, 0, OP_START),
|
||||
AlignmentAnchor( 27, 28, 27, OP_MATCH),
|
||||
AlignmentAnchor( 27, 29, 28, OP_DELETE),
|
||||
AlignmentAnchor(100, 102, 101, OP_MATCH)])
|
||||
@test record["XG"] == 1
|
||||
@test record["XM"] == 5
|
||||
@test record["XN"] == 0
|
||||
|
|
|
@ -104,10 +104,10 @@
|
|||
@test SAM.flag(record) == 16
|
||||
@test SAM.cigar(record) == "27M1D73M"
|
||||
@test SAM.alignment(record) == Alignment([
|
||||
AlignmentAnchor( 0, 1, OP_START),
|
||||
AlignmentAnchor( 27, 28, OP_MATCH),
|
||||
AlignmentAnchor( 27, 29, OP_DELETE),
|
||||
AlignmentAnchor(100, 102, OP_MATCH)])
|
||||
AlignmentAnchor( 0, 1, 0, OP_START),
|
||||
AlignmentAnchor( 27, 28, 27, OP_MATCH),
|
||||
AlignmentAnchor( 27, 29, 28, OP_DELETE),
|
||||
AlignmentAnchor(100, 102, 101, OP_MATCH)])
|
||||
@test record["XG"] == 1
|
||||
@test record["XM"] == 5
|
||||
@test record["XN"] == 0
|
||||
|
|
Loading…
Reference in a new issue