summaryrefslogtreecommitdiff
path: root/src/matlab/quikrTrain.m
diff options
context:
space:
mode:
authorCalvin <calvin@EESI>2013-05-28 11:54:22 -0400
committerCalvin <calvin@EESI>2013-05-28 11:54:22 -0400
commit1e02d01f14a71c33fe150e8bfbac9ebff5dd6b62 (patch)
tree889cf8d99c22fc7f6577d7e6df9989a383c70214 /src/matlab/quikrTrain.m
parentdd38d0d1dda2be42bf280aeca110542f2f2fef1b (diff)
modified quikrTrain.m to not depend on a mer file, instead use the generate_kmers
Diffstat (limited to 'src/matlab/quikrTrain.m')
-rw-r--r--src/matlab/quikrTrain.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/matlab/quikrTrain.m b/src/matlab/quikrTrain.m
index abdba95..86a994b 100644
--- a/src/matlab/quikrTrain.m
+++ b/src/matlab/quikrTrain.m
@@ -21,7 +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.
-unix(['probabilities-by-read ' sprintf('%d',k) ' ' inputfasta ' ' kmerfilename ' > ' outputfilename]); %obtain the k-mer counts of the inputfasta read-by-read
+unix(['probabilities-by-read ' sprintf('%d',k) ' ' inputfasta ' <( generate_kmers ' sprintf('%d',k) ') > ' outputfilename]); %obtain the k-mer counts of the inputfasta read-by-read
fid=fopen(outputfilename); %open the output file