Commit d6747b12 authored by Alessandro Vullo's avatar Alessandro Vullo
Browse files

Use CDS to detect valid start/stop codons

parent 47cbb7cd
......@@ -396,10 +396,10 @@ sub _check_start_and_stop {
my $coding_start = $trans->cdna_coding_start;
my $coding_end = $trans->cdna_coding_end;
my $cdna_seq = uc($trans->spliced_seq);
my $cds_seq = uc($trans->translateable_seq); # uc($trans->spliced_seq);
my $startseq = substr($cdna_seq,$coding_start-1,3);
my $endseq = substr($cdna_seq,$coding_end-3,3);
my $startseq = substr($cds_seq,$coding_start-1,3);
my $endseq = substr($cds_seq,$coding_end-3,3);
my $has_start = 1;
my $has_end = 1;
......
Markdown is supported
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