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

Public Member Functions

protected _tables ()
 
protected _columns ()
 
protected _left_join ()
 
public Bio::EnsEMBL::Transcript fetch_by_stable_id ()
 
public Bio::EnsEMBL::Transcript fetch_by_stable_id_version ()
 
public fetch_all ()
 
public Listref fetch_all_versions_by_stable_id ()
 
public Bio::EnsEMBL::Transcript fetch_by_rnaproduct_id ()
 
public Bio::EnsEMBL::Transcript fetch_by_translation_stable_id ()
 
public Bio::EnsEMBL::Transcript fetch_by_translation_stable_id_version ()
 
public Bio::EnsEMBL::Transcript fetch_by_translation_id ()
 
public Listref fetch_all_by_Gene ()
 
public Listref fetch_all_by_Slice ()
 
public Listref fetch_all_by_external_name ()
 
public Listref fetch_all_by_GOTerm ()
 
public Listref fetch_all_by_GOTerm_accession ()
 
public Bio::EnsEMBL::Transcript fetch_by_display_label ()
 
public Listref fetch_all_by_exon_stable_id ()
 
public Listref fetch_all_by_source ()
 
public String source_constraint ()
 
public Int count_all_by_source ()
 
public Int count_all_by_Slice ()
 
public Listref fetch_all_by_biotype ()
 
public String biotype_constraint ()
 
public Int count_all_by_biotype ()
 
public Int store ()
 
public Listref get_Interpro_by_transid ()
 
public Boolean is_Transcript_canonical ()
 
public void remove ()
 
public void update ()
 
public list_dbIDs ()
 
public Listref list_stable_ids ()
 
protected _objs_from_sth ()
 
public Listref fetch_all_by_exon_supporting_evidence ()
 
public Listref fetch_all_by_transcript_supporting_evidence ()
 
protected _final_clause ()
 
public update_canonical_attribute ()
 
- 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

-host => 'ensembldb.ensembl.org',
-user => 'anonymous'
);
$transcript_adaptor =
'Transcript' );
$transcript = $transcript_adaptor->fetch_by_dbID(1234);
$transcript =
$transcript_adaptor->fetch_by_stable_id('ENST00000201961');
$slice =
$slice_adaptor->fetch_by_region( 'Chromosome', '3', 1, 1000000 );
@transcripts = @{ $transcript_adaptor->fetch_all_by_Slice($slice) };
($transcript) =
@{ $transcript_adaptor->fetch_all_by_external_name('NP_065811.1') };

Description

This adaptor provides a means to retrieve and store information related
to Transcripts.  Primarily this involves the retrieval or storage of
Bio::EnsEMBL::Transcript objects from a database.

See Bio::EnsEMBL::Transcript for details of the Transcript class.

Definition at line 47 of file TranscriptAdaptor.pm.

Member Function Documentation

◆ _columns()

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

Undocumented method

Code:
click to view

◆ _final_clause()

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

Undocumented method

Code:
click to view

◆ _left_join()

protected Bio::EnsEMBL::DBSQL::TranscriptAdaptor::_left_join ( )

Undocumented method

Code:
click to view

◆ _objs_from_sth()

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

Undocumented method

Code:
click to view

◆ _tables()

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

Undocumented method

Code:
click to view

◆ biotype_constraint()

public String Bio::EnsEMBL::DBSQL::TranscriptAdaptor::biotype_constraint ( )
  Arg [1]    : String $biotypes 
               listref of $biotypes
               The biotype of the transcript to retrieve. You can have as an argument a reference
               to a list of biotypes
  Description: Used internally to generate a SQL constraint to restrict a transcript query by biotype
  Returntype  : String
  Exceptions : If biotype is not supplied
  Caller     : general
  Status     : Stable
 
Code:
click to view

◆ count_all_by_biotype()

public Int Bio::EnsEMBL::DBSQL::TranscriptAdaptor::count_all_by_biotype ( )
  Arg [1]     : String $biotype 
                listref of $biotypes
                The biotype of the transcript to retrieve. You can have as an argument a reference
                to a list of biotypes
  Example     :
$cnt = $transcript_adaptor->count_all_by_biotype('protein_coding');
$cnt = $transcript_adaptor->count_all_by_biotypes(['protein_coding', 'sRNA', 'miRNA']);
  Description : Retrieves count of transcript objects from the database via its biotype or biotypes.
  Returntype  : integer
  Caller      : general
  Status      : Stable
 
