Table:
begin	end	state
1	20	non-cytoplasmic
21	39	transmembrane
40	311	cytoplasmic

Input:
>WP_015816982.1 NCBI__GCF_000023025.1:WP_015816982.1
MYHDLPNPAKVYRGRFAPSPSGLLHLGSLLCALASFLDARANKGAWLIRIEDIDPPREQP
GASSAILSTLAAHGMHWDEPPLFQSRCHARYRSRLDELSTAKLSYRCACTRARLKSLGTS
YDGHCRNSPPAENVPAAIRLDVSRCCSQLAAEDAMLFGELEDFVVHRKDGLFAYQLAVVA
DDIAQDITHVVRGRDLAPMTSAQQLLFNVFGAEPPRYVHTPLVVDNLGNKLSKQNRAKAV
ADTQPVHNLLACCSLLGLIDGEVTETNLAISSLDDILAWAISQWQVNRLPKEDRMAPPEY
QGKFPEPPENL

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