diff options
author | Calvin <calvin@EESI> | 2013-06-11 23:05:04 -0400 |
---|---|---|
committer | Calvin <calvin@EESI> | 2013-06-11 23:05:04 -0400 |
commit | 7e56f11bb5dacd879cf5bbc454712d543509d841 (patch) | |
tree | 9614dbd252e9d7f7c53c1f5621a70c40b94d715f /src/matlab/quikrCustomTrained.m | |
parent | 6939aac71c95c979aca4b5934c32f17377e7f7f6 (diff) |
finally push this patch to fix the lack of an end
Diffstat (limited to 'src/matlab/quikrCustomTrained.m')
-rw-r--r-- | src/matlab/quikrCustomTrained.m | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/matlab/quikrCustomTrained.m b/src/matlab/quikrCustomTrained.m index e594951..fd8bbc7 100644 --- a/src/matlab/quikrCustomTrained.m +++ b/src/matlab/quikrCustomTrained.m @@ -18,6 +18,7 @@ end [status, counts]=unix([sprintf('count-kmers -r %d -1 -u ',k) ' ' inputfasta]); %count the k-mers in the fasta file, in the forward direction, return the counts without labels.
if status ~= 0
error('count-kmers failed: ensure count-kmers is in your path.');
+end
counts=textscan(counts,'%f'); %read them in as floats.
counts=counts{:};
|