Exemple #1
0
 def test_job_ajax_get_req(self):
     obs = job_ajax_get_req("063e553b-327c-4818-ab4a-adfe58e49860")
     exp = {'status': 'success',
            'message': '',
            'job_id': "063e553b-327c-4818-ab4a-adfe58e49860",
            'job_status': "queued",
            'job_step': None,
            'job_error': None,
            'job_parameters': {'barcode_type': u'golay_12',
                               'input_data': 1,
                               'max_bad_run_length': 3,
                               'max_barcode_errors': 1.5,
                               'min_per_read_length_fraction': 0.75,
                               'phred_quality_threshold': 3,
                               'rev_comp': False,
                               'rev_comp_barcode': False,
                               'rev_comp_mapping_barcodes': False,
                               'sequence_max_n': 0,
                               'phred_offset': 'auto'},
            'command': 'Split libraries FASTQ',
            'command_description': 'Demultiplexes and applies quality '
                                   'control to FASTQ data',
            'software': 'QIIME',
            'software_version': '1.9.1'}
     self.assertEqual(obs, exp)
Exemple #2
0
 def test_job_ajax_get_req(self):
     obs = job_ajax_get_req("063e553b-327c-4818-ab4a-adfe58e49860")
     exp = {
         'status': 'success',
         'message': '',
         'job_id': "063e553b-327c-4818-ab4a-adfe58e49860",
         'job_external_id': "Not Available",
         'job_status': "queued",
         'job_step': None,
         'job_error': None,
         'job_parameters': {
             'barcode_type': u'golay_12',
             'input_data': 1,
             'max_bad_run_length': 3,
             'max_barcode_errors': 1.5,
             'min_per_read_length_fraction': 0.75,
             'phred_quality_threshold': 3,
             'rev_comp': False,
             'rev_comp_barcode': False,
             'rev_comp_mapping_barcodes': False,
             'sequence_max_n': 0,
             'phred_offset': 'auto'
         },
         'command': 'Split libraries FASTQ',
         'command_description': 'Demultiplexes and applies quality '
         'control to FASTQ data',
         'software': 'QIIME',
         'software_version': '1.9.1'
     }
     self.assertEqual(obs, exp)
Exemple #3
0
 def test_job_ajax_get_req(self):
     obs = job_ajax_get_req("063e553b-327c-4818-ab4a-adfe58e49860")
     exp = {'status': 'success',
            'message': '',
            'job_id': "063e553b-327c-4818-ab4a-adfe58e49860",
            'job_status': "queued",
            'job_step': None,
            'job_parameters': {'barcode_type': u'golay_12',
                               'input_data': 1,
                               'max_bad_run_length': 3,
                               'max_barcode_errors': 1.5,
                               'min_per_read_length_fraction': 0.75,
                               'phred_quality_threshold': 3,
                               'rev_comp': False,
                               'rev_comp_barcode': False,
                               'rev_comp_mapping_barcodes': False,
                               'sequence_max_n': 0}}
     self.assertEqual(obs, exp)
Exemple #4
0
 def test_job_ajax_get_req(self):
     obs = job_ajax_get_req("063e553b-327c-4818-ab4a-adfe58e49860")
     exp = {
         'status': 'success',
         'message': '',
         'job_id': "063e553b-327c-4818-ab4a-adfe58e49860",
         'job_status': "queued",
         'job_step': None,
         'job_parameters': {
             'barcode_type': u'golay_12',
             'input_data': 1,
             'max_bad_run_length': 3,
             'max_barcode_errors': 1.5,
             'min_per_read_length_fraction': 0.75,
             'phred_quality_threshold': 3,
             'rev_comp': False,
             'rev_comp_barcode': False,
             'rev_comp_mapping_barcodes': False,
             'sequence_max_n': 0,
             'phred_offset': ''
         }
     }
     self.assertEqual(obs, exp)