function drush_tripal_feature_tripal_get_sequence
2.x tripal_feature.drush.inc | drush_tripal_feature_tripal_get_sequence() |
3.x tripal_feature.drush.inc | drush_tripal_feature_tripal_get_sequence() |
1.x tripal_feature.drush.inc | drush_tripal_feature_tripal_get_sequence() |
Executes jobs in the Tripal Jobs Queue
NOTE: The following code is executed when drush 'trpjob-run' or 'drush tripal-launch-jobs' is called
File
- tripal_feature/
tripal_feature.drush.inc, line 70 - Contains function relating to drush-integration of this module.
Code
function drush_tripal_feature_tripal_get_sequence() {
$org_commonname = drush_get_option('org');
$genus = drush_get_option('genus');
$species = drush_get_option('species');
$analysis_name = drush_get_option('analysis');
$type = drush_get_option('type');
$feature_name = drush_get_option('name');
$upstream = drush_get_option('up');
$downstream = drush_get_option('down');
$output_format = drush_get_option('out');
$derive_from_parent = drush_get_option('parent');
$aggregate = drush_get_option('agg');
$child = drush_get_option('child');
$relationship = drush_get_option('relationship');
$rel_part = drush_get_option('rel_part');
if ($relationship and !$rel_part) {
print "Please specify both 'relationship' and a 'rel_part' arguments. Both must be used together\n";
return;
}
tripal_feature_seq_extract_get_features($org_commonname, $genus, $species, $analysis_name,
$type, $feature_name, $upstream, $downstream, $output_format, $derive_from_parent,
$aggregate, $child, $relationship, $rel_part);
}