-
Notifications
You must be signed in to change notification settings - Fork 4
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
Adding a background subtraction script #19
Comments
What would the alternative be? Building this into the difference map script? |
Best alternative could be making it a function that can be called from any script. May work better as its own script |
I'm a bit confused here by the XYZ coordinates -- is that just used to generate a mask for the output map? Where does that factor in if the subtraction is handled in reciprocal space? This seems very close to |
@JBGreisman the background subtraction is done in reciprocal space, but the screening for the right value is done in real space (you try to maximize the difference in CC between a local region e.g. chromophore and the rest of the protein). Whichever background subtraction value is found to maximize this is used for the reciprocal space difference. I can share a figure if easier? Because of this extra part of the analysis it's a little more complex than just adding an N option to |
got it -- that makes sense to me. I agree this should be its own script, and we can add a figure as part of an example/documentation. |
I like the rocket emoji – and sounds good. On that note actually, what's your policy on plotting/graphics (not sure if this should be another issue). I have some plotting sections in my script that saves things like the screening of the regularization parameter for inspection after running the script. I was seeing that matplotlib and seaborn are not required dependencies for the rs install – so maybe plotting should be optional or removed? |
I'm fine with plotting/graphics -- matplotlib and seaborn are requirements already for Some of the methods in the |
Ah great – yeah sorry I was looking at rs instead of rs-booster. I think I would keep the plotting sections in my scripts but maybe make them optional |
The script I have essentially takes 2 mtzs (light and dark), a reference PDB, and XYZ coordinates for a region of interest. It returns a background subtracted map (similar to the PanDDA one) where the subtraction in done in reciprocal space ( |F1| - N*|F2| ) rather than with 2mFo-DFc maps. Option to weight the differences as usual for now. Was thinking it makes sense to keep this as its own script for now but open to suggestions.
The text was updated successfully, but these errors were encountered: