ensembl-hive  2.8.1
Bio::EnsEMBL::DBSQL::OperonTranscriptAdaptor Class Reference
+ Inheritance diagram for Bio::EnsEMBL::DBSQL::OperonTranscriptAdaptor:

Public Member Functions

protected _tables ()
 
protected _columns ()
 
public Listref list_dbIDs ()
 
public Reference list_stable_ids ()
 
public list_seq_region_ids ()
 
public Bio::EnsEMBL::OperonTranscript fetch_by_stable_id ()
 
public Bio::EnsEMBL::OperonTranscript fetch_by_stable_id_version ()
 
public Bio::EnsEMBL::OperonTranscript fetch_by_name ()
 
public Listref fetch_all ()
 
public Listref fetch_all_versions_by_stable_id ()
 
public Reference fetch_all_by_Slice ()
 
public fetch_all_by_Operon ()
 
public Arrayref fetch_by_operon_id ()
 
public Arrayref fetch_genes_by_operon_transcript ()
 
public Arrayref fetch_genes_by_operon_transcript_id ()
 
public Arrayref fetch_all_by_gene ()
 
public Arrayref fetch_all_by_gene_id ()
 
public The store ()
 
public void store_genes_on_OperonTranscript ()
 
public void remove ()
 
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 $operon_transcript_adaptor = Bio::EnsEMBL::DBSQL::OperonTranscriptAdaptor->new($dba);
$operon_transcript_adaptor->store($operon_transcript);
my $operon_transcript2 = $operon_transcript_adaptor->fetch_by_dbID( $operon->dbID() );
my $operon_transcripts = $operon_transcript_adaptor->fetch_all_by_gene( $gene );

Description

This is a database aware adaptor for the retrieval and storage of operon
transcript objects.

Definition at line 28 of file OperonTranscriptAdaptor.pm.

Member Function Documentation

◆ _columns()

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

Undocumented method

Code:
click to view

◆ _objs_from_sth()

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

Undocumented method

Code:
click to view

◆ _tables()

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

Undocumented method

Code:
click to view

◆ fetch_all()

public Listref Bio::EnsEMBL::DBSQL::OperonTranscriptAdaptor::fetch_all ( )
  Example     :
$operon_transcripts = $operon_adaptor->fetch_all();
  Description : Retrieves all operon transcripts stored in the database.
  Returntype  : listref of Bio::EnsEMBL::OperonTranscript
  Caller      : general
  Status      : At Risk
 
Code:
click to view

◆ fetch_all_by_gene()

public Arrayref Bio::EnsEMBL::DBSQL::OperonTranscriptAdaptor::fetch_all_by_gene ( )
  Arg [1]    : Bio::EnsEMBL::Gene
  Example    :
$ots = $ot_adaptor->fetch_all_by_gene($gene);
  Description: Retrieves all operon transcripts attached to a given gene
  Returntype : arrayref of Bio::EnsEMBL::OperonTranscript
  Exceptions : none
  Caller     : general
  Status     : Stable
 
Code:
click to view

◆ fetch_all_by_gene_id()

public Arrayref Bio::EnsEMBL::DBSQL::OperonTranscriptAdaptor::fetch_all_by_gene_id ( )
  Arg [1]    : Int id of Bio::EnsEMBL::Gene
  Example    :
$ots = $ot_adaptor->fetch_all_by_gene($gene);
  Description: Retrieves all operon transcripts attached to a given gene
  Returntype : arrayref of Bio::EnsEMBL::OperonTranscript
  Exceptions : none
  Caller     : general
  Status     : Stable
 
Code:
click to view

◆ fetch_all_by_Operon()

public Bio::EnsEMBL::DBSQL::OperonTranscriptAdaptor::fetch_all_by_Operon ( )

Undocumented method

Code:
click to view

◆ fetch_all_by_Slice()

