1
0
Fork 0
mirror of https://github.com/MillironX/XAM.jl.git synced 2024-12-24 05:38:19 +00:00
XAM.jl/test/runtests.jl
Ciarán O’Mara 48ceb8d20e Add tests for issue #31
Test for expected results as decribed in https://github.com/BioJulia/XAM.jl/issues/31.

# Conflicts:
#	test/runtests.jl
2021-04-01 23:08:30 +11:00

29 lines
559 B
Julia

using Test
using BioGenerics
using FormatSpecimens
using GenomicFeatures
using XAM
using CodecBGZF
import BioAlignments: Alignment, AlignmentAnchor, OP_START, OP_MATCH, OP_DELETE
import BioGenerics.Exceptions: MissingFieldException
import BioSequences: @dna_str, @aa_str
# Generate a random range within `range`.
function randrange(range)
x = rand(range)
y = rand(range)
if x < y
return x:y
else
return y:x
end
end
include("test_sam.jl")
include("test_bam.jl")
include("test_crosscheck.jl")
include("test_issues.jl")