Unrecognized function or variable 'ApOPs'.
2 次查看(过去 30 天)
显示 更早的评论
I am trying to make Oligopaint library (OligoLego-Github based) using intersected oligprobes generated from OligoMiner for bacteril genome contig.Please suggest me what should i edit in the program commands
I encountered one error- Unrecognized function or variable 'ApOPs'.)
The appendting text was
(%% Call AppToMSBS
LoadRegionsFolder='C:\MATLAB\';
LoadBarcodesFolder='C:\MATLAB\StreetsLatest\';
SaveFolder=LoadRegionsFolder;
ApOPs('MS',[LoadRegionsFolder,'5_MS_Output.bed'],'BS'...
,[LoadRegionsFolder,'5_BS_Output.bed'],'Toes'...
,[LoadBarcodesFolder,'Toes_V1.txt'],...
'Streets',[LoadBarcodesFolder,'Streets_V1.txt'],...
'PTable',[LoadBarcodesFolder,'PenaltyTable_V1.txt'],...
'SavePath',SaveFolder,'MaxAvoid','0')%,'SameUniversal',[LoadRegionsFolder,'Universal.txt']);
0 个评论
回答(3 个)
Image Analyst
2022-11-23
You don't have ApOPs on the search path. What folder does it live in? Let's say it's 'C:\MATLAB\Oligopaint' Then add this to the beginning of your code
addpath(genpath('C:\MATLAB\Oligopaint'));
savepath;
3 个评论
Image Analyst
2022-11-23
Again, the function readtextfile() is not on the search path. Find it and add it to the path.
Walter Roberson
2022-11-23
No, readtextfile() is on the path. But the file name in MSPath cannot be found (at least not under that name). It appears you are providing 'MS' as the complete file name.
[LoadRegionsFolder,'5_BS_Output.bed'],
We recommend that you use
fullfile(LoadRegionsFolder,'5_BS_Output.bed'),
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Environment and Settings 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!