public Reference Bio::EnsEMBL::DBSQL::OperonTranscriptAdaptor::fetch_all_by_Slice ( )
  Arg [1]    : Bio::EnsEMBL::Slice $slice
               The slice to fetch operon_transcripts on.
  Arg [2]    : (optional) string $logic_name
               the logic name of the type of features to obtain
  Arg [3]    : (optional) boolean $load_transcripts
               if true, transcripts will be loaded immediately rather than
               lazy loaded later.
  Arg [4]    : (optional) string $source
               the source name of the features to obtain.
  Arg [5]    : (optional) string biotype
                the biotype of the features to obtain.
  Example    :
@operon_transcripts = @{$operon_transcript_adaptor->fetch_all_by_Slice()};
  Description: Overrides superclass method to optionally load transcripts
               immediately rather than lazy-loading them later.  This
               is more efficient when there are a lot of operon_transcripts whose
               transcripts are going to be used.
  Returntype : reference to list of operon_transcripts 
  Exceptions : thrown if exon cannot be placed on transcript slice
  Caller     : Slice::get_all_OperonTranscripts
  Status     : Stable
 
Code:
click to view

◆ fetch_all_versions_by_stable_id()

public Listref Bio::EnsEMBL::DBSQL::OperonTranscriptAdaptor::fetch_all_versions_by_stable_id ( )
  Arg [1]     : String $stable_id 
                The stable ID of the operon_transcript to retrieve
  Example     :
$operon_transcript = $operon_transcript_adaptor->fetch_all_versions_by_stable_id
('ENSG00000148944');
  Description : Similar to fetch_by_stable_id, but retrieves all versions of a
                operon_transcript stored in the database.
  Returntype  : listref of Bio::EnsEMBL::OperonTranscript
  Exceptions  : if we cant get the operon_transcript in given coord system
  Caller      : general
  Status      : At Risk
 
Code:
click to view

◆ fetch_by_name()

public Bio::EnsEMBL::OperonTranscript Bio::EnsEMBL::DBSQL::OperonTranscriptAdaptor::fetch_by_name ( )
  Arg [1]    : String $label - name of operon transcript to fetch
  Example    :
my $operon_transcript = $operonAdaptor->fetch_by_name("ECK0012121342");
  Description: Returns the operon transcript which has the given display label or undef if
               there is none. If there are more than 1, only the first is
               reported.
  Returntype : Bio::EnsEMBL::OperonTranscript
  Exceptions : none
  Caller     : general
  Status     : Stable
 
Code:
click to view

◆ fetch_by_operon_id()

public Arrayref Bio::EnsEMBL::DBSQL::OperonTranscriptAdaptor::fetch_by_operon_id ( )
  Arg [1]    : Int id
  Example    :
$ot = $ot_adaptor->fetch_by_operon_transcript($operon);
  Description: Retrieves all operon transcripts belonging to an operon
  Returntype : arrayref of Bio::EnsEMBL::OperonTranscript
  Exceptions : none
  Caller     : general
  Status     : Stable
 
Code:
click to view

◆ fetch_by_stable_id()

public Bio::EnsEMBL::OperonTranscript Bio::EnsEMBL::DBSQL::OperonTranscriptAdaptor::fetch_by_stable_id ( )
  Arg [1]    : String $id 
               The stable ID of the operon_transcript to retrieve
  Example    :
$operon_transcript = $operon_transcript_adaptor->fetch_by_stable_id('T16152-16153-4840');
  Description: Retrieves a operon_transcript object from the database via its stable id.
               The operon_transcript 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 operon_transcript is not found
               undef is returned instead.
  Returntype : Bio::EnsEMBL::OperonTranscript or undef
  Exceptions : if we cant get the operon_transcript in given coord system
  Caller     : general
  Status     : Stable
 
Code:
click to view

◆ fetch_by_stable_id_version()

public Bio::EnsEMBL::OperonTranscript Bio::EnsEMBL::DBSQL::OperonTranscriptAdaptor::fetch_by_stable_id_version ( )
  Arg [1]    : String $id 
               The stable ID of the operon_transcript to retrieve
  Arg [2]    : Integer $version
               The version of the stable_id to retrieve
  Example    :
