Skip to content
Snippets Groups Projects
Commit 9839abaf authored by William McLaren's avatar William McLaren
Browse files

given sub_Slice coords should be slice-relative, not seq_region-relative

parent e01a5357
No related branches found
No related tags found
3 merge requests!100Fix for sub_Slice when slice->start is <1,!100Fix for sub_Slice when slice->start is <1,!100Fix for sub_Slice when slice->start is <1
......@@ -78,7 +78,7 @@ ok(scalar @$afs == 46, 'get_all_AllelelFeatures_Slice with_coverage');
$afs = $A_J->get_all_differences_StrainSlice($FVB_NJ);
ok(scalar @$afs == 53, 'get_all_differences_StrainSlice');
my $sub_Slice = $A_J->sub_Slice(20380187, 20380197, 1);
my $sub_Slice = $A_J->sub_Slice(2, 12, 1);
ok(length($sub_Slice->seq) == 11, 'sub_Slice length');
my $ref_subseq = $A_J->ref_subseq(20380187, 20380197, 1);
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment