ensembl-hive  2.7.0
Bio::EnsEMBL::DBSQL::ExonAdaptor Class Reference
+ Inheritance diagram for Bio::EnsEMBL::DBSQL::ExonAdaptor:

Public Member Functions

protected _tables ()
 
protected _columns ()
 
protected _final_clause ()
 
public fetch_all ()
 
public Bio::EnsEMBL::Exon fetch_by_stable_id ()
 
public Bio::EnsEMBL::Exon fetch_by_stable_id_version ()
 
public Listref fetch_all_versions_by_stable_id ()
 
public Listref fetch_all_by_Transcript ()
 
public void store ()
 
public void remove ()
 
public List list_dbIDs ()
 
public List list_stable_ids ()
 
protected _objs_from_sth ()
 
- Public Member Functions inherited from Bio::EnsEMBL::DBSQL::BaseFeatureAdaptor
public Bio::EnsEMBL::BaseFeatureAdaptor new ()
 
public Boolean start_equals_end ()
 
public void clear_cache ()
 
protected _clear_slice_feature_cache ()
 
protected Bio::EnsEMBL::Utils::Cache _slice_feature_cache ()
 
public Listref fetch_all_by_Slice ()
 
public Bio::EnsEMBL::Utils::Iterator fetch_Iterator_by_Slice_method ()
 
public Bio::EnsEMBL::Utils::Iterator fetch_Iterator_by_Slice ()
 
public Listref fetch_all_by_Slice_and_score ()
 
public Listref fetch_all_by_Slice_constraint ()
 
public Listref fetch_all_by_logic_name ()
 
public Listref fetch_all_by_stable_id_list ()
 
protected _create_feature ()
 
protected _create_feature_fast ()
 
public Int count_by_Slice_constraint ()
 
protected ArrayRef _get_and_filter_Slice_projections ()
 
protected ArrayRef _generate_feature_bounds ()
 
protected Listref _get_by_Slice ()
 
protected _slice_fetch ()
 
public get_seq_region_id_external ()
 
public get_seq_region_id_internal ()
 
protected _pre_store ()
 
protected _pre_store_userdata ()
 
protected _check_start_end_strand ()
 
protected _remap ()
 
protected _seq_region_boundary_from_db ()
 
public void store ()
 
public void remove ()
 
public void remove_by_Slice ()
 
protected _max_feature_length ()
 
protected _list_seq_region_ids ()
 
public remove_by_analysis_id ()
 
public remove_by_feature_id ()
 
public Bio::EnsEMBL::Feature fetch_nearest_by_Feature ()
 
public Listref fetch_all_by_outward_search ()
 
public Listref fetch_all_nearest_by_Feature ()
 
public Listref select_nearest ()
 
protected Int _compute_nearest_end ()
 
protected Int _compute_prime_distance ()
 
protected Int _compute_midpoint ()
 
protected _discard_excess_features_from_matrix ()
 
- Public Member Functions inherited from Bio::EnsEMBL::DBSQL::BaseAdaptor
public Bio::EnsEMBL::DBSQL::BaseAdaptor new ()
 
public DBI::StatementHandle prepare ()
 
public Bio::EnsEMBL::DBSQL::DBAdaptor db ()
 
public Bio::EnsEMBL::DBSQL::DBConnection dbc ()
 
public Boolean is_multispecies ()
 
public Int species_id ()
 
protected _list_dbIDs ()
 
protected _straight_join ()
 
protected _can_straight_join ()
 
public Listref bind_param_generic_fetch ()
 
protected _bind_param_generic_fetch ()
 
public String generate_in_constraint ()
 
public Listref generic_fetch ()
 
public Int generic_count ()
 
protected _generate_sql ()
 
public Bio::EnsEMBL::Feature fetch_by_dbID ()
 
protected _uncached_fetch_by_dbID ()
 
public Listref fetch_all_by_dbID_list ()
 
protected _uncached_fetch_all_by_dbID_list ()
 
protected ArrayRef _uncached_fetch_all_by_id_list ()
 
public fetch_all ()
 
public Scalar last_insert_id ()
 
public insert_ignore_clause ()
 