Code:
click to view

◆ count_all_by_Slice()

public Int Bio::EnsEMBL::DBSQL::TranscriptAdaptor::count_all_by_Slice ( )
  Arg [1]    : Bio::EnsEMBL::Slice $slice
               The slice to count transcripts on.
  Arg [2]    : (optional) biotype(s) string or arrayref of strings
                the biotype of the features to count.
  Arg [1]    : (optional) string $source
               the source name of the features to count.
  Example    :
$cnt = $transcript_adaptor->count_all_by_Slice();
  Description: Method to count transcripts on a given slice, filtering by biotype and source
  Returntype : integer
  Exceptions : thrown if exon cannot be placed on transcript slice
  Status     : Stable
  Caller     : general
 
Code:
click to view

◆ count_all_by_source()

public Int Bio::EnsEMBL::DBSQL::TranscriptAdaptor::count_all_by_source ( )
  Arg [1]     : String $source
                listref of $source
                The source of the transcript to retrieve. You can have as an argument a reference
                to a list of sources
  Example     :
$cnt = $transcript_adaptor->count_all_by_source('ensembl');
$cnt = $transcript_adaptor->count_all_by_source(['havana', 'vega']);
  Description : Retrieves count of transcript objects from the database via its source or sources.
  Returntype  : integer
  Caller      : general
  Status      : Stable
 
Code:
click to view

◆ fetch_all()

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

Undocumented method

Code:
click to view

◆ fetch_all_by_biotype()

public Listref Bio::EnsEMBL::DBSQL::TranscriptAdaptor::fetch_all_by_biotype ( )
  Arg [1]    : String $biotype 
               listref of $biotypes
               The biotype of the transcript to retrieve. You can have as an argument a reference
               to a list of biotypes
  Example    :
$gene = $transcript_adaptor->fetch_all_by_biotype('protein_coding');
$gene = $transcript_adaptor->fetch_all_by_biotypes(['protein_coding', 'sRNA', 'miRNA']);
  Description: Retrieves an array reference of transcript objects from the database via its biotype or biotypes.
               The 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 gene or exon is not found
               undef is returned instead.
  Returntype  : listref of Bio::EnsEMBL::Transcript
  Exceptions : if we cant get the gene in given coord system
  Caller     : general
  Status     : Stable
 
Code:
click to view

◆ fetch_all_by_exon_stable_id()

public Listref Bio::EnsEMBL::DBSQL::TranscriptAdaptor::fetch_all_by_exon_stable_id ( )
  Arg [1]    : String $stable_id 
               The stable id of an exon in a transcript
  Example    :
my $tr = $tr_adaptor->fetch_all_by_exon_stable_id
('ENSE00000309301');
  Description: Retrieves a list of transcripts via an exon stable id.
  Returntype : Listref of Bio::EnsEMBL::Transcript objects
  Exceptions : none
  Caller     : general
  Status     : Stable
 
Code:
click to view

◆ fetch_all_by_exon_supporting_evidence()

public Listref Bio::EnsEMBL::DBSQL::TranscriptAdaptor::fetch_all_by_exon_supporting_evidence ( )
  Arg [1]    : String $hit_name
               Name of supporting feature
  Arg [2]    : String $feature_type 
               one of "dna_align_feature" or "protein_align_feature"
  Arg [3]    : (optional) Bio::Ensembl::Analysis
  Example    :
$tr = $tr_adaptor->fetch_all_by_exon_supporting_evidence
('XYZ', 'dna_align_feature');
  Description: Gets all the transcripts with exons which have a specified hit
               on a particular type of feature. Optionally filter by analysis.
  Returntype : Listref of Bio::EnsEMBL::Transcript objects
  Exceptions : If feature_type is not of correct type.
  Caller     : general
  Status     : Stable
 
Code:
click to view

◆ fetch_all_by_external_name()

public Listref Bio::EnsEMBL::DBSQL::TranscriptAdaptor::fetch_all_by_external_name ( )
  Arg [1]    : String $external_name
               An external identifier of the transcript to be obtained
  Arg [2]    : (optional) String $external_db_name
               The name of the external database from which the
               identifier originates.
  Arg [3]    : Boolean override. Force SQL regex matching for users
               who really do want to find all 'NM'
  Example    :
