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

Public Member Functions

public Listref fetch_all_by_translation_id ()
 
public Listref fetch_all_by_logic_name ()
 
public Bio::EnsEMBL::ProteinFeauture fetch_by_dbID ()
 
public Int store ()
 
protected _tables ()
 
protected _left_join ()
 
protected _tbl_columns ()
 
protected _columns ()
 
protected _objs_from_sth ()
 
public Listref fetch_all_by_uniprot_acc ()
 
public fetch_all_by_Slice_and_hcoverage ()
 
public fetch_all_by_Slice_and_external_db ()
 
public fetch_all_by_Slice_and_pid ()
 
public fetch_all_by_Slice ()
 
public fetch_Iterator_by_Slice_method ()
 
public fetch_Iterator_by_Slice ()
 
public fetch_all_by_Slice_and_score ()
 
public fetch_all_by_Slice_constraint ()
 
public fetch_all_by_stable_id_list ()
 
public count_by_Slice_constraint ()
 
public remove_by_Slice ()
 
public get_seq_region_id_internal ()
 
public get_seq_region_id_external ()
 
- Public Member Functions inherited from Bio::EnsEMBL::DBSQL::BaseAlignFeatureAdaptor
public Listref fetch_all_by_Slice_and_hcoverage ()
 
public Listref fetch_all_by_Slice_and_external_db ()
 
public Listref fetch_all_by_Slice_and_pid ()
 
public Listref fetch_all_by_hit_name ()
 
public Listref fetch_all_by_hit_name_unversioned ()
 
- 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'
);
$pfa = Bio::EnsEMBL::Registry->get_adaptor( "human", "core",
"proteinfeature" );
my @prot_feats = @{ $pfa->fetch_all_by_translation_id(1231) };
my $prot_feat = $pfa->fetch_by_dbID(523);

Definition at line 26 of file ProteinFeatureAdaptor.pm.

Member Function Documentation

◆ _columns()

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

Undocumented method

Code:
click to view

◆ _left_join()

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

Undocumented method

Code:
click to view

◆ _objs_from_sth()

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

Undocumented method

Code:
click to view

◆ _tables()

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

Undocumented method

Code:
click to view

◆ _tbl_columns()

protected Bio::EnsEMBL::DBSQL::ProteinFeatureAdaptor::_tbl_columns ( )

Undocumented method

Code:
click to view

◆ count_by_Slice_constraint()

public Bio::EnsEMBL::DBSQL::ProteinFeatureAdaptor::count_by_Slice_constraint ( )

Undocumented method

Code:
click to view

◆ fetch_all_by_logic_name()

public Listref Bio::EnsEMBL::DBSQL::ProteinFeatureAdaptor::fetch_all_by_logic_name ( )
  Arg [1]    : string $logic_name
               the logic name of the type of features to obtain
  Example    :
$fs = $a->fetch_all_by_logic_name('foobar');
  Description: Returns a listref of features created from the database.
               only features with an analysis of type $logic_name will
               be returned.  If the logic name is invalid (not in the
               analysis table), a reference to an empty list will be
               returned.
  Returntype : listref of Bio::EnsEMBL::ProteinFeatures
  Exceptions : thrown if no $logic_name
  Caller     : General
  Status     : Stable
 
Code:
click to view

◆ fetch_all_by_Slice()

public Bio::EnsEMBL::DBSQL::ProteinFeatureAdaptor::fetch_all_by_Slice ( )

Undocumented method

Code:
click to view

◆ fetch_all_by_Slice_and_external_db()

public Bio::EnsEMBL::DBSQL::ProteinFeatureAdaptor::fetch_all_by_Slice_and_external_db ( )

Undocumented method

Code:
click to view

◆ fetch_all_by_Slice_and_hcoverage()

public Bio::EnsEMBL::DBSQL::ProteinFeatureAdaptor::fetch_all_by_Slice_and_hcoverage ( )

Undocumented method

Code:
click to view

◆ fetch_all_by_Slice_and_pid()

public Bio::EnsEMBL::DBSQL::ProteinFeatureAdaptor::fetch_all_by_Slice_and_pid ( )

Undocumented method

Code:
click to view

◆ fetch_all_by_Slice_and_score()

