Skip to content
Snippets Groups Projects
Commit 440b68cb authored by Brian Gibbins's avatar Brian Gibbins
Browse files

add default values to ctg2geneomic

parent 360d2b62
No related branches found
No related tags found
No related merge requests found
......@@ -683,7 +683,9 @@ sub pep2genomic {
=cut
sub cdna2genomic {
my ($self,$start,$end) = @_;
my $self = shift;
my $start = shift || 1;
my $end = shift || $self->length;
if( !defined $end ) {
$self->throw("Must call with start/end");
......
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