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!