Skip to content
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

tool for cropping tomogram #32

Closed
xulabs opened this issue Sep 12, 2019 · 1 comment
Closed

tool for cropping tomogram #32

xulabs opened this issue Sep 12, 2019 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@xulabs
Copy link
Owner

xulabs commented Sep 12, 2019

We can use numpy to crop a volume, but if we save the volume into a mrc file, the header information is incorrect. To solve this problem there are two possible ways:

  1. try to find a command line tool to do such cropping. This command line tool may exist in bsoft package
  2. write our own code to correct the header and write into the mrc file using the mrcfile package.

Following is how to crop a tomogram using bshow: To cut a subvolume using bshow: 1) choose micrograph / pick particles 2) set box size 3) in boxes menu, choose extract particles 4) may check individual output files. 5) use micrograph / write parameter file. You can first cut according to the low passed filtered map, save the cutted subvolume and star file, then modified star file and load it with the unfiltered tomogram. Then cut the unfiltered tomogram and save the subvolume.

@xulabs xulabs added the enhancement New feature or request label Sep 12, 2019
@xulabs
Copy link
Owner Author

xulabs commented Sep 22, 2019

@wendingp please add the tool under
aitom/aitom/io/mrc/

please also add to the particle picking tutorial

pjpjq added a commit that referenced this issue Sep 22, 2019
@pjpjq pjpjq closed this as completed Sep 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants