CCP-EM Jobs: Validation and Map Processing
CCP-EM jobs for model validation and scoring, and map processing
This page covers the CCP-EM job types in ccpem-pipeliner that perform atomic model validation, scoring, and map processing. These jobs let you assess model quality (geometry, map fit, glycan conformation, sequence agreement, rigid-body decomposition), compute confidence maps and difference maps, sharpen or denoise reconstructions, and manipulate map geometry — all as discrete, reproducible pipeline steps. Because no CCP-EM job supports continuation, each run creates a new job with a new sequential number.
All CCP-EM jobs follow the same pattern as any other pipeliner job: import PipelinerProject from pipeliner.api.manage_project, set job options via job.joboptions["key"].value = ..., and call proj.run_job() or proj.schedule_job(). Because none of these jobs set can_continue = True, calling get_continuation_job() on them raises NotImplementedError; use run_job(overwrite=...) to redo a step.
Job options are always set on the .value property of the entry in job.joboptions. Multiple-input options (e.g. input_models) hold a List[str] and serialise their values with ::: as the separator in run.job and star files.
Availability of each job depends on whether its required external programs are on the process PATH at the time the job object is created. If a required executable is missing, the job loads normally with job.jobinfo.is_available == False and job.jobinfo.unavailable_message populated; it can still be scheduled and will fail at execution time.
Model validation and scoring
pipeliner.atomic_model_validation — Atomic model validation (ModelValidate)
Runs multiple validation metrics against an atomic model and optional map:
| Option key | Label | Type | Notes |
|---|---|---|---|
input_model | Input model | InputNode (required) | .cif, .pdb, .ent |
quick_eval | Quick evaluation? | Boolean | Runs only Molprobity clashes and TEMPy SMOC when True; deactivates FSC, global, FDR, CheckMySequence |
run_molprobity | Molprobity (Geometry statistics) | Boolean | Requires molprobity.molprobity on PATH |
run_fsc | Servalcat FSC (Model-map FSC) | Boolean | Deactivated when quick_eval=True |
run_glob | TEMPy global (Real space map fit) | Boolean | Requires TEMPy.scores; deactivated when quick_eval=True |
run_smoc | TEMPy SMOC (Per-residue map fit) | Boolean | Requires TEMPy.smoc |
run_fdr | FDR backbone (Per-residue backbone trace) | Boolean | Deactivated when quick_eval=True |
run_checkmysequence | CheckMySequence (Sequence agreement) | Boolean | Deactivated when quick_eval=True |
input_map | Input map | InputNode | .mrc, .ccp4, .map; required for global/SMOC/FDR/CheckMySequence metrics |
resolution | Resolution | Float | Å; required when run_glob=True or run_smoc=True |
input_halfmap1 | Input halfmap 1 | InputNode | For model-map FSC |
input_halfmap2 | Input halfmap 2 | InputNode | For model-map FSC |
input_mask | Input map mask | InputNode | .mrc, .ccp4, .map; used by the TEMPy global score and, when use_mask_fsc=True, the model-map FSC |
use_mask_fsc | Use input mask for FSC? | Boolean | — |
input_contour | Input contour threshold? | Boolean | Use contour for masking when no mask is provided |
contourlevel | Contour Level | Float | Default -100 |
input_fdrmap | Input FDR confidence map | InputNode | Pre-calculated confidence map |
input_sequence | Input sample sequence | InputNode | For CheckMySequence |
Required external program: gemmi. Additional programs are checked when the job options are validated (for example at scheduling), depending on which metrics are enabled (molprobity.molprobity, TEMPy.scores, TEMPy.smoc, checkmysequence, and the FDRcontrol script when no FDR map is given). servalcat is not checked.
Output directory: ModelValidation/
molprobity.atomic_model_validation.geometry — Molprobity (ValidateGeometry)
Assesses atomic model stereo-chemistry: clashes, Ramachandran angles and Z-scores, side-chain rotamers, Cβ deviations, cis-peptides. Up to three models can be compared in one job.
| Option key | Label | Type | Notes |
|---|---|---|---|
input_models | Input models | MultiInputNode (required) | .cif, .pdb; maximum 3 |
run_global | Comprehensive assessment? | Boolean | Full molprobity run; requires molprobity.molprobity |
run_clashscore | Clashscore? | Boolean | Requires molprobity.clashscore; deactivated when run_global=True |
run_rama | Ramalyze? | Boolean | Requires molprobity.ramalyze; deactivated when run_global=True |
run_rota | Rotalyze? | Boolean | Requires molprobity.rotalyze; deactivated when run_global=True |
resolution | Resolution | Float | Optional; used to report resolution-range percentiles |
At least one run mode must be selected, or the job raises a validation error.
Required external program: molprobity.molprobity (CCP4 ≥ 8.0.015). Input .cif files are automatically converted to .pdb via gemmi convert --shorten before being passed to Molprobity.
Outputs (vary by mode): per-model *_molprobity.out (NODE_LOGFILE), *_clashscore.json, *_ramalyze.json, *_rotalyze.json (NODE_EVALUATIONMETRIC). CIF inputs also produce a converted .pdb (NODE_ATOMCOORDS).
Output directory: Molprobity/
tempy.atomic_model_validation.map_fit — TEMPy Scores (TEMPyMapFit)
Computes global map-fit scores (CCC, MI, model overlap) and per-residue SMOC scores. Up to three models can be assessed against one map.
| Option key | Label | Type | Notes |
|---|---|---|---|
input_models | Input models | MultiInputNode (required) | .cif, .pdb; maximum 3 |
input_map | Input map | InputNode (required) | .mrc, .ccp4, .map |
resolution | Resolution | Float (required) | Å |
run_global_only | Calculate global scores only? | Boolean | Deactivated when run_smoc_only=True |
run_smoc_only | Calculate SMOC score only? | Boolean | Deactivated when run_global_only=True |
input_mask | Input map mask | InputNode | Preferred over contour; deactivated when run_smoc_only=True |
input_contour | Input contour threshold? | Boolean | Deactivated when mask is supplied or run_smoc_only=True |
contourlevel | Contour Level | Float | Default -9999; used when input_contour=True |
calc_contour | Auto estimate contour? | Boolean | Estimates contour from map σ |
When global scores are enabled, one of mask, contour, or auto-contour must be provided, or the job raises a validation error.
Required external programs: TEMPy.smoc and TEMPy.scores (pip install biotempy, requires biotempy ≥ 2.2.0a3).
Outputs (vary by mode): per-model-map globscores_<modelid>_vs_<mapid>.csv (NODE_EVALUATIONMETRIC) and <modelid>_<mapid>_smoc_score.json (NODE_EVALUATIONMETRIC).
Output directory: TEMPyScores/
privateer.atomic_model_validation.glycans — Privateer (PrivateerValidate)
Evaluates and improves atomic structures of carbohydrates and N-glycans.
| Option key | Label | Type | Notes |
|---|---|---|---|
input_model | Input model | InputNode (required) | .cif, .pdb |
input_map | Input map | InputNode (required) | .mrc, .ccp4, .map |
resolution | Resolution | Float (required) | Å |
mask_radius | Mask radius | Float | Default 2.5; hard min 1.0 |
expression_system_mode | Validate against: | MultipleChoice | undefined (default), bacterial, fungal, yeast, plant, insect, mammalian, human |
glytoucan | Check in Glytoucan/Glyconnect? | Boolean | Default True |
closestmatch | Find closest match? | Boolean | Deactivated when glytoucan=False |
allpermutations | Generate all permutations for search? | Boolean | Deactivated when glytoucan=False or closestmatch=False; expensive for O-glycans |
undefinedsugar | Undefined sugar present? | Boolean | Enables custom sugar group |
undefinedsugar_code | Analyse sugar with code | String | PDB 3-letter code; required when undefinedsugar=True |
input_anomer | Sugar anomer | MultipleChoice | alpha (default), beta |
input_handedness | Sugar handedness | MultipleChoice | -D- (default), -L- |
input_ring_conformation | Ring conformation | MultipleChoice | pyranose (default), furanose |
input_conformation_pyranose | Pyranose conformation | MultipleChoice | 38 options, default 4c1 |
input_conformation_furanose | Furanose conformation | MultipleChoice | 20 options, default 3t2 |
ring_oxygen | Atom code of anomeric Oxygen | String | Default O5 |
ring_C1 … ring_C5 | Atom code of ring C1 … | String | Defaults C1–C5 |
ncpus | Number of cores | Int | Default 1; increase to parallelise |
Required external program: privateer.
Output directory: Privateer/
dpiscore.interface_validation — DPI-Score (DPIscore)
Assesses protein-protein interface quality using a pre-trained graph neural network.
| Option key | Label | Type | Notes |
|---|---|---|---|
input_structure | Input structure | InputNode (required) | .pdb, .cif, .mmcif, .ent |
model_path | Pretrained model | String (required) | Path to pre-trained model directory |
batch_size | Batch size for inference | Int | Default 64; use powers of 2 |
min_num_residues | Minimum interface size | Int | Default 10; hard min 1 |
max_neighbours_dist | Maximum distance for interface detection | Float | Default 7.0 Å; hard min 1.0 |
min_neighbours_chains | Minimum chain length | Int | Default 30; hard min 1 |
use_gpu | Use GPU acceleration? | Boolean | Default False |
gpu_ids | Which GPUs to use: | String | Deactivated when use_gpu=False |
Required external program: dpi-inference.
Outputs: results/dataset_<model_basename>.csv (NODE_EVALUATIONMETRIC), colour_model_by_dpiscore_prob.json (NODE_VISUALISATIONSCRIPT).
Output directory: DPIscore/
confidencemap.map_analysis — Confidence Map (ConfidenceMap)
Thresholds cryo-EM density maps by False Discovery Rate (FDR) control.
| Option key | Label | Type | Notes |
|---|---|---|---|
input_map | Input map | InputNode (required) | .mrc only; raw or unmasked |
window_size | Window size | Int | Pixels; if blank, calculated as 5% of map size or 10, whichever is greater |
noise_box_coordx/y/z | Noise box coordinate X/Y/Z | Int | All three required together if any one is set |
apix | Pixel size | Float | Å; if blank, read from map header |
meanMap | Mean map | InputNode | Optional 3D map of noise means |
varianceMap | Variance map | InputNode | Optional 3D map of noise variance |
locResMap | Local resolution map | InputNode | Optional local resolution map |
method | Method | MultipleChoice | FDR-BY, FDR-BH (default), FWER-Holm, FWER-Hochberg |
test_proc | Test procedure | MultipleChoice | Left-sided, Right-sided (default), Two-sided |
lowPassFilter | Low-pass filter | Float | Optional; resolution in Å for pre-filter |
ecdf | Use ECDF? | Boolean | Default False |
Required external programs: ccpem-python and the FDRcontrol.py script located relative to it.
Outputs: <mapid>_confidenceMap.mrc (NODE_MASK3D), diag_image.pdf (NODE_LOGFILE).
Output directory: ConfidenceMap/
ribfind.atomic_model_split.rigid_body — RIBFIND (RigidBodySplit)
Clusters secondary structures into rigid bodies using RIBFIND2. Protein and RNA components are processed separately.
| Option key | Label | Type | Notes |
|---|---|---|---|
input_model | Input model | InputNode (required) | .cif, .pdb |
structure_content | Structure content | MultipleChoice | protein (default), RNA, protein+RNA |
Required external programs: ribfind (version 2.x required) and gemmi. When structure_content includes RNA, rnaview must be on PATH. When protein is included, mkdssp (CCP4) must be on PATH. These secondary-program checks are performed at validation time, not at job creation.
Outputs: ribfind.dssp (NODE_PROCESSDATA, protein mode), <model>_no_wat_lig.pdb.xml (NODE_PROCESSDATA, RNA mode), plus rigid-body .txt files (NODE_RIGIDBODIES) and a ribfind_<modelid>_outputs.json (NODE_RESTRAINTS) discovered after the run.
Output directory: RIBFIND/
proshade.map_analysis.symmetry — ProShade Symmetry (ProShadeJobSym)
Detects point-group symmetry, symmetry axes, and symmetry elements from a map.
| Option key | Label | Type | Notes |
|---|---|---|---|
input_map | Input map | InputNode (required) | .mrc |
point_sym | Expected symmetry | String | e.g. C3, D2, T, O; forces search to prefer this group if found |
Required external program: proshade. Also requires the CCPEM share directory (PIPELINER_CCPEM_SHARE_DIR); if not found, the job loads with is_available=False.
Outputs: proshade_symmetry.json (NODE_LOGFILE).
Output directory: ProShade/
proshade.map_utilities.overlay — ProShade Overlay (ProShadeJobOverlay)
Finds the rotation and translation to optimally overlay one map or model on another.
| Option key | Label | Type | Notes |
|---|---|---|---|
static_ismap | Static structure is map? | Boolean | Default True; if False, use static_model |
static_map | Static map | InputNode | .mrc, .map, .ccp4; required when static_ismap=True |
static_model | Static atomic model | InputNode | .ent, .pdb; required when static_ismap=False |
moving_ismap | Moving structure is map? | Boolean | Default True |
moving_map | Moving map | InputNode | Required when moving_ismap=True |
moving_model | Moving atomic model | InputNode | Required when moving_ismap=False |
add_space / extra_space | Add extra space around structure? / Extra space around structure | Boolean / Float | extra_space default 0.0; required when add_space=True |
Required external program: proshade. Also requires CCPEM share directory.
Output directory: ProShade/
emdb_validation_analysis.map_model_validation — EMDB Validation Analysis (MapModelValidate)
Runs the EMDB validation analysis tool (va) on an input map and model, reporting map and model metrics.
Registered entry point: emdb_validation_analysis.map_model_validation → pipeliner.jobs.other.emdb_validation_analysis_job:MapModelValidate
Output directory: EMDB_validation/
Map processing and utilities
locscale.postprocess.local_sharpening — LocScale (LocalSharpen)
Reference-based local amplitude scaling to improve map contrast.
| Option key | Label | Type | Notes |
|---|---|---|---|
input_halfmap1 | Input halfmap 1 | InputNode (required) | .mrc, .ccp4, .map; tagged halfmap |
input_halfmap2 | Input halfmap 2 | InputNode (required) | .mrc, .ccp4, .map; tagged halfmap |
method | Method | MultipleChoice | Feature enhance (default), Model-free, Hybrid, Model-based |
input_model | Input model | InputNode | .cif, .pdb; required for Model-based and Hybrid |
ligand_cif | Ligand dictionary (cif) | InputNode | .cif; for new ligands not in CCP4 monomer library |
sym_group | Symmetry group | String | Default C1; deactivated for Model-based |
use_gpu | Use GPU acceleration? | Boolean | Default True; deactivated for Model-based and Hybrid |
gpu_ids | Which GPUs to use: | String | Space-separated; required when GPU enabled for non-model-based modes |
ncpus | Number of cores | Int | Default 1; only active for Feature enhance |
use_advanced | Use advanced options? | Boolean | Default False |
locscale_window | LocScale window size | Int | Pixels; advanced only |
resolution | Resolution | Float | Å; advanced only |
input_mask | Input mask | InputNode | .mrc; advanced only |
fdr_window | FDR window size | Int | Advanced only; deactivated when mask is provided |
use_low_context | Use low context model for EMmerNet? | Boolean | Advanced only; deactivated for Model-based/Hybrid |
mc_cycles | Monte-carlo cycles | Int | Default 15; advanced, Feature enhance only |
batch_size | Batch size | Int | Default 8; advanced, non-model-based |
stride | Stride | Int | Default 16; advanced, non-model-based |
model_path | Custom trained model: | ExternalFile | .h5, .hdf5; advanced, non-model-based |
pseudomodel_cycles | Pseudomodal cycles | Int | Default 0; Hybrid only |
skip_brefine | Skip B-factor refinement? | Boolean | Default False; Model-based only |
brefinement_cycles | B-factor refinement cycles | Int | Default 10; deactivated when skip_brefine=True |
MPI-enabled (use nr_mpi and mpi_command); MPI options are deactivated for Feature enhance mode.
Required external program: locscale.
Outputs: locscale_output.mrc (NODE_DENSITYMAP), processing_files/locscale.log (NODE_LOGFILE), and colour_output_by_pVDDT.json (NODE_VISUALISATIONSCRIPT, Feature enhance only).
Output directory: LocScale/
lafter.postprocess.local_denoising — LAFTER (LafterJob)
Local de-noising of cryo-EM maps using a local agreement filtering algorithm applied to half-map pairs.
| Option key | Label | Type | Notes |
|---|---|---|---|
half_map_1 | Half map 1 | InputNode (required) | .mrc, .map |
half_map_2 | Half map 2 | InputNode (required) | .mrc, .map |
mask | Input mask | InputNode | .mrc, .map; MRC mode 2; required if no particle diameter or diameter ≤ 20 |
particle_diameter | Particle diameter | Float | Voxels; required when no mask; must be > 20 |
sharp | Additional sharpening | Boolean | Default False |
fsc | FSC cut-off threshold | Float | Default 0.143; range 0.1–1.0 |
oversample | Over-sample output? | Boolean | Default False; doubles output file size |
overfitting | Compensate for overfitting | Boolean | Default False |
Required external program: lafter.
Outputs: LAFTER_filtered.mrc (NODE_DENSITYMAP).
Output directory: Lafter/
servalcat.difference_map — Servalcat Difference Map (DifferenceMap)
Calculates a weighted Fo-Fc difference map from half-maps and an atomic model.
| Option key | Label | Type | Notes |
|---|---|---|---|
input_model | Input model | InputNode (required) | .cif, .pdb |
input_ligand | Input ligand | InputNode | .cif; ligand dictionary |
resolution | Resolution | Float (required) | Å |
input_half_map1 | Input map 1 | InputNode (required) | Half map 1 |
input_half_map2 | Input map 2 | InputNode (required) | Half map 2 |
input_mask | Input mask | InputNode | .mrc, .map |
mask_radius | Mask radius | Float | Default 25; hard min 0; used when no mask provided; required when input_mask is empty |
Required external program: servalcat. Also uses gemmi sf2map to convert the output MTZ to MRC.
Outputs: diffmap.mtz (NODE_STRUCTUREFACTORS), diffmap.mrc (NODE_DENSITYMAP).
Output directory: ServalcatDifferenceMap/
servalcat.mask_creation.mask_from_model — Servalcat Mask from Model (ServalcatMaskFromModel)
Generates a mask from an atomic model using a reference map for grid parameters.
| Option key | Label | Type | Notes |
|---|---|---|---|
input_model | Input model | InputNode (required) | .cif, .mmcif, .pdb |
input_map | Reference map | InputNode (required) | .mrc, .map; used for grid size and cell parameters only |
radius | Mask radius (Å) | Float (required) | Default 4.0; hard min 0 |
soft_edge | Soft edge radius (Å) | Float | Default 4.0; hard min 0 |
atom_selection | Atom selection | String | Gemmi selection syntax; e.g. //A/10-30 |
Required external programs: servalcat (≥ 0.4.88 / CCP4 ≥ 9.0.005) and gemmi.
Outputs: mask_from_model.mrc (NODE_MASK3D).
Output directory: MaskCreate/
gemmi.atomic_model_utilities.model_to_map — Gemmi Model to Map (GemmiModelToMap)
Calculates a density map from an atomic model using gemmi sfcalc.
| Option key | Label | Type | Notes |
|---|---|---|---|
input_model | Input model | InputNode (required) | .cif, .pdb |
resolution | Resolution | Float (required) | Default 10.0 Å |
reference_map | Reference map | InputNode | .mrc, .map; optional; extracts grid dimensions |
ref_aligned | Reference map aligned? | Boolean | Default True; deactivated when reference_map is empty |
cell_x / cell_y / cell_z | Cell x/y/z | Float | Optional cell dimensions in Å; all three required together |
No external programs required (uses the bundled gemmi Python library and a job script).
Outputs: gemmi_<model_stem>.mrc (NODE_DENSITYMAP).
Output directory: GemmiModelToMap/
ccpem_utils.map_utilities.crop_pad_mask_map — Crop, Pad or Mask Map (CropPadMap)
Applies a mask, crops, or pads maps using the CCP-EM Utils library. Accepts multiple input maps.
| Option key | Label | Type | Notes |
|---|---|---|---|
input_map | Map to process | MultiInputNode (required) | .mrc, .map, .ccp4 |
crop_map | Crop map? | Boolean | Default False; mutually exclusive with pad_map |
pad_map | Pad map? | Boolean | Default False; mutually exclusive with crop_map |
apply_mask | Apply input mask? | Boolean | Default False; mutually exclusive with threshold_map |
threshold_map | Threshold map? | Boolean | Default False; mutually exclusive with apply_mask |
crop_mode | Crop based on | MultipleChoice | dimensions (default), input_mask, input_contour; deactivated when crop_map=False |
input_mask | Input mask | InputNode | .mrc, .ccp4, .map; required when apply_mask=True or crop_mode=input_mask |
thr_mask | Threshold mask at | Float | Default 0; deactivated for contour/dimensions modes |
contourlevel | Contour Level | Float | Default -100; required when thresholding or crop_mode=input_contour |
croppad_x/y/z | Crop/Pad along X/Y/Z | Int | Default 0; used in dimensions crop or pad mode |
add_padding | Add padding | Int | Default 10; used with mask/contour crop modes |
out_cubic | Output cubic map? | Boolean | Default False; deactivated for dimensions crop |
fill_padding | Fill padding with | MultipleChoice | minimum (default), zero, input_value; deactivated when pad_map=False |
fill_value | Padding fill value | Float | Default 0.0; required when fill_padding=input_value |
No external programs required.
Output node type matches the input node type (density map or mask). Output filenames are derived from input names with suffixes reflecting the operation (e.g. _masked_cropped.mrc).
Output directory: CropPadMaskMap/
ccpem_utils.map_utilities.shift_origin_nstart — Map Shift (MapShift)
Sets the map origin or nstart header record based on a reference map or explicit coordinates. Processes multiple maps and masks in one job.
| Option key | Label | Type | Notes |
|---|---|---|---|
input_maps | Input associated maps | MultiInputNode (required) | .mrc, .ccp4, .map |
input_masks | Input associated masks | MultiInputNode | .mrc, .ccp4, .map; optional |
origin_or_nstart | Header record to set | MultipleChoice | origin (default), nstart, both |
reference_map | Input reference map | InputNode | Reference to copy header values from |
origin_x/y/z | Origin coordinate along X/Y/Z | Float | Default 0; used when no reference and origin is being set |
nstart_x/y/z | Nstart coordinate along X/Y/Z | Int | Default 0; used when no reference and nstart is being set |
No external programs required.
Outputs: per-input <mapid>_shifted.mrc preserving the input node type (NODE_DENSITYMAP or NODE_MASK3D).
Output directory: MapShift/
Example 1 — Run Molprobity geometry assessment on a refined model
import os
from pipeliner.api.manage_project import PipelinerProject
from pipeliner.api.api_utils import write_default_jobstar, edit_jobstar
os.chdir("/data/my_project")
proj = PipelinerProject()
# Generate a default job.star template
template = write_default_jobstar("molprobity.atomic_model_validation.geometry")
# Edit parameters
params = {
"input_models": "ServalcatRefine/job005/refined.mmcif",
"run_global": "Yes",
"resolution": "3.2",
}
edited = edit_jobstar(template, params, "molprobity_run.star")
# Run the job
job = proj.run_job(edited, run_in_foreground=True)
Example 2 — Schedule an atomic model validation job and wait for it to finish
import os
from pipeliner.api.manage_project import PipelinerProject
from pipeliner.job_factory import new_job_of_type
os.chdir("/data/my_project")
proj = PipelinerProject()
job = new_job_of_type("pipeliner.atomic_model_validation")
job.joboptions["input_model"].value = "ServalcatRefine/job005/refined.mmcif"
job.joboptions["input_map"].value = "PostProcess/job008/postprocess.mrc"
job.joboptions["input_halfmap1"].value = "Refine3D/job007/run_half1_class001_unfil.mrc"
job.joboptions["input_halfmap2"].value = "Refine3D/job007/run_half2_class001_unfil.mrc"
job.joboptions["resolution"].value = "3.2"
job.joboptions["run_molprobity"].value = "Yes"
job.joboptions["run_smoc"].value = "Yes"
job.joboptions["run_fsc"].value = "Yes"
# schedule_job takes a job file or a params dict, not a PipelinerJob,
# so write the job's options to a job.star file first
job.write_jobstar("", output_fn="model_validation_job.star")
scheduled = proj.schedule_job("model_validation_job.star")
proj.run_scheduled_job(scheduled, run_in_foreground=True)
final_status = proj.wait_for_job_to_finish(scheduled, error_on_fail=True)
Example 3 — Run LAFTER denoising on half-maps from a prior refinement job
import os
from pipeliner.api.manage_project import PipelinerProject
from pipeliner.api.api_utils import write_default_jobstar, edit_jobstar
os.chdir("/data/my_project")
proj = PipelinerProject()
template = write_default_jobstar("lafter.postprocess.local_denoising")
params = {
"half_map_1": "Refine3D/job007/run_half1_class001_unfil.mrc",
"half_map_2": "Refine3D/job007/run_half2_class001_unfil.mrc",
"mask": "MaskCreate/job009/mask.mrc",
"fsc": "0.143",
}
edited = edit_jobstar(template, params, "lafter_run.star")
job = proj.run_job(edited, run_in_foreground=True)