how to remove a restriction enzyme recognition sequence
2 次查看(过去 30 天)
显示 更早的评论
I am trying to write the following function
rebase_hassite(S, AG^CT)
I want to remove all the carrots. I already have a regular expression written and now want to remove the recognition site.
My regular expression is as follows: function [ output_args ]=parserebase(file) fid=fopen(file); if fid<0; error('failed to open');end s=fread(fid,'*char')'; regexp[s,'<1>(?<Enzyme>[^ \n]*)[\n]+<2>(?<prototype>[^\n]*)[\n]+ 3(?<microorganism>[^\n]*)[\n]+<4>(?<source of microorganism>[^\n]*) [/n]+<5>(?<recognition sequence with cleavage site>[^\n]*) [\n]+<6>(? site[^\n]*)[\n]+<7>(?<commercial source>[^\n]*)[\n]+<8>(? references[^\n]*)[\n]; end
If this is unclear please let me know and I will try to reword what I am asking.
0 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Data Distribution Plots 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!