$operon_transcript = $operon_transcript_adaptor->fetch_by_stable_id('T16152-16153-4840', 2);
  Description: Retrieves an operon_transcript object from the database via its stable id and version.
               The operon_transcript 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 operon_transcript is not found
               undef is returned instead.
  Returntype : Bio::EnsEMBL::OperonTranscript or undef
  Exceptions : if we cant get the operon_transcript in given coord system
  Caller     : general
  Status     : Stable
 
Code:
click to view

◆ fetch_genes_by_operon_transcript()

public Arrayref Bio::EnsEMBL::DBSQL::OperonTranscriptAdaptor::fetch_genes_by_operon_transcript ( )
  Arg [1]    : Bio::EnsEMBL::OperonTranscript
  Example    :
$ot = $ot_adaptor->fetch_genes_by_operon_transcript($operon_transcript);
  Description: Retrieves all genes attached to an operon transcript
  Returntype : arrayref of Bio::EnsEMBL::Gene
  Exceptions : none
  Caller     : general
  Status     : Stable
 
Code:
click to view

◆ fetch_genes_by_operon_transcript_id()

public Arrayref Bio::EnsEMBL::DBSQL::OperonTranscriptAdaptor::fetch_genes_by_operon_transcript_id ( )
  Arg [1]    : Int id
  Example    :
$ot = $ot_adaptor->fetch_genes_by_operon_transcript($operon_transcript_id);
  Description: Retrieves all genes attached to an operon transcript
  Returntype : arrayref of Bio::EnsEMBL::Gene
  Exceptions : none
  Caller     : general
  Status     : Stable
 
Code:
click to view

◆ list_dbIDs()

public Listref Bio::EnsEMBL::DBSQL::OperonTranscriptAdaptor::list_dbIDs ( )
  Example    :
@ot_ids = @{$ot_adaptor->list_dbIDs()};
  Description: Gets an array of internal ids for all operon_transcripts in the current db
  Arg[1]     : <optional> int. not 0 for the ids to be sorted by the seq_region.
  Returntype : Listref of Ints
  Exceptions : none
  Caller     : general
  Status     : Stable
 
Code:
click to view

◆ list_seq_region_ids()

public Bio::EnsEMBL::DBSQL::OperonTranscriptAdaptor::list_seq_region_ids ( )

Undocumented method

Code:
click to view

◆ list_stable_ids()

public Reference Bio::EnsEMBL::DBSQL::OperonTranscriptAdaptor::list_stable_ids ( )
  Example    :
@stable_ot_ids = @{$ot_adaptor->list_stable_ids()};
  Description: Gets an listref of stable ids for all operon_transcripts in the current db
  Returntype : reference to a list of strings
  Exceptions : none
  Caller     : general
  Status     : Stable
 
Code:
click to view

◆ remove()

public void Bio::EnsEMBL::DBSQL::OperonTranscriptAdaptor::remove ( )
  Arg [1]    : Bio::EnsEMBL::OperonTranscript $ot
               the operon_transcript to remove from the database
  Example    :
$ot_adaptor->remove($ot);
  Description: Removes a operon transcript completely from the database.
  Returntype : none
  Exceptions : throw on incorrect arguments 
               warning if operon_transcript is not stored in this database
  Caller     : general
  Status     : Stable
 
Code:
click to view

◆ store()

public The Bio::EnsEMBL::DBSQL::OperonTranscriptAdaptor::store ( )
  Arg [1]    : Bio::EnsEMBL::OperonTranscript $gene
               The gene to store in the database
  Arg [2]    : ignore_release in xrefs [default 1] set to 0 to use release info 
               in external database references
  Example    :
$gene_adaptor->store($gene);
  Description: Stores a gene in the database.
  Returntype : the database identifier (dbID) of the newly stored gene
  Exceptions : thrown if the $gene is not a Bio::EnsEMBL::OperonTranscript or if 
               $gene does not have an analysis object
  Caller     : general
  Status     : Stable
 
Code:
click to view

◆ store_genes_on_OperonTranscript()

public void Bio::EnsEMBL::DBSQL::OperonTranscriptAdaptor::store_genes_on_OperonTranscript ( )
  Arg [1]    : Bio::EnsEMBL::OperonTranscript $ot
               the operon_transcript to store genes on
  Arg [2]    : arrayref of Bio::EnsEMBL::Gene $gene
               the genes to store on operon transcript
  Example    :