public Bio::EnsEMBL::DBSQL::ProteinFeatureAdaptor::fetch_all_by_Slice_and_score ( )

Undocumented method

Code:
click to view

◆ fetch_all_by_Slice_constraint()

public Bio::EnsEMBL::DBSQL::ProteinFeatureAdaptor::fetch_all_by_Slice_constraint ( )

Undocumented method

Code:
click to view

◆ fetch_all_by_stable_id_list()

public Bio::EnsEMBL::DBSQL::ProteinFeatureAdaptor::fetch_all_by_stable_id_list ( )

Undocumented method

Code:
click to view

◆ fetch_all_by_translation_id()

public Listref Bio::EnsEMBL::DBSQL::ProteinFeatureAdaptor::fetch_all_by_translation_id ( )
  Arg [1]    : int $transl
               the internal id of the translation corresponding to protein 
               whose features are desired 
  Example    :
@prot_feats =
@{ $prot_feat_adaptor->fetch_by_translation_id(1234) };
  Description: Gets all protein features present on a peptide using the
               translations internal identifier.  This method will return
               an unsorted list of all protein_feature types.  The feature
               types may be distinguished using the logic name attribute of
               the attached analysis objects.   
  Returntype : listref of Bio::EnsEMBL::ProteinFeatures
  Exceptions : none
  Caller     : ?
  Status     : Stable
 
Code:
click to view

◆ fetch_all_by_uniprot_acc()

public Listref Bio::EnsEMBL::DBSQL::ProteinFeatureAdaptor::fetch_all_by_uniprot_acc ( )
  Arg [1]    : string uniprot accession
               The uniprot accession of the features to obtain
  Arg [2]    : (optional) string $logic_name
               The analysis logic name of the type of features to
               obtain. Default is 'gifts_import'
  Example    :
@feats =
@{ $adaptor->fetch_all_by_uniprot_acc( 'P20366',
'gifts_import' ); }
  Description: Returns a listref of features created from the
               database which correspond to the given uniprot accession.  If
               logic name is defined, only features with an analysis
               of type $logic_name will be returned. Defaults to 'gifts_import'
  Returntype : listref of Bio::EnsEMBL::BaseAlignFeatures
  Exceptions : thrown if uniprot_acc is not defined
  Caller     : general
  Status     : Stable
 
Code:
click to view

◆ fetch_by_dbID()

public Bio::EnsEMBL::ProteinFeauture Bio::EnsEMBL::DBSQL::ProteinFeatureAdaptor::fetch_by_dbID ( )
  Arg [1]    : int $protfeat_id
               the unique database identifier of the protein feature to obtain
  Example    :
my $feature = $prot_feat_adaptor->fetch_by_dbID();
  Description: Obtains a protein feature object via its unique id
  Returntype : Bio::EnsEMBL::ProteinFeauture
  Exceptions : none
  Caller     : ?
  Status     : Stable
 
Code:
click to view

◆ fetch_Iterator_by_Slice()

public Bio::EnsEMBL::DBSQL::ProteinFeatureAdaptor::fetch_Iterator_by_Slice ( )

Undocumented method

Code:
click to view

◆ fetch_Iterator_by_Slice_method()

public Bio::EnsEMBL::DBSQL::ProteinFeatureAdaptor::fetch_Iterator_by_Slice_method ( )

Undocumented method

Code:
click to view

◆ get_seq_region_id_external()

public Bio::EnsEMBL::DBSQL::ProteinFeatureAdaptor::get_seq_region_id_external ( )

Undocumented method

Code:
click to view

◆ get_seq_region_id_internal()

public Bio::EnsEMBL::DBSQL::ProteinFeatureAdaptor::get_seq_region_id_internal ( )

Undocumented method

Code:
click to view

◆ remove_by_Slice()

public Bio::EnsEMBL::DBSQL::ProteinFeatureAdaptor::remove_by_Slice ( )

Undocumented method

Code:
click to view

◆ store()

public Int Bio::EnsEMBL::DBSQL::ProteinFeatureAdaptor::store ( )
  Arg [1]    : Bio::EnsEMBL::ProteinFeature $feature
               The feature to be stored
  Arg [2]    : int $translation_id
  Example    :
