How can I first show my cell array (long sequence), then show a short sequence as bolded (highlighted) over a textarea or figure in app designer?

1 view (last 30 days)
Mohammad Shahbazy
Mohammad Shahbazy on 22 Jul 2021
Edited: Mohammad Shahbazy on 23 Jul 2021
Dear all,
I want to first show my cell array (seqA: long sequence), then show the short sequence (seqB as it has been matched to be subset of A) as bolded (highlighted) over a textarea or figure in app designer to show something like this: SequeSeqBnceA.
Many thanks in advance,
MS
SeqA = {' 1 MDTGDTALGQ KATSRSGETD KASGRWRQEQ SAVIKMSTFG SHEGQRQPQI'}
{' 51 EPEQIGNTAS AQLFGSGKLA SPSEVVQQVA EKQYPPHRPS PYSCQHSLSF'}
{' 101 PQHSLPQGVM HSTKPHQSLE GPPWLFPGPL PSVASEDLFP FPIHGHSGGY'}
{' 151 PRKKISSLNP AYSQYSQKSI EQAEEAHKKE HKPKKPGKYI CPYCSRACAK'}
{' 201 PSVLKKHIRS HTGERPYPCI PCGFSFKTKS NLYKHRKSHA HAIKAGLVPF'}
{' 251 TESAVSKLDL EAGFIDVEAE IHSDGEQSTD TDEESSLFAE ASDKMSPGPP'}
{' 301 IPLDIASRGG YHGSLEESLG GPMKVPILII PKSGIPLPNE SSQYIGPDML'}
{' 351 PNPSLNTKAD DSHTVKQKLA LRLSEKKGQD SEPSLNLLSP HSKGSTDSGY'}
{' 401 FSRSESAEQQ ISPPNTNAKS YEEIIFGKYC RLSPRNALSV TTTSQERAAM'}
{' 451 GRKGIMEPLP HVNTRLDVKM FEDPVSQLIP SKGDVDPSQT SMLKSTKFNS'}
{' 501 ESRQPQIIPS SIRNEGKLYP ANFQGSNPVL LEAPVDSSPL IRSNSVPTSS'}
{' 551 ATNLTIPPSL RGSHSFDERM TGSDDVFYPG TVGIPPQRML RRQAAFELPS'}
{' 601 VQEGHVEVEH HGRMLKGISS SSLKEKKLSP GDRVGYDYDV CRKPYKKWED'}
{' 651 SETPKQNYRD ISCLSSLKHG GEYFMDPVVP LQGVPSMFGT TCENRKRRKE'}
{' 701 KSVGDEEDTP MICSSIVSTP VGIMASDYDP KLQMQEGVRS GFAMAGHENL'}
{' 751 SHGHTERFDP CRPQLQPGSP SLVSEESPSA IDSDKMSDLG GRKPPGNVIS'}
{' 801 VIQHTNSLSR PNSFERSESA ELVACTQDKA PSPSETCDSE ISEAPVSPEW'};
SeqB = {'FEDPVSQLIP'};

Answers (0)

Products


Release

R2021a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!