Skip to content
Snippets Groups Projects
Commit 4cfe6667 authored by Magali Ruffier's avatar Magali Ruffier
Browse files

ENSCORESW-931: if swapping exons because they are identical, transfer supporting features as well

parent 389c8789
No related branches found
No related tags found
3 merge requests!25GFF3 export: unstranded features and using analysis.gff_source,!25GFF3 export: unstranded features and using analysis.gff_source,!25GFF3 export: unstranded features and using analysis.gff_source
......@@ -2255,6 +2255,7 @@ sub swap_exons {
my $arref = $self->{'_trans_exon_array'};
for(my $i = 0; $i < @$arref; $i++) {
if($arref->[$i] == $old_exon) {
$new_exon->add_supporting_features(@{$old_exon->get_all_supporting_features});
$arref->[$i] = $new_exon;
last;
}
......
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