$protein_feature_adaptor->store($protein_feature);
  Description: Stores a protein feature in the database
  Returntype : int - the new internal identifier of the stored protein feature
  Exceptions : thrown if arg is not a Bio::EnsEMBL:
  Caller     : none
  Status     : Stable
 
Code:
click to view

The documentation for this class was generated from the following file:
Bio::EnsEMBL::DBSQL::ProteinFeatureAdaptor::get_seq_region_id_internal
public get_seq_region_id_internal()
Bio::EnsEMBL::Registry::get_adaptor
public Adaptor get_adaptor()
Bio::EnsEMBL::DBSQL::ProteinFeatureAdaptor::fetch_Iterator_by_Slice
public fetch_Iterator_by_Slice()
map
public map()
Bio::EnsEMBL::DBSQL::ProteinFeatureAdaptor::fetch_all_by_stable_id_list
public fetch_all_by_stable_id_list()
Bio::EnsEMBL::DBSQL::ProteinFeatureAdaptor::fetch_all_by_uniprot_acc
public Listref fetch_all_by_uniprot_acc()
Bio::EnsEMBL::DBSQL::ProteinFeatureAdaptor::fetch_all_by_Slice_and_score
public fetch_all_by_Slice_and_score()
Bio::EnsEMBL::DBSQL::ProteinFeatureAdaptor::fetch_by_dbID
public Bio::EnsEMBL::ProteinFeauture fetch_by_dbID()
Bio::EnsEMBL::DBSQL::ProteinFeatureAdaptor::fetch_all_by_logic_name
public Listref fetch_all_by_logic_name()
Bio::EnsEMBL::DBSQL::ProteinFeatureAdaptor::fetch_all_by_Slice_and_pid
public fetch_all_by_Slice_and_pid()
Bio::EnsEMBL::DBSQL::ProteinFeatureAdaptor::fetch_Iterator_by_Slice_method
public fetch_Iterator_by_Slice_method()
Bio::EnsEMBL::DBSQL::ProteinFeatureAdaptor::_left_join
protected _left_join()
Bio::EnsEMBL::ProteinFeature
Definition: ProteinFeature.pm:24
Bio::EnsEMBL::DBSQL::ProteinFeatureAdaptor::fetch_all_by_Slice
public fetch_all_by_Slice()
Bio::EnsEMBL::DBSQL::ProteinFeatureAdaptor::_tbl_columns
protected _tbl_columns()
Bio::EnsEMBL::DBSQL::ProteinFeatureAdaptor::get_seq_region_id_external
public get_seq_region_id_external()
Bio::EnsEMBL::Registry
Definition: Registry.pm:113
Bio::EnsEMBL::DBSQL::ProteinFeatureAdaptor::fetch_all_by_Slice_and_external_db
public fetch_all_by_Slice_and_external_db()
Bio::EnsEMBL::DBSQL::ProteinFeatureAdaptor::fetch_all_by_translation_id
public Listref fetch_all_by_translation_id()
Bio::EnsEMBL::DBSQL::ProteinFeatureAdaptor::fetch_all_by_Slice_constraint
public fetch_all_by_Slice_constraint()
Bio::EnsEMBL::ProteinFeature::new
public Bio::EnsEMBL::FeaturePair new()
Bio::EnsEMBL::DBSQL::ProteinFeatureAdaptor::store
public Int store()
Bio::EnsEMBL::Registry::load_registry_from_db
public Int load_registry_from_db()
Bio::EnsEMBL::DBSQL::ProteinFeatureAdaptor::count_by_Slice_constraint
public count_by_Slice_constraint()
Bio::EnsEMBL::DBSQL::ProteinFeatureAdaptor::_objs_from_sth
protected _objs_from_sth()
Bio::EnsEMBL::DBSQL::ProteinFeatureAdaptor::_tables
protected _tables()
Bio::EnsEMBL::DBSQL::ProteinFeatureAdaptor::_columns
protected _columns()
Bio::EnsEMBL::DBSQL::ProteinFeatureAdaptor::remove_by_Slice
public remove_by_Slice()
Bio::EnsEMBL::DBSQL::ProteinFeatureAdaptor::fetch_all_by_Slice_and_hcoverage
public fetch_all_by_Slice_and_hcoverage()