protected Bio::EnsEMBL::DBSQL::Support::BaseCache _id_cache ()
 
protected Boolean _no_id_cache ()
 
public Boolean ignore_cache_override ()
 
public Int schema_version ()
 
protected _tables ()
 
protected _columns ()
 
protected _default_where_clause ()
 
protected _left_join ()
 
protected _final_clause ()
 
protected _objs_from_sth ()
 
protected _build_id_cache ()
 
protected _logic_name_to_constraint ()
 

Detailed Description

Synopsis

my $exon_adaptor = $registry->get_adaptor( 'Human', 'Core', 'Exon' );
my $exon = $exon_adaptor->fetch_by_dbID($dbID);

Description

The ExonAdaptor is responsible for retrieving and storing Exon objects
from an Ensembl database.  Most of the ExonAdaptor functionality is
inherited from the Bio::EnsEMBL::DBSQL::BaseFeatureAdaptor class.

Definition at line 22 of file ExonAdaptor.pm.

Member Function Documentation

◆ _columns()

protected Bio::EnsEMBL::DBSQL::ExonAdaptor::_columns ( )

Undocumented method

Code:
click to view

◆ _final_clause()

protected Bio::EnsEMBL::DBSQL::ExonAdaptor::_final_clause ( )

Undocumented method

Code:
click to view

◆ _objs_from_sth()

protected Bio::EnsEMBL::DBSQL::ExonAdaptor::_objs_from_sth ( )

Undocumented method

Code:
click to view

◆ _tables()

protected Bio::EnsEMBL::DBSQL::ExonAdaptor::_tables ( )

Undocumented method

Code:
click to view

◆ fetch_all()

public Bio::EnsEMBL::DBSQL::ExonAdaptor::fetch_all ( )

Undocumented method

Code:
click to view

◆ fetch_all_by_Transcript()

public Listref Bio::EnsEMBL::DBSQL::ExonAdaptor::fetch_all_by_Transcript ( )
  Arg [1]    : Bio::EnsEMBL::Transcript $transcript
  Example    :
none
  Description: Retrieves all Exons for the Transcript in 5-3 order
  Returntype : listref Bio::EnsEMBL::Exon on Transcript slice 
  Exceptions : throws if transcript has no slice
  Caller     : Transcript->get_all_Exons()
  Status     : Stable
 
Code:
click to view

◆ fetch_all_versions_by_stable_id()

public Listref Bio::EnsEMBL::DBSQL::ExonAdaptor::fetch_all_versions_by_stable_id ( )
  Arg [1]     : String $stable_id 
                The stable ID of the exon to retrieve
  Example     :
my $exon = $exon_adaptor->fetch_all_version_by_stable_id
('ENSE00000309301');
  Description : Similar to fetch_by_stable_id, but retrieves all versions of an
                exon stored in the database.
  Returntype  : listref of Bio::EnsEMBL::Exon objects
  Exceptions  : if we cant get the gene in given coord system
  Caller      : general
  Status      : At Risk
 
Code:
click to view

◆ fetch_by_stable_id()

public Bio::EnsEMBL::Exon Bio::EnsEMBL::DBSQL::ExonAdaptor::fetch_by_stable_id ( )
  Arg [1]    : string $stable_id
               the stable id of the exon to retrieve
  Example    :
$exon = $exon_adaptor->fetch_by_stable_id('ENSE0000988221');
  Description: Retrieves an Exon from the database via its stable id
  Returntype : Bio::EnsEMBL::Exon in native coordinates.
  Exceptions : none
  Caller     : general
  Status     : Stable
 
Code:
click to view

◆ fetch_by_stable_id_version()

public Bio::EnsEMBL::Exon Bio::EnsEMBL::DBSQL::ExonAdaptor::fetch_by_stable_id_version ( )
  Arg [1]    : String $id 
               The stable ID of the exon to retrieve
  Arg [2]    : Integer $version
               The version of the stable_id to retrieve
  Example    :