my @transcripts =
@{ $tr_adaptor->fetch_all_by_external_name( 'NP_065811.1') };
my @more_transcripts =
@{$tr_adaptor->fetch_all_by_external_name( 'NP_0658__._')};
  Description: Retrieves all transcripts which are associated with
               an external identifier such as a GO term, Swissprot
               identifer, etc.  Usually there will only be a single
               transcript returned in the list reference, but not
               always.  Transcripts are returned in their native
               coordinate system, i.e. the coordinate system in which
               they are stored in the database.  If they are required
               in another coordinate system the Transcript::transfer or
               Transcript::transform method can be used to convert them.
               If no transcripts with the external identifier are found,
               a reference to an empty list is returned.
               SQL wildcards % and _ are supported in the $external_name
               but their use is somewhat restricted for performance reasons.
               Users that really do want % and _ in the first three characters
               should use argument 3 to prevent optimisations
  Returntype : listref of Bio::EnsEMBL::Transcript
  Exceptions : none
  Caller     : general
  Status     : Stable
 
Code:
click to view

◆ fetch_all_by_Gene()

public Listref Bio::EnsEMBL::DBSQL::TranscriptAdaptor::fetch_all_by_Gene ( )
  Arg [1]    : Bio::EnsEMBL::Gene $gene
               The gene to fetch transcripts of
  Example    :
my $gene = $gene_adaptor->fetch_by_stable_id('ENSG0000123');
my @transcripts = { $tr_adaptor->fetch_all_by_Gene($gene) };
  Description: Retrieves Transcript objects for given gene. Puts Genes slice
               in each Transcript. 
  Returntype : Listref of Bio::EnsEMBL::Transcript objects
  Exceptions : none
  Caller     : Gene->get_all_Transcripts()
  Status     : Stable
 
Code:
click to view

◆ fetch_all_by_GOTerm()

public Listref Bio::EnsEMBL::DBSQL::TranscriptAdaptor::fetch_all_by_GOTerm ( )
  Arg [1]   : Bio::EnsEMBL::OntologyTerm
              The GO term for which transcripts should be fetched.
  Example:  @transcripts =
              $transcript_adaptor->fetch_all_by_GOTerm(
                $go_adaptor->fetch_by_accession('GO:0030326') ) };
  Description   : Retrieves a list of transcripts that are
                  associated with the given GO term, or with any of
                  its descendent GO terms.  The transcripts returned
                  are in their native coordinate system, i.e. in
                  the coordinate system in which they are stored
                  in the database.  If another coordinate system
                  is required then the Transcript::transfer or
                  Transcript::transform method can be used.
  Return type   : listref of Bio::EnsEMBL::Transcript
  Exceptions    : Throws of argument is not a GO term
  Caller        : general
  Status        : Stable
 
Code:
click to view

◆ fetch_all_by_GOTerm_accession()

public Listref Bio::EnsEMBL::DBSQL::TranscriptAdaptor::fetch_all_by_GOTerm_accession ( )
  Arg [1]   : String
              The GO term accession for which genes should be
              fetched.
  Example   :
@genes =
@{ $gene_adaptor->fetch_all_by_GOTerm_accession(
        'GO:0030326') };
  Description   : Retrieves a list of genes that are associated with
                  the given GO term, or with any of its descendent
                  GO terms.  The genes returned are in their native
                  coordinate system, i.e. in the coordinate system
                  in which they are stored in the database.  If
                  another coordinate system is required then the
                  Gene::transfer or Gene::transform method can be
                  used.
  Return type   : listref of Bio::EnsEMBL::Gene
  Exceptions    : Throws of argument is not a GO term accession
  Caller        : general
  Status        : Stable
 
Code:
click to view

◆ fetch_all_by_Slice()

public Listref Bio::EnsEMBL::DBSQL::TranscriptAdaptor::fetch_all_by_Slice ( )
  Arg [1]    : Bio::EnsEMBL::Slice $slice
               The slice to fetch transcripts on
  Arg [2]    : (optional) Boolean $load_exons
               If true, exons will be loaded immediately rather than
               lazy loaded later
  Arg [3]    : (optional) String $logic_name
               The logic name of the type of features to obtain
  ARG [4]    : (optional) String $constraint
               An extra contraint.
  Example    :
