This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python3 | |
| """ | |
| Precompute a conformation-density grid from a Cremer-Pople parameters CSV and | |
| write it to a compact binary file that can be loaded in microseconds. | |
| Usage: | |
| python precompute_density.py <input.csv> <output.bin> [lat=128] [lon=128] | |
| Binary format (all little-endian): | |
| 8 bytes magic "CPDENS\\x00\\x00" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| """ | |
| Q Score with Gemmi | |
| Author: Jordan Dialpuri | |
| Date: October 2024 | |
| An implementation of the method described by Pintilie et al.: | |
| Pintilie, G., Zhang, K., Su, Z. et al. | |
| Measurement of atom resolvability in cryo-EM maps with Q-scores. | |
| Nat Methods 17, 328–334 (2020). |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| """ | |
| Create a LaTeX Glossary from a tex file which contains \textit{WORD} for emphasis | |
| Jordan Dialpuri 2024 | |
| """ | |
| import argparse | |
| import re | |
| from typing import List | |