https://github.com/brisvag/waretomo
Overengineered batch processing script for tomography data with Warp and aretomo.
Science Score: 49.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
✓DOI references
Found 1 DOI reference(s) in README -
✓Academic publication links
Links to: zenodo.org -
○Committers with academic emails
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (15.8%) to scientific vocabulary
Keywords from Contributors
Repository
Overengineered batch processing script for tomography data with Warp and aretomo.
Basic Info
Statistics
- Stars: 4
- Watchers: 1
- Forks: 1
- Open Issues: 1
- Releases: 6
Metadata Files
README.md
waretomo
Overengineered batch processing script for tomography data with Warp and AreTomo.
NOTE: This was tested with AreTomo 1.3.4, i's recommended to use the same version.
Installation and usage
bash
pip install waretomo
bash
waretomo -h
Every time you run waretomo, a log will be appended to an waretomo.log file in the output directory.
Walkthrough
Here's a short summary of how I recommend using this script:
- pre-process your dataset in Warp, up to
Create stack for imod. Make sure to deselect bad tilts from the warp interface; they will be skipped in subsequent steps - run
waretomoindry-runmode (-d), to make sure everything is set up correctly. Pass any other options you'd like (seewaretomo -hfor a complete list and shorthands):bash waretomo . --mdoc-dir ./mdocs -b 8 -t 800 -d - follow error messages if any arise (you may have to provide the path to the
AreTomoexecutable with--aretomo, for example) - once the above command works, it will give you a summary of inputs and of the upcoming pipeline. It's time to try to run it on a single tomogram, using
-j(--just). Note that the name to provide to-jis the tomogram name given at the top of the mdoc file (ImageFile = <something>), and not the input file (this is because warp actually uses this value for all subsequent outputs).bash waretomo . --mdoc-dir ./mdocs -b 8 -t 800 -j tiltseries_23.mrc - this will run the full pipeline on that tomogram. Keep an eye out for error messages, they might give you tips for solving them.
- if everything works, you will now have a few outputs to check out:
./waretomo_processing/tiltseries_23.mrc: raw aretomo reconstruction../waretomo_processing/denoised/tiltseries_23.mrc: same as above, denoised with topaz for better annotation<mdoc-dir>/mdoc_tilted/tiltseries_23.mrc.mdoc: mdoc file updated with skipped tilt and with adjusted tilt angles from aretomo'sTiltAlignoption (e.g: to align lamellae to the XY plane)./waretomo_processing/tiltseries_23.xf: alignment metadata, used by warp together with above mdocs for reconstruction.
- check out the reconstructions and make sure everything looks as you want. If anything is wrong, adjust parameters as you see fit. You can also run only parts of the script by using the
--start-fromand--stop-atoptions (both are inclusive). Use-fif you want to overwrite existing outputs. - once you're happy, remove the
-joption to process the full dataset.
At this point, you're ready to go back to Warp. Here, you can simply import tilt series from IMOD. Don't forget to provide the mdoc_tilted directory instead of the original mdocs. Set waretomo_processing as the Root folder with IMOD processing results, and Warp will find the xf files located there. Provide the pixel size of the binned aretomo reconstructions (find out with e.g: header waretomo_processing/tiltseries_23.mrc.mrc). You might have to provide the dose per tilt, depending on the origin/correctness of your mdocs.
You can now proceed with reconstructing with Warp, use M, and so on, while having matching AreTomo reconstructions with their local patch alignments and subsequent denoising to maximize readability for picking and annotation.
Owner
- Name: Lorenzo Gaifas
- Login: brisvag
- Kind: user
- Company: @gutsche-lab
- Twitter: brisvag
- Repositories: 16
- Profile: https://github.com/brisvag
PhD student at @gutsche-lab, doing computational stuff with cryo-ET data.
GitHub Events
Total
- Issues event: 1
- Watch event: 1
- Delete event: 2
- Issue comment event: 1
- Push event: 2
- Pull request event: 2
- Create event: 3
Last Year
- Issues event: 1
- Watch event: 1
- Delete event: 2
- Issue comment event: 1
- Push event: 2
- Pull request event: 2
- Create event: 3
Committers
Last synced: 9 months ago
Top Committers
| Name | Commits | |
|---|---|---|
| Lorenzo Gaifas | b****g@g****m | 30 |
| dependabot[bot] | 4****] | 5 |
Issues and Pull Requests
Last synced: 8 months ago
All Time
- Total issues: 1
- Total pull requests: 5
- Average time to close issues: N/A
- Average time to close pull requests: about 21 hours
- Total issue authors: 1
- Total pull request authors: 1
- Average comments per issue: 1.0
- Average comments per pull request: 0.0
- Merged pull requests: 5
- Bot issues: 0
- Bot pull requests: 5
Past Year
- Issues: 1
- Pull requests: 1
- Average time to close issues: N/A
- Average time to close pull requests: 1 day
- Issue authors: 1
- Pull request authors: 1
- Average comments per issue: 1.0
- Average comments per pull request: 0.0
- Merged pull requests: 1
- Bot issues: 0
- Bot pull requests: 1
Top Authors
Issue Authors
- lmcarreira (1)
Pull Request Authors
- dependabot[bot] (8)
Top Labels
Issue Labels
Pull Request Labels
Packages
- Total packages: 1
-
Total downloads:
- pypi 18 last-month
- Total dependent packages: 0
- Total dependent repositories: 0
- Total versions: 7
- Total maintainers: 1
pypi.org: waretomo
Overengineered batch processing script for tomography data with Warp and aretomo.
- Documentation: https://waretomo.readthedocs.io/
- License: GPLv3
-
Latest release: 0.1.6
published over 1 year ago
Rankings
Maintainers (1)
Dependencies
- JasonEtco/create-an-issue v2 composite
- actions/checkout v4 composite
- actions/setup-python v4 composite
- codecov/codecov-action v3 composite
- softprops/action-gh-release v1 composite
- GPUtil *
- click *
- mdocfile ==0.1.0
- pandas *
- rich *
- sh *
- topaz-em ==0.2.5