|
@@ -29,6 +29,21 @@ function blast_ui_admin_form($form, $form_state) {
|
|
|
'#default_value' => variable_get('blast_threads', 1),
|
|
|
);
|
|
|
|
|
|
+ $form['general']['eVal']= array(
|
|
|
+ '#type' => 'textfield',
|
|
|
+ '#title' => t('e-Value (Expected Threshold)'),
|
|
|
+ '#description' => t('Expected number of chance matches in a random model. This number should be give in a decimal format.'),
|
|
|
+ '#default_value' => variable_get('eVal', 0.001),
|
|
|
+ //'#default_value' => variable_get('blast_threads', 1),
|
|
|
+ );
|
|
|
+
|
|
|
+ $form['general']['qRange']= array(
|
|
|
+ '#type' => 'textfield',
|
|
|
+ '#title' => t('Max matches in a query range'),
|
|
|
+ '#description' => t('Limit the number of matches to a query range. This option is useful if many strong matches to one part of a query may prevent BLAST from presenting weaker matches to another part of the query.'),
|
|
|
+ '#default_value' => variable_get('qRange', 0),
|
|
|
+ );
|
|
|
+
|
|
|
$form['file_upload'] = array(
|
|
|
'#type' => 'fieldset',
|
|
|
'#title' => 'Allow File Upload',
|
|
@@ -149,6 +164,9 @@ function blast_ui_admin_form_submit($form, $form_state) {
|
|
|
variable_set('blast_path', $form_state['values']['blast_path']);
|
|
|
variable_set('blast_threads', $form_state['values']['blast_threads']);
|
|
|
|
|
|
+ variable_set('eVal', $form_state['values']['eVal']);
|
|
|
+ variable_set('qRange', $form_state['values']['qRange']);
|
|
|
+
|
|
|
variable_set('blast_ui_allow_query_upload', $form_state['values']['query_upload']);
|
|
|
variable_set('blast_ui_allow_target_upload', $form_state['values']['target_upload']);
|
|
|
|