BEGIN {
$DEBUG
=
$ENV
{
'BIOPERLDEBUG'
};
if
( $@ ) {
}
plan
tests
=> 6;
}
require
'dumpvar.pl'
;
ok(1);
my
$map
= new Bio::Map::SimpleMap(
-units
=>
'MB'
,
-type
=>
'oo-121'
);
my
$position
= new Bio::Map::Position(
-map
=>
$map
,
-value
=> 20
);
my
$o_usat
= new Bio::Map::Microsatellite
(
-name
=>
'Chad Super Marker 2'
,
-sequence
=>
'gctgactgatcatatatatatatatatatatatatatatatcgcgatcgtgatttt'
,
-motif
=>
'at'
,
-repeats
=> 15,
-repeat_start_position
=> 12,
-position
=>
$position
,
);
ok(
$o_usat
->get_leading_flank(),
"gctgactgatc"
);
ok(
$o_usat
->get_trailing_flank(),
"cgcgatcgtgatttt"
);
ok(
$o_usat
->motif(),
'at'
);
ok(
$o_usat
->repeats(), 15);
ok(
$o_usat
->repeat_start_position, 12);