Skip to content
Snippets Groups Projects
Commit c2875bff authored by Marek Szuba's avatar Marek Szuba
Browse files

Implement AttributeAdaptor::fetch_all_by_RNAProduct()

parent 4a9ca034
No related branches found
No related tags found
2 merge requests!371Add support for mature RNA products of transcripts (e.g. MicroRNA) to the API and schema,!371Add support for mature RNA products of transcripts (e.g. MicroRNA) to the API and schema
......@@ -576,6 +576,22 @@ sub fetch_all_by_Translation {
}
sub fetch_all_by_RNAProduct {
my ($self, $object, $code) = @_;
my $object_id;
if (defined($object)) {
assert_ref($object, 'Bio::EnsEMBL::RNAProduct');
$object_id = $object->dbID();
}
my $results = $self->fetch_all_by_Object($object_id, 'rnaproduct', $code);
return $results;
}
sub fetch_all_by_DnaDnaAlignFeature {
my ($self, $object, $code) = @_;
......
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