my @transcripts = @{ $tr_adaptor->fetch_all_by_Slice($slice) };
  Description: Overrides superclass method to optionally load exons
               immediately rather than lazy-loading them later. This
               is more efficient when there are a lot of transcripts whose
               exons are going to be used.
  Returntype : Listref of Bio::EnsEMBL::Transcript objects
  Exceptions : thrown if exon cannot be placed on transcript slice
  Caller     : Slice::get_all_Transcripts
  Status     : Stable
 
Code:
click to view

◆ fetch_all_by_source()

public Listref Bio::EnsEMBL::DBSQL::TranscriptAdaptor::fetch_all_by_source ( )
  Arg [1]    : String $source
               listref of $sources
               The source of the transcript to retrieve. You can have as an argument a reference
               to a list of sources
  Example    :
$transcripts = $transcript_adaptor->fetch_all_by_source('havana');
$transcripts = $transcript_adaptor->fetch_all_by_source(['ensembl', 'vega']);
  Description: Retrieves an array reference of transcript objects from the database via its source or sources.
               The 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 gene or exon is not found
               undef is returned instead.
  Returntype  : listref of Bio::EnsEMBL::Transcript
  Exceptions : if we cant get the gene in given coord system
  Caller     : general
  Status     : Stable
 
Code:
click to view

◆ fetch_all_by_transcript_supporting_evidence()

public Listref Bio::EnsEMBL::DBSQL::TranscriptAdaptor::fetch_all_by_transcript_supporting_evidence ( )
  Arg [1]    : String $hit_name
               Name of supporting feature
  Arg [2]    : String $feature_type 
               one of "dna_align_feature" or "protein_align_feature"
  Arg [3]    : (optional) Bio::Ensembl::Analysis
  Example    :
$transcripts = $transcript_adaptor->fetch_all_by_transcript_supporting_evidence('XYZ', 'dna_align_feature');
  Description: Gets all the transcripts with evidence from a specified hit_name on a particular type of feature, stored in the  
               transcript_supporting_feature table. Optionally filter by analysis.  For hits stored in the supporting_feature 
               table (linked to exons) use fetch_all_by_exon_supporting_evidence instead.
  Returntype : Listref of Bio::EnsEMBL::Transcript objects
  Exceptions : If feature_type is not of correct type.
  Caller     : general
  Status     : Stable
 


Code:
click to view

◆ fetch_all_versions_by_stable_id()

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

◆ fetch_by_display_label()

public Bio::EnsEMBL::Transcript Bio::EnsEMBL::DBSQL::TranscriptAdaptor::fetch_by_display_label ( )
  Arg [1]    : String $label - display label of transcript to fetch
  Example    :
my $tr = $tr_adaptor->fetch_by_display_label("BRCA2");
  Description: Returns the 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::Transcript
  Exceptions : none
  Caller     : general
  Status     : Stable
 
Code:
click to view

◆ fetch_by_rnaproduct_id()

public Bio::EnsEMBL::Transcript Bio::EnsEMBL::DBSQL::TranscriptAdaptor::fetch_by_rnaproduct_id ( )
  Arg [1]    : Int $id
               The internal identifier of the RNAProduct whose transcript
               is to be retrieved
  Example    :
my $tr = $tr_adaptor->fetch_by_rnaproduct_id($rnap->dbID);
  Description: Given the internal identifier of a RNAProduct this method
               retrieves the transcript associated with that RNAProduct.
               If the transcript cannot be found undef is returned instead.
  Returntype : Bio::EnsEMBL::Transcript or undef
  Exceptions : none
  Caller     : general
  Status     : Stable
 
Code:
click to view

◆ fetch_by_stable_id()

public Bio::EnsEMBL::Transcript Bio::EnsEMBL::DBSQL::TranscriptAdaptor::fetch_by_stable_id ( )
  Arg [1]    : String $stable_id 
               The stable id of the transcript to retrieve
  Example    :
my $tr = $tr_adaptor->fetch_by_stable_id('ENST00000309301');
  Description: Retrieves a transcript via its stable id.
  Returntype : Bio::EnsEMBL::Transcript
  Exceptions : none
  Caller     : general
  Status     : Stable
 
Code:
click to view

◆ fetch_by_stable_id_version()

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

◆ fetch_by_translation_id()