$exon = $exon_adaptor->fetch_by_stable_id('ENSE0000988221', 3);
  Description: Retrieves an exon object from the database via its stable id and version.
               The exon will be retrieved in its native coordinate system (i.e.
               in the coordinate system it is stored in the database). It may
               be converted to a different coordinate system through a call to
               transform() or transfer(). If the exon is not found
               undef is returned instead.
  Returntype : Bio::EnsEMBL::Exon or undef
  Exceptions : if we cant get the exon in given coord system
  Caller     : general
  Status     : Stable
 
Code:
click to view

◆ list_dbIDs()

public List Bio::EnsEMBL::DBSQL::ExonAdaptor::list_dbIDs ( )
  Arg [1]    : none
  Example    :
@exon_ids = @{$exon_adaptor->list_dbIDs()};
  Description: Gets an array of internal ids for all exons in the current db
  Arg[1]     : <optional> int. not 0 for the ids to be sorted by the seq_region.
  Returntype : list of ints
  Exceptions : none
  Caller     : ?
  Status     : Stable
 
Code:
click to view

◆ list_stable_ids()

public List Bio::EnsEMBL::DBSQL::ExonAdaptor::list_stable_ids ( )
  Arg [1]    : none
  Example    :
@stable_exon_ids = @{$exon_adaptor->list_stable_dbIDs()};
  Description: Gets an array of stable ids for all exons in the current db
  Returntype : list of ints
  Exceptions : none
  Caller     : ?
  Status     : Stable
 
Code:
click to view

◆ remove()

public void Bio::EnsEMBL::DBSQL::ExonAdaptor::remove ( )
  Arg [1]    : Bio::EnsEMBL::Exon $exon
               the exon to remove from the database
  Example    :
$exon_adaptor->remove($exon);
  Description: Removes an exon from the database.  This method is generally
               called by the TranscriptAdaptor::store method. Database
               integrity will not be maintained if this method is simply
               called on its own without taking into account transcripts which
               may refer to the exon being removed.
  Returntype : none
  Exceptions : none
  Caller     : general
  Status     : Stable
 
Code:
click to view

◆ store()

public void Bio::EnsEMBL::DBSQL::ExonAdaptor::store ( )
  Arg [1]    : Bio::EnsEMBL::Exon $exon
               the exon to store in this database
  Example    :
$exon_adaptor->store($exon);
  Description: Stores an exon in the database
  Returntype : none
  Exceptions : thrown if exon (or component exons) do not have a contig_id
               or if $exon->start, $exon->end, $exon->strand, or $exon->phase 
               are not defined or if $exon is not a Bio::EnsEMBL::Exon
  Caller     : general
  Status     : Stable
 
Code:
click to view

The documentation for this class was generated from the following file:
Bio::EnsEMBL::DBSQL::ExonAdaptor::fetch_all_by_Transcript
public Listref fetch_all_by_Transcript()
Bio::EnsEMBL::DBSQL::ExonAdaptor::fetch_all_versions_by_stable_id
public Listref fetch_all_versions_by_stable_id()
Bio::EnsEMBL::DBSQL::ExonAdaptor::_final_clause
protected _final_clause()
Bio::EnsEMBL::DBSQL::ExonAdaptor::_tables
protected _tables()
Bio::EnsEMBL::DBSQL::ExonAdaptor::_columns
protected _columns()
exon
public exon()
Bio::EnsEMBL::DBSQL::ExonAdaptor::_objs_from_sth
protected _objs_from_sth()
Bio::EnsEMBL::DBSQL::ExonAdaptor::fetch_by_stable_id
public Bio::EnsEMBL::Exon fetch_by_stable_id()
Bio::EnsEMBL::DBSQL::ExonAdaptor::store
public void store()
Bio::EnsEMBL::DBSQL::ExonAdaptor::list_dbIDs
public List list_dbIDs()
Bio::EnsEMBL::DBSQL::ExonAdaptor::fetch_all
public fetch_all()
Bio::EnsEMBL::DBSQL::ExonAdaptor::remove
public void remove()
Bio::EnsEMBL::DBSQL::ExonAdaptor::list_stable_ids
public List list_stable_ids()
Bio::EnsEMBL::DBSQL::ExonAdaptor::fetch_by_stable_id_version
public Bio::EnsEMBL::Exon fetch_by_stable_id_version()