$ot_adaptor->store_genes_on_OperonTranscript(\@genes);
  Description: Associates genes with operon transcript
  Returntype : none
  Exceptions : throw on incorrect arguments 
               warning if operon_transcript is not stored in this database
  Caller     : general, store
  Status     : Stable
 
Code:
click to view

The documentation for this class was generated from the following file:
Bio::EnsEMBL::DBSQL::OperonTranscriptAdaptor::fetch_all_by_gene_id
public Arrayref fetch_all_by_gene_id()
Bio::EnsEMBL::OperonTranscript
Definition: OperonTranscript.pm:23
map
public map()
Bio::EnsEMBL::DBSQL::OperonTranscriptAdaptor::fetch_all_by_Operon
public fetch_all_by_Operon()
Bio::EnsEMBL::DBSQL::OperonTranscriptAdaptor::fetch_by_name
public Bio::EnsEMBL::OperonTranscript fetch_by_name()
Bio::EnsEMBL::DBSQL::OperonTranscriptAdaptor::fetch_by_stable_id_version
public Bio::EnsEMBL::OperonTranscript fetch_by_stable_id_version()
Bio::EnsEMBL::DBSQL::OperonTranscriptAdaptor::_tables
protected _tables()
Bio::EnsEMBL::DBSQL::OperonTranscriptAdaptor::_columns
protected _columns()
Bio::EnsEMBL::DBSQL::OperonTranscriptAdaptor
Definition: OperonTranscriptAdaptor.pm:28
Bio::EnsEMBL::DBSQL::OperonTranscriptAdaptor::remove
public void remove()
Bio::EnsEMBL::DBSQL::OperonTranscriptAdaptor::fetch_all_versions_by_stable_id
public Listref fetch_all_versions_by_stable_id()
Bio::EnsEMBL::DBSQL::OperonTranscriptAdaptor::list_stable_ids
public Reference list_stable_ids()
Bio::EnsEMBL::DBSQL::OperonTranscriptAdaptor::store_genes_on_OperonTranscript
public void store_genes_on_OperonTranscript()
Bio::EnsEMBL::DBSQL::OperonTranscriptAdaptor::fetch_all_by_Slice
public Reference fetch_all_by_Slice()
Bio::EnsEMBL::DBSQL::OperonTranscriptAdaptor::fetch_genes_by_operon_transcript
public Arrayref fetch_genes_by_operon_transcript()
Bio::EnsEMBL::DBSQL::OperonTranscriptAdaptor::fetch_all
public Listref fetch_all()
Bio::EnsEMBL::Utils::SqlHelper::new
public Instance new()
Bio::EnsEMBL::DBSQL::OperonTranscriptAdaptor::fetch_genes_by_operon_transcript_id
public Arrayref fetch_genes_by_operon_transcript_id()
Bio::EnsEMBL::DBSQL::OperonTranscriptAdaptor::fetch_by_operon_id
public Arrayref fetch_by_operon_id()
Bio::EnsEMBL::DBSQL::OperonTranscriptAdaptor::store
public The store()
Bio::EnsEMBL::Utils::SqlHelper
Definition: SqlHelper.pm:55
Bio::EnsEMBL::DBSQL::OperonTranscriptAdaptor::list_dbIDs
public Listref list_dbIDs()
Bio::EnsEMBL::DBSQL::BaseFeatureAdaptor::new
public Bio::EnsEMBL::BaseFeatureAdaptor new()
Bio::EnsEMBL::DBSQL::OperonTranscriptAdaptor::_objs_from_sth
protected _objs_from_sth()
Bio::EnsEMBL::DBSQL::OperonTranscriptAdaptor::fetch_by_stable_id
public Bio::EnsEMBL::OperonTranscript fetch_by_stable_id()
Bio::EnsEMBL::DBSQL::OperonTranscriptAdaptor::fetch_all_by_gene
public Arrayref fetch_all_by_gene()
Bio::EnsEMBL::DBSQL::OperonTranscriptAdaptor::list_seq_region_ids
public list_seq_region_ids()