The function of ENSG00000149596 (JPH2, junctophilin 2) is as follows. [Junctophilin-2]: Membrane-binding protein that provides a structural bridge between the plasma membrane and the sarcoplasmic reticulum and is required for normal excitation-contraction coupling in cardiomyocytes (PubMed:20095964). Provides a structural foundation for functional cross-talk between the cell surface and intracellular Ca(2+) release channels by maintaining the 12-15 nm gap between the sarcolemma and the sarcoplasmic reticulum membranes in the cardiac dyads (By similarity). Necessary for proper intracellular Ca(2+) signaling in cardiac myocytes via its involvement in ryanodine receptor-mediated calcium ion release (By similarity). Contributes to the construction of skeletal muscle triad junctions (By similarity). . [Junctophilin-2 N-terminal fragment]: Transcription repressor required to safeguard against the deleterious effects of cardiac stress. Generated following cleavage of the Junctophilin-2 chain by calpain in response to cardiac stress in cardiomyocytes. Following cleavage and release from the membrane, translocates to the nucleus, binds DNA and represses expression of genes implicated in cell growth and differentiation, hypertrophy, inflammation and fibrosis. Modifies the transcription profile and thereby attenuates pathological remodeling in response to cardiac stress. Probably acts by competing with MEF2 transcription factors and TATA-binding proteins. .