Structural photoactivation of a full-length bacterial phytochrome