Procházet zdrojové kódy

changes to blast admin and services

prateekgta před 9 roky
rodič
revize
67ac714599
4 změnil soubory, kde provedl 537 přidání a 460 odebrání
  1. binární
      .DS_Store
  2. binární
      includes/.DS_Store
  3. 18 0
      includes/blast_ui.admin.inc
  4. 519 460
      includes/blast_ui.services.inc

binární
.DS_Store


binární
includes/.DS_Store


+ 18 - 0
includes/blast_ui.admin.inc

@@ -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']);
   

Rozdílová data souboru nebyla zobrazena, protože soubor je příliš velký
+ 519 - 460
includes/blast_ui.services.inc


Některé soubory nejsou zobrazeny, neboť je v těchto rozdílových datech změněno mnoho souborů