public Bio::EnsEMBL::Transcript Bio::EnsEMBL::DBSQL::TranscriptAdaptor::fetch_by_translation_id ( )
  Arg [1]    : Int $id
               The internal identifier of the translation whose transcript
               is to be retrieved
  Example    :
my $tr = $tr_adaptor->fetch_by_translation_id($transl->dbID);
  Description: Given the internal identifier of a translation this method 
               retrieves the transcript associated with that translation.
               If the transcript cannot be found undef is returned instead.
  Returntype : Bio::EnsEMBL::Transcript or undef
  Exceptions : none
  Caller     : general
  Status     : Stable
 
Code:
click to view

◆ fetch_by_translation_stable_id()

public Bio::EnsEMBL::Transcript Bio::EnsEMBL::DBSQL::TranscriptAdaptor::fetch_by_translation_stable_id ( )
  Arg [1]    : String $transl_stable_id
               The stable identifier of the translation of the transcript to 
               retrieve
  Example    :
my $tr = $tr_adaptor->fetch_by_translation_stable_id
('ENSP00000311007');
  Description: Retrieves a Transcript object using the stable identifier of
               its translation.
  Returntype : Bio::EnsEMBL::Transcript or undef
  Exceptions : none
  Caller     : general
  Status     : Stable
 
Code:
click to view

◆ fetch_by_translation_stable_id_version()

public Bio::EnsEMBL::Transcript Bio::EnsEMBL::DBSQL::TranscriptAdaptor::fetch_by_translation_stable_id_version ( )
  Arg [1]    : String $transl_stable_id
               The stable identifier of the translation of the transcript to 
               retrieve
  Arg [2]    : Integer $version
               The version of the translation of the transcript to retrieve
  Example    :
my $tr = $tr_adaptor->fetch_by_translation_stable_id_version
('ENSP00000311007', 2);
  Description: Retrieves a Transcript object using the stable identifier and
               version of its translation.
  Returntype : Bio::EnsEMBL::Transcript or undef
  Exceptions : none
  Caller     : general
  Status     : Stable
 
Code:
click to view

◆ get_Interpro_by_transid()

public Listref Bio::EnsEMBL::DBSQL::TranscriptAdaptor::get_Interpro_by_transid ( )
  Arg [1]    : String $trans_stable_id
               The stable if of the transcript to obtain
  Example    :
@i = $tr_adaptor->get_Interpro_by_transid($trans->stable_id());
  Description: Gets interpro accession numbers by transcript stable id.
               A hack really - we should have a much more structured 
               system than this.
  Returntype : listref of strings (Interpro_acc:description)
  Exceptions : none 
  Caller     : domainview? , GeneView
  Status     : Stable
 
Code:
click to view

◆ is_Transcript_canonical()

public Boolean Bio::EnsEMBL::DBSQL::TranscriptAdaptor::is_Transcript_canonical ( )
  Arg [1]     : Bio::EnsEMBL::Transcript $transcript
                The transcript to query with
  Example     :
$tr_adaptor->is_Transcript_canonical($transcript);
  Description : Returns a boolean if the given transcript is considered
                canonical with respect to a gene
  Returntype  : Boolean
  Exceptions  : None
  Caller      : Bio::EnsEMBL::Transcript
  Status      : Beta
 
Code:
click to view

◆ list_dbIDs()

public Bio::EnsEMBL::DBSQL::TranscriptAdaptor::list_dbIDs ( )
  Example    :
@transcript_ids = @{ $t_adaptor->list_dbIDs };
  Description: Gets a list of internal ids for all transcripts in the 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_stable_ids()

public Listref Bio::EnsEMBL::DBSQL::TranscriptAdaptor::list_stable_ids ( )
  Example    :
@stable_trans_ids = @{ $transcript_adaptor->list_stable_ids };
  Description: Gets a list of stable ids for all transcripts in the current
               database.
  Returntype : Listref of Strings
  Exceptions : none
  Caller     : general
  Status     : Stable
 
Code:
click to view

◆ remove()

public void Bio::EnsEMBL::DBSQL::TranscriptAdaptor::remove ( )
  Arg [1]    : Bio::EnsEMBL::Transcript $transcript
               The transcript to remove from the database
  Arg [2]    : Boolean, update Gene coordinates after removal. WARNING: this does not alter any other copies of the 
               gene currently in memory. Other copies will retain their original coordinates. Either refetch them
               or go directly through Gene->remove_Transcript first, then remove the Transcript here.
  Example    :
