Exemple #1
0
def run_structmaker(run_id):
  '''
So that output files can be located by family, 
run_ids should have a consistent format: 

RS_{familyname}

In any event, the family name is stored in the
input dict so there will be no problems running the
script is the run_id does not conform to this format.
'''
  inp_dict = bsub.load_data(run_id, 'input')
  fam = inp_dict['family']
  savename = inp_dict['savename']

  structs, energies, seq = rutils.family_clustered_suboptimals(\
          fam,
          savename = savename,
          draw = True)

  output = {'family':fam,
            'structs':structs,
            'energies':energies,
            'seq':seq}

  return output
Exemple #2
0
def run_structmaker(run_id):
    '''
So that output files can be located by family, 
run_ids should have a consistent format: 

RS_{familyname}

In any event, the family name is stored in the
input dict so there will be no problems running the
script is the run_id does not conform to this format.
'''
    inp_dict = bsub.load_data(run_id, 'input')
    fam = inp_dict['family']
    savename = inp_dict['savename']

    structs, energies, seq = rutils.family_clustered_suboptimals(\
            fam,
            savename = savename,
            draw = True)

    output = {
        'family': fam,
        'structs': structs,
        'energies': energies,
        'seq': seq
    }

    return output
Exemple #3
0
def run_treebuilder(run_id):
    '''
So that output files can be located by family, 
run_ids should have a consistent format: 

RS_{familyname}

In any event, the family name is stored in the
input dict so there will be no problems running the
script is the run_id does not conform to this format.
'''
    inp_dict = bsub.load_data(run_id, 'input')
    inp_run_id = inp_dict['inp_run_id']
    rfid = inp_dict['family']

    output = tutils.run(rfid, run_id, inp_run_id, reset=True)
    return output
Exemple #4
0
def run_treebuilder(run_id):
  '''
So that output files can be located by family, 
run_ids should have a consistent format: 

RS_{familyname}

In any event, the family name is stored in the
input dict so there will be no problems running the
script is the run_id does not conform to this format.
'''
  inp_dict = bsub.load_data(run_id, 'input')
  inp_run_id = inp_dict['inp_run_id']
  rfid = inp_dict['family']

  output = tutils.run(rfid,run_id, inp_run_id, reset = True)
  return output