Skip to content
Snippets Groups Projects
Commit b063b7be authored by Glenn Proctor's avatar Glenn Proctor
Browse files

Added fetch_all_by_factor_name() as a temporary workaround for some factors being duplicated.

parent b939efd6
No related branches found
No related tags found
No related merge requests found
......@@ -312,6 +312,26 @@ sub fetch_all_by_factor {
return $self->generic_fetch("rf.regulatory_factor_id = " . $factor->dbID());
}
=head2 fetch_all_by_factor_name
Arg [1] : String
the name of the regulatory factor to fetch by
Example : $rm = $rma->fetch_all_by_factor_name($factor_name);
Description: Obtains all regulatory features that correspond to a
particular regulatory factor
Returntype : listREF of Bio::EnsEMBL::RegulatoryFeatures
Exceptions : none
Caller : general
Status : At Risk
: under development
=cut
sub fetch_all_by_factor {
my( $self, $name) = @_;
return $self->generic_fetch("rm.name = " . $name);
}
=head2 store
......
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