$tr_adaptor->remove($transcript);
  Description: Removes a transcript completely from the database, and all
               associated information.
               This method is usually called by the GeneAdaptor::remove method
               because this method will not preform the removal of genes
               which are associated with this transcript. Do not call this
               method directly unless you know there are no genes associated
               with the transcript!
  Returntype : none
  Exceptions : throw on incorrect arguments
               warning if transcript is not in this database
  Caller     : GeneAdaptor::remove
  Status     : Stable
 
Code:
click to view

◆ source_constraint()

public String Bio::EnsEMBL::DBSQL::TranscriptAdaptor::source_constraint ( )
  Arg [1]    : String $source
               listref of $sources
               The source of the transcript to retrieve. You can have as an argument a reference
               to a list of sources
  Description: Used internally to generate a SQL constraint to restrict a transcript query by source
  Returntype  : String
  Exceptions : If source is not supplied
  Caller     : general
  Status     : Stable
 
Code:
click to view

◆ store()

public Int Bio::EnsEMBL::DBSQL::TranscriptAdaptor::store ( )
  Arg [1]    : Bio::EnsEMBL::Transcript $transcript
               The transcript to be written to the database
  Arg [2]    : Int $gene_dbID
               The identifier of the gene that this transcript is associated 
               with
  Arg [3]    : 
Deprecated:
(optional) Int $analysis_id The analysis_id to use when storing this gene. This is for backward compatibility only and used to fall back to the gene analysis_id if no analysis object is attached to the transcript (which you should do for new code). Arg [4] : prevent coordinate recalculation if you are persisting transcripts with this gene Example :
$transID = $tr_adaptor->store($transcript, $gene->dbID);
  Description: Stores a transcript in the database and returns the new
               internal identifier for the stored transcript.
  Returntype : Int 
  Exceptions : none
  Caller     : general
  Status     : Stable
 
Code:
click to view

◆ update()

public void Bio::EnsEMBL::DBSQL::TranscriptAdaptor::update ( )
  Arg [1]    : Bio::EnsEMBL::Transcript $transcript
               The transcript to update
  Example    :
$tr_adaptor->update($transcript);
  Description: Updates a transcript in the database.
  Returntype : None
  Exceptions : thrown if the $transcript is not a Bio::EnsEMBL::Transcript.
               warn if the method is called on a transcript that does not exist 
               in the database.
               Should warn if trying to update the number of attached exons, but
               this is a far more complex process and is not yet implemented.
  Caller     : general
  Status     : Stable
 
Code:
click to view

◆ update_canonical_attribute()

public Bio::EnsEMBL::DBSQL::TranscriptAdaptor::update_canonical_attribute ( )

Undocumented method

Code:
click to view

