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

Public Member Functions

public Bio::EnsEMBL::DBSQL::AssemblyExceptionFeatureAdaptor new ()
 
public Reference fetch_all ()
 
public Bio::EnsEMBL::AssemblyExceptionFeature fetch_by_dbID ()
 
public Reference fetch_all_by_Slice ()
 
protected _remap ()
 
public Int store ()
 
protected _pre_store ()
 
protected _check_start_end_strand ()
 
public void remove ()
 
- 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 $assembly_exception_feature_adaptor =
$database_adaptor->get_AssemblyExceptionFeatureAdaptor();
@assembly_exception_features =
$assembly_exception_feature_adaptor->fetch_all_by_Slice($slice);

Description

Assembly Exception Feature Adaptor - database access for assembly
exception features.

Definition at line 25 of file AssemblyExceptionFeatureAdaptor.pm.

Member Function Documentation

◆ _check_start_end_strand()

protected Bio::EnsEMBL::DBSQL::AssemblyExceptionFeatureAdaptor::_check_start_end_strand ( )

Undocumented method

Code:
click to view

◆ _pre_store()

protected Bio::EnsEMBL::DBSQL::AssemblyExceptionFeatureAdaptor::_pre_store ( )

Undocumented method

Code:
click to view

◆ _remap()

protected Bio::EnsEMBL::DBSQL::AssemblyExceptionFeatureAdaptor::_remap ( )

Undocumented method

Code:
click to view

◆ fetch_all()

public Reference Bio::EnsEMBL::DBSQL::AssemblyExceptionFeatureAdaptor::fetch_all ( )
  Arg [1]    : none
  Example    :
my @axfs = @{$axfa->fetch_all()};
  Description: Retrieves all assembly exception features which are in the
               database and builds internal caches of the features.
  Returntype : reference to list of Bio::EnsEMBL::AssemblyExceptionFeatures
  Exceptions : none
  Caller     : fetch_by_dbID, fetch_by_Slice
  Status     : Stable
 
Code:
click to view

◆ fetch_all_by_Slice()

public Reference Bio::EnsEMBL::DBSQL::AssemblyExceptionFeatureAdaptor::fetch_all_by_Slice ( )
  Arg [1]    : Bio::EnsEMBL::Slice $slice
  Example    :
my @axfs = @{$axfa->fetch_all_by_Slice($slice)};
  Description: Retrieves all assembly exception features which overlap the
               provided slice.  The returned features will be in coordinate
               system of the slice.
  Returntype : reference to list of Bio::EnsEMBL::AssemblyException features
  Exceptions : none
  Caller     : Feature::get_all_alt_locations, general
  Status     : Stable
 
Code:
click to view

◆ fetch_by_dbID()

public Bio::EnsEMBL::AssemblyExceptionFeature Bio::EnsEMBL::DBSQL::AssemblyExceptionFeatureAdaptor::fetch_by_dbID ( )
  Arg [1]    : int $dbID
  Example    :
my $axf = $axfa->fetch_by_dbID(3);
  Description: Retrieves a single assembly exception feature via its internal
               identifier.  Note that this only retrieves one of the two
               assembly exception features which are represented by a single
               row in the assembly_exception table.
  Returntype : Bio::EnsEMBL::AssemblyExceptionFeature
  Exceptions : none
  Caller     : general
  Status     : Stable
 
Code:
click to view

◆ new()

public Bio::EnsEMBL::DBSQL::AssemblyExceptionFeatureAdaptor Bio::EnsEMBL::DBSQL::AssemblyExceptionFeatureAdaptor::new ( )
  Arg [1]    : list of args @args
               Superclass constructor arguments
  Example    :
none
  Description: Constructor which just initializes internal cache structures
  Returntype : Bio::EnsEMBL::DBSQL::AssemblyExceptionFeatureAdaptor
  Exceptions : none
  Caller     : implementing subclass constructors
  Status     : Stable
 
Code:
click to view

◆ remove()

public void Bio::EnsEMBL::DBSQL::AssemblyExceptionFeatureAdaptor::remove ( )
  Arg [1]    : $asx Bio::EnsEMBL::AssemblyFeatureException 
  Example    :
$asx_adaptor->remove($asx);
  Description: This removes a assembly exception feature from the database.  
  Returntype : none
  Exceptions : thrown if $asx arg does not implement dbID(), or if
               $asx->dbID is not a true value
  Caller     : general
  Status     : Stable
 


Code:
click to view

◆ store()

public Int Bio::EnsEMBL::DBSQL::AssemblyExceptionFeatureAdaptor::store ( )
    Arg[1]       : Bio::EnsEMBL::AssemblyException $asx
    Arg[2]       : Bio::EnsEMBL::AssemblyException $asx2
    Example      :
$asx_seq_region_id = $asx_adaptor->store($asx);
    Description:  This stores a assembly exception feature in the 
                  assembly_exception table and returns the assembly_exception_id.
                  Needs 2 features: one pointing to the Assembly_exception, and the
                  other pointing to the region in the reference that is being mapped to
                  Will check that start, end and type are defined, and the alternate
                  slice is present as well.
    ReturnType:   int
    Exceptions:   throw if assembly exception not defined (needs start, end,
          type and alternate_slice) of if $asx not a Bio::EnsEMBL::AssemblyException
    Caller:       general
    Status:       Stable
 
Code:
click to view

The documentation for this class was generated from the following file:
Bio::EnsEMBL::DBSQL::AssemblyExceptionFeatureAdaptor::_pre_store
protected _pre_store()
Bio::EnsEMBL::DBSQL::AssemblyExceptionFeatureAdaptor::fetch_all_by_Slice
public Reference fetch_all_by_Slice()
Bio::EnsEMBL::DBSQL::AssemblyExceptionFeatureAdaptor::store
public Int store()
Bio::EnsEMBL::DBSQL::AssemblyExceptionFeatureAdaptor::fetch_all
public Reference fetch_all()
Bio::EnsEMBL::DBSQL::AssemblyExceptionFeatureAdaptor::_remap
protected _remap()
Bio::EnsEMBL::AssemblyExceptionFeature::new
public Bio::EnsEMBL::Feature new()
Bio::EnsEMBL::DBSQL::AssemblyExceptionFeatureAdaptor::_check_start_end_strand
protected _check_start_end_strand()
Bio::EnsEMBL::DBSQL::AssemblyExceptionFeatureAdaptor::fetch_by_dbID
public Bio::EnsEMBL::AssemblyExceptionFeature fetch_by_dbID()
Bio::EnsEMBL::AssemblyExceptionFeature
Definition: AssemblyExceptionFeature.pm:27
Bio::EnsEMBL::DBSQL::AssemblyExceptionFeatureAdaptor::remove
public void remove()