Skip to content

Commit ef13519

Browse files
author
wqiu
committed
bioaln:slice-orfs: remove stop
1 parent e68b715 commit ef13519

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/Bio/BPWrapper/AlnManipulations.pm

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -854,6 +854,9 @@ sub orf_slice { # get alignment slice
854854
}
855855
$slice = $new_slice;
856856
}
857+
858+
# remove stop codon
859+
$slice = $slice->slice(1, $slice->length() - 3);
857860
my $out = Bio::AlignIO -> new(-file => ">$fname", -format => "fasta");
858861
$out->write_aln($slice);
859862
}

0 commit comments

Comments
 (0)