|
ensembl-hive
2.7.0
|
Inheritance diagram for Bio::EnsEMBL::DBSQL::DataFileAdaptor:
Provides a database wrapper to store the locations of files and to pull these records back out. DataFile objects can only provide basic information but they can return an intended external database adaptor which can be used to parse the information. This system assumes nothing about the file just that your parser can access it. Files are supported over any protocol your parser supports and locations can be made absolute, built on the fly or versioned.
Definition at line 30 of file DataFileAdaptor.pm.
| protected Bio::EnsEMBL::DBSQL::DataFileAdaptor::_tables | ( | ) |
Undocumented method
Code:
| public Scalar Bio::EnsEMBL::DBSQL::DataFileAdaptor::DataFile_to_adaptor | ( | ) |
Arg[1] : Bio::EnsEMBL::DataFile Arg[2] : (optional) base path Arg[3] : (optional) file type Example :
Description : Returns an adaptor instance which will access the given DataFile. Can explicitly request for an adaptor of a given file type (third argument), useful with composite types, e.g. BAM coverage files can be returned as BAM or BIGWIG Returntype : Scalar actual return depends upon the given file type and the requested type Exceptions : Raised if the given file type is not understood or if the requested file type is incompatible with the actual data file type.
Code:
| public ArrayRef Bio::EnsEMBL::DBSQL::DataFileAdaptor::DataFile_to_extensions | ( | ) |
Arg[1] : Bio::EnsEMBL::DataFile Example :
Description : Returns all expected extensions for the given DataFile type. The first returned is the default extension Returntype : ArrayRef Exceptions : Raised if the given file type is not understood
Code:
| public Bio::EnsEMBL::DBSQL::DataFileAdaptor::delete | ( | ) |
Undocumented method
Code:
| public ArrayRef Bio::EnsEMBL::DBSQL::DataFileAdaptor::fetch_all_by_Analysis | ( | ) |
Args [1] : Bio::EnsEMBL::Analysis $analysis to look up by Example :
Description : Returns all DataFile entries linked to the given analysis Returntype : ArrayRef contains Bio::EnsEMBL::DataFile instances Exceptions : None
Code:
| public ArrayRef Bio::EnsEMBL::DBSQL::DataFileAdaptor::fetch_all_by_CoordSystem | ( | ) |
Args [1] : Bio::EnsEMBL::CoordSystem $coord_system to look up by Example :
Description : Returns all DataFile entries linked to the given coordinate system. Does not support toplevel Returntype : ArrayRef contains Bio::EnsEMBL::DataFile instances Exceptions : None
Code:
| public ArrayRef Bio::EnsEMBL::DBSQL::DataFileAdaptor::fetch_all_by_logic_name | ( | ) |
Args [1] : String $logic_name for the linked analysis Example :
Description : Returns all DataFile entries linked to the given analysis logic name Returntype : ArrayRef contains Bio::EnsEMBL::DataFile instances Exceptions : Thrown if logic name does not exist
Code:
| public Bio::EnsEMBL::DBSQL::DataFileAdaptor::fetch_by_name_and_type | ( | ) |
Undocumented method
Code:
| public Bio::EnsEMBL::DBSQL::DataFileAdaptor::generic_fetch | ( | ) |
Undocumented method
Code:
| public String Bio::EnsEMBL::DBSQL::DataFileAdaptor::get_base_path | ( | ) |
Arg[1] : String; (optional) base path Example :
Description : If given the path it will return that path; if not it consults
$self->global_base_path() for a value. As a last resort
it will look at the meta table for an entry keyed by
data_file.base_path
Returntype : String
Exceptions : Thrown if nothing is found after consulting all three locations
Code:
| public String Bio::EnsEMBL::DBSQL::DataFileAdaptor::global_base_path | ( | ) |
Arg[1] : String; base path Example :
Description : Stores a global value to be used when building data file paths Returntype : String Exceptions : None
Code:
| public Bio::EnsEMBL::DBSQL::DataFileAdaptor::store | ( | ) |
Undocumented method
Code:
| public Bio::EnsEMBL::DBSQL::DataFileAdaptor::update | ( | ) |
Undocumented method
Code: