Finding a string in a string

5 ビュー (過去 30 日間)
Burak Köse
Burak Köse 2021 年 6 月 23 日
回答済み: Rik 2021 年 6 月 23 日
I'm studying biology and trying to take a sequence from and RNA like for example "AUGCACGGCAAC" and turn it into its aminoacid form like MHGN. I was able to check for aminoacids but I wasn't able to put out the results one after the other in a unified form. Any ideas?

回答 (1 件)

Rik
Rik 2021 年 6 月 23 日
Split into groups of 3 (with mat2cell or with regexp), use ismember to find the position of each codon in a dictionary array (which you need to make). Then you can use the positions to index the second part of the dictionary.

カテゴリ

Help Center および File ExchangeCharacters and Strings についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by