Class to run MR on SIMBAD results
MrSubmit
(mtz, mr_program, refine_program, refine_type, output_dir, tmp_dir, timeout, enant=False)[source]¶Bases: object
Class to run MR on a defined set of models
Examples
>>> from simbad.mr import MrSubmit
>>> MR = MrSubmit('<mtz>', '<mr_program>', '<refine_program>', '<refine_type>', '<output_dir>', '<enam>')
>>> MR.submit_jobs('<results>', '<nproc>', '<submit_cluster>', '<submit_qtype>', '<submit_queue>',
... '<submit_array>', '<submit_max_array>', '<process_all>', '<monitor>')
If a solution is found and process_all is not set, the queued jobs will be terminated.
Attributes: |
|
---|
Methods
fft (hklin, mapout, map_type) |
Function to run fft to generate difference maps for uglymol |
get_mtz_info (mtz) |
Get various information from the input MTZ |
submit_jobs (results[, nproc, process_all, …]) |
Submit jobs to run in serial or on a cluster |
summarize (csv_file) |
Summarize the search results |
cell_parameters
¶The cell parameters of the input MTZ file
enant
¶Flag to decide if enantiomorphic spacegroups should be trialled
f
¶The F column label of the input MTZ file
fft
(hklin, mapout, map_type)[source]¶Function to run fft to generate difference maps for uglymol
Parameters: |
|
---|---|
Returns: |
|
Raises: |
|
free
¶The FREE column label of the input MTZ file
get_mtz_info
(mtz)[source]¶Get various information from the input MTZ
Parameters: |
|
---|---|
Returns: |
|
i
¶The I column label of the input MTZ file
mr_program
¶The molecular replacement program to use
mr_python_module
¶The MR python module
mtz
¶The input MTZ file
output_dir
¶The path to the output directory
refine_program
¶The refinement program to use
refine_python_module
¶The Refinement python module
resolution
¶The resolution of the input MTZ file
search_results
¶The results from the amore rotation search
sigf
¶The SIGF column label of the input MTZ file
sigi
¶The SIGI column label of the input MTZ file
space_group
¶The space group of the input MTZ file
submit_jobs
(results, nproc=1, process_all=False, submit_qtype=None, submit_queue=False, monitor=None)[source]¶Submit jobs to run in serial or on a cluster
Parameters: |
|
---|---|
Returns: |
|
summarize
(csv_file)[source]¶Summarize the search results
Parameters: |
|
---|---|
Raises: |
|
timeout
¶The time in minutes before phaser is killed