2020-01-17 18:24:09 +00:00
|
|
|
using Test
|
2020-02-02 11:50:25 +00:00
|
|
|
|
|
|
|
using BioGenerics
|
|
|
|
using FormatSpecimens
|
2020-02-20 10:19:07 +00:00
|
|
|
using GenomicFeatures
|
|
|
|
using XAM
|
2021-02-28 12:06:17 +00:00
|
|
|
using CodecBGZF
|
2020-02-02 11:50:25 +00:00
|
|
|
|
2020-02-20 10:19:07 +00:00
|
|
|
import BioAlignments: Alignment, AlignmentAnchor, OP_START, OP_MATCH, OP_DELETE
|
2020-02-02 11:50:25 +00:00
|
|
|
import BioGenerics.Exceptions: MissingFieldException
|
2020-01-17 18:24:09 +00:00
|
|
|
import BioSequences: @dna_str, @aa_str
|
2020-02-02 11:44:55 +00:00
|
|
|
|
2020-01-17 18:24:09 +00:00
|
|
|
|
|
|
|
# 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
|
|
|
|
|
|
|
|
|
2020-05-27 11:21:12 +00:00
|
|
|
include("test_sam.jl")
|
|
|
|
include("test_bam.jl")
|
2020-08-13 06:45:51 +00:00
|
|
|
include("test_crosscheck.jl")
|
2021-04-01 02:55:03 +00:00
|
|
|
include("test_issues.jl")
|