Table:
begin	end	state
1	4	cytoplasmic
5	6	signal peptide
7	23	transmembrane
24	31	non-cytoplasmic
32	52	transmembrane
53	67	cytoplasmic

Input:
>Dshi_0854
MIYAILGTAFGGLGAIVCLFLGAPVLVALSVYIGTGLLCCLLGIALAGLCLWRNPDQDDG
RFPEGMQ

Or try the official Phobius web server, which has a different display

Reference: Advantages of combined transmembrane topology and signal peptide prediction - the Phobius web server