Commit 174ba25c authored by Shamika Mohanan's avatar Shamika Mohanan

Restored for loop

parent 5080e389
......@@ -257,6 +257,7 @@ sub generate_Locus {
my $coord_offset=$gene->get_all_Exons->[0]->slice->start-1;
my $start = $gene->get_all_Exons->[0]->slice->start;
my $end = $gene->get_all_Exons->[0]->slice->end;
foreach my $tran (sort $by_start_end_strand @$transcripts) {
if ($tran->seq_region_start <= $end and $tran->seq_region_end >= $start and @{$tran->get_all_Exons} > 0) {
$g->attribobjs($self->generate_Transcript($tran, $coord_offset));
}
......
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