-
Notifications
You must be signed in to change notification settings - Fork 193
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
how RELION extracts _rlnCoordinateX values from the .star file.?? #1102
Comments
First of all, I don't think this is a good idea. Each segment is in different orientations, so a simple rectangular mask does not necessarily match the direction. Next, sharp edges in a mask are bad for data processing. |
oky, yes I understand. But how can I set a rectangular mask in a 2D classification? I am working with filaments and a rectangular mask would help me to reduce the mask without loosing edge information of the filament |
RELION internally does this. You should not modify extracted particles. |
Hi, well, even though each segment is in different orientations, a rectangular mask will hide everything out the mask so that during 2D alignment will align the segments. Isn´t it? Thanks |
Did you read the paper above? |
Yes I did, you are talking about the outer diameter of the filament that eventually forms a rectangular mask? I might missunderstand something. |
Yes. |
So what you mean is that if I reduce to the max the set tube diameter during 2D classification, it will as if I was making a rectangular mask of the filaments? |
That is my understanding. |
Hi again! Written: run_class50.star with 1981 item(s) Then, I want to use the in-plane angular information be present in the data.star after 2D classification in order to create a stack of aligned segments: relion_stack_create --i run_class50.star --o run_class50_stack --apply_transformation However I got the same error all the time: "it says that the file does not exist, and I does!! WARNING: --apply_transformation uses real space interpolation. It also invalidates CTF parameters (e.g. beam tilt & astigmatism). This can degrade the resolution. USE WITH CARE!!
|
When I look at the run_class50.star file. The filename corresponds to this: |
Why do you want to do this? As the warning says, this will degrade the data quality and is not recommended. You are trying many unusual things with dubious benefits. Didn't our standard, recommended data processing protocol work?
Aren't you running this inside the |
Hi there!
I am writing to you because I am facing a problem that might be related to the way RELION extracts or relates the particles in the particles.star file with the mrcs. To put you in context, I have extracted particles from helical segments so from each segment I have several particles, that in the star file are named as 00005@Extract/job352/FoilHole_8416911_Data_846....mrcs.
What I want to do is to mask each particle with a rectangular mask using Xmipp. Thus, I can run a 2D classification of the masked particles in RELION afterwards. I needed to write an script to run the command for each particle. However, I got an error.
I copy here the script and the error after running the file executable:
#!/bin/bash
Define input and output file paths
input_star_file="input.star"
output_star_file="output.star"
Create a new output star file
cp "$input_star_file" "$output_star_file"
Loop through each line in the input star file
while IFS= read -r line; do
# Check if the line is empty
if [ -z "$line" ]; then
continue
fi
done < "$input_star_file"
ERROR: /process_particles.sh
Scipion v3.3.1 - Eugenius
Xmipp command detected
This method will return the plugin class in the future. Please use getPluginModule instead
XMIPP_ERROR 18: File or directory does not exist.
Cannot access file '_rlnCoordinateX@:mrcs'. It doesn't exist
File: core/xmipp_image_base.cpp line: 588
For more info use --help
Command xmipp_transform_mask "-i" "_rlnCoordinateX@:mrcs" "-o" "_rlnCoordinateX_masked@mrcs" "--mask" "rectangular" "-104" "-168" failed. Exiting with 18
sed: -e expression #1, char 0: no previous regular expression
Do you have any clue of what could be the problem?
Thanks in advance
BEST
The text was updated successfully, but these errors were encountered: