cryosparc
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| cryosparc [2021/08/11 13:46] – created bonnefon | cryosparc [2024/08/07 15:51] (current) – Luc Bonnefond | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== using cryoSPARC ====== | ||
| + | |||
| + | ===== modify the particles.star file from Warp ===== | ||
| + | |||
| + | The particles.star files generated by Warp during the on-the-fly processing link each particle to its tif movie. To import the particles in cryoSPARC and keep the link with the motion corrected micrographs, | ||
| + | |||
| + | To edit the particles.star file in **vi** type: < | ||
| + | |||
| + | Change the location of movies to the motion corrected ones: | ||
| + | < | ||
| + | : | ||
| + | %s/ < | ||
| + | </ | ||
| + | |||
| + | Change the file type of the motion corrected micrographs: | ||
| + | < | ||
| + | : | ||
| + | %s/tif/mrc | ||
| + | </ | ||
| + | |||
| + | Save the changes and close **vi**: | ||
| + | < | ||
| + | : | ||
| + | wq! | ||
| + | </ | ||
| + | |||
| + | You can now import the particles in **cryoSPARC** using the **Import Particle Stack** job and parameters: | ||
| + | * Micrograph data path: < | ||
| + | * Particle meta path: < | ||
| + | * Particle data path: < | ||
| + | * Check : < | ||
| + | |||
| + | |||
| + | ---- | ||
| + | ===== Reduce the size of a particle stack subset ===== | ||
| + | |||
| + | To reduce the size of the space required on the SSD cache if you are working with a subset of the full extracted particles stack (after selecting a subset of particles with < | ||
| + | * Run a < | ||
| + | The output can be used for further processing and will be smaller and thus faster to load on the scratch. Otherwise the full stask will be loaded in the scratch event thoush only part of it will be used. | ||
| + | |||
| + | ---- | ||
| + | ===== Generate a defect file for cryoSPARC ===== | ||
| + | |||
| + | |||
| + | Gain/defect files coming from Glacios must be flipped along Y axis when imported in cryoSPARC. | ||
| + | |||
| Gain file is by default named CountRef...mrc (with a pixel size of 1) | Gain file is by default named CountRef...mrc (with a pixel size of 1) | ||
| Line 20: | Line 66: | ||
| The pixel size will messed-up and has to be fixed to get back to a value of 1 | The pixel size will messed-up and has to be fixed to get back to a value of 1 | ||
| alterheader -fixpixel Gain_subimage...mrc | alterheader -fixpixel Gain_subimage...mrc | ||
| - | Now the Gain_substracted...mrc file has a zero value for defective pixels instead of 1). | + | Now the Gain_substracted...mrc file has a zero value for defective pixels instead of 1. |
| + | |||
| + | Remark: the defect file generated by the Glacios now (2021-10-27) is a map mode 2 and has a pixel spacing of 0.9372, but the images have a pixel spacing of 0.901. It might be better to change the last command by | ||
| + | alterheader -del 0.901, | ||
| + | |||
| + | |||
| + | |||
| + | |||
| + | < | ||
| + | |||
| + | RO image file on unit 2 : defects_40S_ScVdelta_03939_Oct27_11.34.51.mrc | ||
| + | |||
| + | | ||
| + | Map mode .............................. | ||
| + | Start cols, rows, sects, grid x,y,z ... 0 | ||
| + | Pixel spacing (Angstroms).............. | ||
| + | Cell angles ........................... | ||
| + | Fast, medium, slow axes ............... | ||
| + | | ||
| + | | ||
| + | | ||
| + | Mean density .......................... | ||
| + | tilt angles (original, | ||
| + | Space group,# extra bytes, | ||
| + | |||
| + | 1 Titles : | ||
| + | Digital Micrograph(TM), | ||
| + | |||
| + | |||
| + | | ||
| + | Map mode .............................. | ||
| + | Start cols, rows, sects, grid x,y,z ... 0 | ||
| + | Pixel spacing (Angstroms).............. | ||
| + | Cell angles ........................... | ||
| + | Fast, medium, slow axes ............... | ||
| + | | ||
| + | | ||
| + | | ||
| + | Mean density .......................... | ||
| + | tilt angles (original, | ||
| + | Space group,# extra bytes, | ||
| + | |||
| + | 4 Titles : | ||
| + | SerialEMCCD: | ||
| + | CountRef_9AR3_00001_Oct27_15.55.18_X+0Y+0-1.dm4 | ||
| + | defects_40S_ScVdelta_03939_Oct27_11.34.51.txt | ||
| + | clip defectmap: Map of defective pixels in image 28-Oct-21 | ||
| + | |||
| + | |||
| + | NEW image file on unit 3 : CountRef_9AR3_00001_Oct27_15.55.18_X+0Y+0-1_subimage.mrc | ||
| + | | ||
| + | 0 | ||
| + | |||
| + | | ||
| + | |||
| + | OLD image file on unit 2 : CountRef_9AR3_00001_Oct27_15.55.18_X+0Y+0-1_subimage.mrc | ||
| + | |||
| + | | ||
| + | Map mode .............................. | ||
| + | Start cols, rows, sects, grid x,y,z ... 0 | ||
| + | Pixel spacing (Angstroms).............. | ||
| + | Cell angles ........................... | ||
| + | Fast, medium, slow axes ............... | ||
| + | | ||
| + | | ||
| + | | ||
| + | Mean density .......................... | ||
| + | tilt angles (original, | ||
| + | Space group,# extra bytes, | ||
| + | |||
| + | 2 Titles : | ||
| + | Digital Micrograph(TM), | ||
| + | SUBIMAGE: Subtract section B from section A. 28-Oct-21 | ||
| + | |||
| + | | ||
| + | which will make pixel spacing be 1.0 1.0 1.0. | ||
| + | |||
| + | RO image file on unit 3 : CountRef_9AR3_00001_Oct27_15.55.18_X+0Y+0-1_subimage.mrc | ||
| + | |||
| + | | ||
| + | Map mode .............................. | ||
| + | Start cols, rows, sects, grid x,y,z ... 0 | ||
| + | Pixel spacing (Angstroms).............. | ||
| + | Cell angles ........................... | ||
| + | Fast, medium, slow axes ............... | ||
| + | | ||
| + | | ||
| + | | ||
| + | Mean density .......................... | ||
| + | tilt angles (original, | ||
| + | Space group,# extra bytes, | ||
| + | |||
| + | 2 Titles : | ||
| + | Digital Micrograph(TM), | ||
| + | SUBIMAGE: Subtract section B from section A. 28-Oct-21 | ||
| + | |||
| + | |||
| + | alterheader -del 0.901, | ||
| + | |||
| + | OLD image file on unit 2 : CountRef_9AR3_00001_Oct27_15.55.18_X+0Y+0-1_subimage.mrc | ||
| + | |||
| + | | ||
| + | Map mode .............................. | ||
| + | Start cols, rows, sects, grid x,y,z ... 0 | ||
| + | Pixel spacing (Angstroms).............. | ||
| + | Cell angles ........................... | ||
| + | Fast, medium, slow axes ............... | ||
| + | | ||
| + | | ||
| + | | ||
| + | Mean density .......................... | ||
| + | tilt angles (original, | ||
| + | Space group,# extra bytes, | ||
| + | |||
| + | 2 Titles : | ||
| + | Digital Micrograph(TM), | ||
| + | SUBIMAGE: Subtract section B from section A. 28-Oct-21 | ||
| + | |||
| + | |||
| + | RO image file on unit 3 : CountRef_9AR3_00001_Oct27_15.55.18_X+0Y+0-1_subimage.mrc | ||
| + | |||
| + | | ||
| + | Map mode .............................. | ||
| + | Start cols, rows, sects, grid x,y,z ... 0 | ||
| + | Pixel spacing (Angstroms).............. | ||
| + | Cell angles ........................... | ||
| + | Fast, medium, slow axes ............... | ||
| + | | ||
| + | | ||
| + | | ||
| + | Mean density .......................... | ||
| + | tilt angles (original, | ||
| + | Space group,# extra bytes, | ||
| + | |||
| + | 2 Titles : | ||
| + | Digital Micrograph(TM), | ||
| + | SUBIMAGE: Subtract section B from section A. | ||
| + | </ | ||
| + | |||
cryosparc.1628689565.txt.gz · Last modified: (external edit)
