swamp.mr.mrjob module¶
-
class
MrJob(id, workdir, python_interpreter=None, extend_solution=False)[source]¶ Bases:
objectClass to manage the creation and execution of a
MrRunin the context of a parent containerMrArrayinstance.This class implements methods to create a python script that can be executed as single independent job. It also implements utilities and data structures to retrieve and store the results obtained with the resulting instance of
MrRun.Parameters: Variables: - id (str) – Unique identifier of this
MrJobisntance - phased_mtz (str) – target’s mtz filename containing phases (default None)
- target_mtz (str) – target’s mtz filename (default None)
- target_fa (str) – target’s fasta filename (default None)
- searchmodel_list (list) – A list with the search models to be used in the
MrRuninstance
-
add_searchmodel(**kwargs)[source]¶ Provide necessary information to add a given search model to the
MrRuninstance.Parameters: kwargs – directly used into add_searchmodel()
-
python_script¶ String with the python script to create and execute the
MrRuninstance associated with thisMrJob
-
results¶ A nested list with the results of the
MrRuninstance created with the execution ofpython_script
- id (str) – Unique identifier of this