The documentation for this class was generated from the following file:
transcript
public transcript()
Bio::EnsEMBL::DBSQL::TranscriptAdaptor::count_all_by_Slice
public Int count_all_by_Slice()
Bio::EnsEMBL::DBSQL::TranscriptAdaptor::count_all_by_biotype
public Int count_all_by_biotype()
Bio::EnsEMBL::Registry::get_adaptor
public Adaptor get_adaptor()
Bio::EnsEMBL::DBSQL::TranscriptAdaptor::fetch_all_by_exon_stable_id
public Listref fetch_all_by_exon_stable_id()
Bio::EnsEMBL::DBSQL::TranscriptAdaptor::_final_clause
protected _final_clause()
map
public map()
Bio::EnsEMBL::DBSQL::TranscriptAdaptor::fetch_all
public fetch_all()
Bio::EnsEMBL::DBSQL::TranscriptAdaptor::update
public void update()
Bio::EnsEMBL::DBSQL::TranscriptAdaptor::fetch_all_by_biotype
public Listref fetch_all_by_biotype()
Bio::EnsEMBL::DBSQL::TranscriptAdaptor::remove
public void remove()
Bio::EnsEMBL::DBSQL::TranscriptAdaptor::fetch_by_stable_id_version
public Bio::EnsEMBL::Transcript fetch_by_stable_id_version()
Bio::EnsEMBL::DBSQL::TranscriptAdaptor::_tables
protected _tables()
Bio::EnsEMBL::DBSQL::TranscriptAdaptor::update_canonical_attribute
public update_canonical_attribute()
Bio::EnsEMBL::DBSQL::TranscriptAdaptor::_left_join
protected _left_join()
Bio::EnsEMBL::DBSQL::TranscriptAdaptor::fetch_all_by_source
public Listref fetch_all_by_source()
Bio::EnsEMBL::DBSQL::TranscriptAdaptor::fetch_by_display_label
public Bio::EnsEMBL::Transcript fetch_by_display_label()
Bio::EnsEMBL::DBSQL::TranscriptAdaptor::get_Interpro_by_transid
public Listref get_Interpro_by_transid()
Bio::EnsEMBL::DBSQL::TranscriptAdaptor::_columns
protected _columns()
Bio::EnsEMBL::DBSQL::TranscriptAdaptor::fetch_all_by_GOTerm_accession
public Listref fetch_all_by_GOTerm_accession()
Bio::EnsEMBL::DBSQL::TranscriptAdaptor::count_all_by_source
public Int count_all_by_source()
Bio::EnsEMBL::DBSQL::TranscriptAdaptor::fetch_by_translation_stable_id
public Bio::EnsEMBL::Transcript fetch_by_translation_stable_id()
Bio::EnsEMBL::DBSQL::TranscriptAdaptor::store
public Int store()
Bio::EnsEMBL::DBSQL::TranscriptAdaptor::fetch_all_by_Slice
public Listref fetch_all_by_Slice()
Bio::EnsEMBL::Registry
Definition: Registry.pm:113
exon
public exon()
Bio::EnsEMBL::DBSQL::TranscriptAdaptor::source_constraint
public String source_constraint()
Bio::EnsEMBL::DBSQL::TranscriptAdaptor::biotype_constraint
public String biotype_constraint()
Bio::EnsEMBL::DBSQL::TranscriptAdaptor::fetch_all_by_exon_supporting_evidence
public Listref fetch_all_by_exon_supporting_evidence()
Bio::EnsEMBL::DBSQL::TranscriptAdaptor::list_stable_ids
public Listref list_stable_ids()
Bio::EnsEMBL::DBSQL::TranscriptAdaptor::fetch_all_by_Gene
public Listref fetch_all_by_Gene()
Bio::EnsEMBL::DBSQL::TranscriptAdaptor::fetch_by_translation_id
public Bio::EnsEMBL::Transcript fetch_by_translation_id()
Bio::EnsEMBL::Registry::load_registry_from_db
public Int load_registry_from_db()
Bio::EnsEMBL::DBSQL::TranscriptAdaptor::fetch_all_by_GOTerm
public Listref fetch_all_by_GOTerm()
Bio::EnsEMBL::DBSQL::TranscriptAdaptor::fetch_by_rnaproduct_id
public Bio::EnsEMBL::Transcript fetch_by_rnaproduct_id()
Bio::EnsEMBL::DBSQL::TranscriptAdaptor::fetch_all_by_transcript_supporting_evidence
public Listref fetch_all_by_transcript_supporting_evidence()
Bio::EnsEMBL::DBSQL::TranscriptAdaptor::fetch_by_stable_id
public Bio::EnsEMBL::Transcript fetch_by_stable_id()
Bio::EnsEMBL::DBSQL::TranscriptAdaptor::list_dbIDs
public list_dbIDs()
Bio::EnsEMBL::DBEntry
Definition: DBEntry.pm:12
Bio::EnsEMBL::DBSQL::TranscriptAdaptor::fetch_all_by_external_name
public Listref fetch_all_by_external_name()
Bio::EnsEMBL::DBSQL::TranscriptAdaptor::fetch_by_translation_stable_id_version
public Bio::EnsEMBL::Transcript fetch_by_translation_stable_id_version()
Bio::EnsEMBL::Storable::new_fast
public Instance new_fast()
Bio::EnsEMBL::DBSQL::TranscriptAdaptor::fetch_all_versions_by_stable_id
public Listref fetch_all_versions_by_stable_id()
Bio::EnsEMBL::DBSQL::TranscriptAdaptor::_objs_from_sth
protected _objs_from_sth()
Bio::EnsEMBL::DBSQL::TranscriptAdaptor::is_Transcript_canonical
public Boolean is_Transcript_canonical()