ensembl-hive  2.6
Bio::EnsEMBL::Hive::RunnableDB::DbCmd Class Reference
+ Inheritance diagram for Bio::EnsEMBL::Hive::RunnableDB::DbCmd:

Public Member Functions

public param_defaults ()
 
public fetch_input ()
 
- Public Member Functions inherited from Bio::EnsEMBL::Hive::RunnableDB::SystemCmd
public param_defaults ()
 
public run ()
 
public write_output ()
 
public Void complete_early_if_branch_connected ()
 
- Public Member Functions inherited from Bio::EnsEMBL::Hive::Process
public new ()
 
public life_cycle ()
 
public say_with_header ()
 
public enter_status ()
 
public warning ()
 
public param_defaults ()
 
public fetch_input ()
 
public run ()
 
public write_output ()
 
public Bio::EnsEMBL::Hive::Worker worker ()
 
public execute_writes ()
 
public Bio::EnsEMBL::Hive::DBSQL::DBAdaptor db ()
 
public Bio::EnsEMBL::Hive::DBSQL::DBConnection dbc ()
 
public Bio::EnsEMBL::Hive::DBSQL::DBConnection data_dbc ()
 
public Returns run_system_command ()
 
public Bio::EnsEMBL::Hive::AnalysisJob input_job ()
 
public input_id ()
 
public param ()
 
public param_required ()
 
public param_exists ()
 
public param_is_defined ()
 
public param_substitute ()
 
public dataflow_output_id ()
 
public dataflow_output_ids_from_json ()
 
public throw ()
 
public This complete_early ()
 
public Int debug ()
 
public worker_temp_directory ()
 
public cleanup_worker_temp_directory ()
 

Detailed Description

Synopsis

standaloneJob.pl Bio::EnsEMBL::Hive::RunnableDB::DbCmd -db_conn mysql://ensro@ens-livemirror/ncbi_taxonomy -input_query "SELECT name FROM ncbi_taxa_name WHERE name_class = 'scientific name' AND taxon_id = 9606" --append '["-N"]' -output_file out.dat

Description

    This RunnableDB module acts as a wrapper around a database connection. It interfaces with the database the same way as you would
    on the command line (i.e. with redirections and / or pipes to other commands) but with hive parameters instead.
    The database connection is created from the "data_dbc" parameter, if provided, or the current hive database.

Definition at line 19 of file DbCmd.pm.

Member Function Documentation

◆ fetch_input()

public Bio::EnsEMBL::Hive::RunnableDB::DbCmd::fetch_input ( )
    Description : Implements fetch_input() interface method of Bio::EnsEMBL::Hive::Process that is used to read in parameters and load data.
                  Here it deals with finding the command line, doing parameter substitution and storing the result in a predefined place.
    param('cmd'): The recommended way of passing in the command line. It can be either a string, or an array-ref of strings. The later is safer if some of the
                  arguments contain white-spaces.
    param('*'):   Any other parameters can be freely used for parameter substitution.
 
Code:
click to view

◆ param_defaults()

public Bio::EnsEMBL::Hive::RunnableDB::DbCmd::param_defaults ( )

Undocumented method

Code:
click to view

The documentation for this class was generated from the following file:
Bio::EnsEMBL::Hive::RunnableDB::DbCmd::param_defaults
public param_defaults()
Bio::EnsEMBL::Hive::RunnableDB::DbCmd::fetch_input
public fetch_input()
Bio::EnsEMBL::Hive::RunnableDB::DbCmd
Definition: DbCmd.pm:19