Import coordinates¶
While we will not use this functionality in this tutorial, here we describe briefly how one can import coordinates of particles picked outside RELION, for example by using picking software such as crYOLO
[WMS+19].
We assume, for illustration purpose, that the coordinate files are one text file per tomogram, containing particle coordinates that have been picked in the tomograms obtained from a Reconstruct tomograms or Denoise tomgorams job, with the file names containing the tomogram name (e.g. rec_TS_01.coords
) and are located in a directory PARTICLE_COORDS
.
Select Import from the jobt-type browser on the left and fill in the following parameters on the Coordinates tab:
- Or Import coordinates instead?:
Yes
- Input coordinates?:
PARTICLE_COORDS/rec_TS_*
(Alternatively, if the particle files are in RELION STAR file format, then the input coordinate file should be a 2-column STAR file with columns
rlnTomoName
andrlnTomoImportParticleFile
for the tomogram names and their corrsesponding particle coordinate files.)- Remove substring from filenames::
rec_
(This field and the one below allow the import program to find the tomogram name in the file name.)
- Second substring to remove:
.coords
- Text files contain centered coordinates?:
No
- Multiply coords in text files with::
7.407407
(If the coordinates are with respect to the binning/voxel size in the tomograms in
Denoise/job008/tomograms/
, this is the number that they will be multiplied with so that the resulting coordinates correspond to the pixel size in the motion-corrected tilt series. In this case, this is found in therlnTomoTomogramBinning
column of theDenoise/job008/tomograms.star
file.)- Add this to coords in text files::
0
Inside the newly created directory, you will find the imported particle set particles.star
file.
This should then be used as input to a new Extract subtomos job together with the tomogram set tomograms.star
file containing the details of the tomograms used for picking outside RELION:
- Input optimisation set::
“”
- OR: use direct entries?:
Yes
- Input particle set::
Import/jobXX/particles.star
- Input tomogram set::
Denoise/job008/tomograms.star
This will generate new 2D stacks or 3D pseudo-subtomograms that can be used in the next refinement steps.
The resulting particles can be visualised using the Napari plugin in a new Pick tomograms job with Picking mode
set to particles
, as explained in the Visualising the remaining particles section.