...
For GPT-partitioning, there is gdisk and , its full-screen version cgdisk and sgdisk. They automatically do 4096 kB physical sector alignment. TODO: confirm that sgdisk does. sgdisk can be used to replicate a partition table from one block device to another.
Appendix – exact DOS partition sizes
...