Skip to content
Snippets Groups Projects

export phenotype ontology accessions

Merged Marek Szuba requested to merge github/fork/ima23/master into master
4 files
+ 10
1
Compare changes
  • Side-by-side
  • Inline
Files
4
@@ -221,6 +221,7 @@ sub fetch_features_by_gene {
unless (defined $gene_ad ) {Catalyst::Exception->throw("Species $species not found.");}
my $phenfeat_ad = $c->model('Registry')->get_adaptor($species,'variation', 'phenotypefeature');
$phenfeat_ad->_include_ontology(1);
my $slice_ad = $c->model('Registry')->get_adaptor($species, "core", "slice");
my $include_assoc = $c->request->parameters->{include_associated};
@@ -269,6 +270,7 @@ sub fetch_features_by_gene {
push @phenotype_features, $record;
}
}
$phenfeat_ad->_include_ontology(0);
return \@phenotype_features;
}