From 5df6980969d7fefd0ca90769bd3b566cb5210c01 Mon Sep 17 00:00:00 2001 From: Calvin Date: Tue, 14 May 2013 17:00:33 -0400 Subject: have matlab use global executables --- src/matlab/quikrTrain.m | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'src/matlab/quikrTrain.m') diff --git a/src/matlab/quikrTrain.m b/src/matlab/quikrTrain.m index 7960cca..abdba95 100644 --- a/src/matlab/quikrTrain.m +++ b/src/matlab/quikrTrain.m @@ -21,13 +21,7 @@ outputfilename=fullfile(pathtofile, [filename sprintf('-sensingmatrixK%d.txt',k) kmerfilename=sprintf('%dmers.txt',k); %This contains the list of 6-mers to count. In future versions this will be computed locally instead of being read in. -if (isunix && not(ismac)) %this is for the linux version - unix(['./probabilities-by-read-linux ' sprintf('%d',k) ' ' inputfasta ' ' kmerfilename ' > ' outputfilename]); %obtain the k-mer counts of the inputfasta read-by-read -elseif ismac %mac version - unix(['./probabilities-by-read-osx ' sprintf('%d',k) ' ' inputfasta ' ' kmerfilename ' > ' outputfilename]); %obtain the k-mer counts of the inputfasta read-by-read -elseif ispc %No PC version - error('Windows is not yet supported'); -end +unix(['probabilities-by-read ' sprintf('%d',k) ' ' inputfasta ' ' kmerfilename ' > ' outputfilename]); %obtain the k-mer counts of the inputfasta read-by-read fid=fopen(outputfilename); %open the output file -- cgit v1.2.3