Skip to content
Snippets Groups Projects
Commit b48e746f authored by Andreas Kusalananda Kähäri's avatar Andreas Kusalananda Kähäri
Browse files

Spelling, and getting rid of unnecessary complications.

parent 044be9f6
No related branches found
No related tags found
No related merge requests found
......@@ -488,7 +488,7 @@ FEATURE:
}
# If a destination slice was provided, convert the coords. If the
# dest_slice starts at 1 and is foward strand, nothing needs doing.
# dest_slice starts at 1 and is forward strand, nothing needs doing.
if ( defined($dest_slice) ) {
if ( $dest_slice_start != 1 || $dest_slice_strand != 1 ) {
if ( $dest_slice_strand == 1 ) {
......@@ -498,7 +498,7 @@ FEATURE:
my $tmp_seq_region_start = $seq_region_start;
$seq_region_start = $dest_slice_end - $seq_region_end + 1;
$seq_region_end = $dest_slice_end - $tmp_seq_region_start + 1;
$seq_region_strand *= -1;
$seq_region_strand = -$seq_region_strand;
}
# Throw away features off the end of the requested slice.
......
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