Skip to content

Commit

Permalink
Minor cleaning.
Browse files Browse the repository at this point in the history
  • Loading branch information
snikumbh committed Jul 19, 2017
1 parent 02bed78 commit 94466a1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 28 deletions.
8 changes: 2 additions & 6 deletions get_colored.m
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@
function [colored_string] = get_colored(given_string, oligoLen)

% Colors the given string (DNA motif) using the IUPAC color scheme for the nucleotides A, C, G, T.

given_string = char(given_string);
%disp(size(given_string, 2));
%disp(given_string(1,3));
alphabet = upper('acgt');
colored_string = [];
for i=1:size(given_string, 2)
%fprintf('%d--\n',i);
if isscalar(given_string(1,i))
%fprintf('YES SCALAR\n');
if oligoLen~= 0 && i == oligoLen+1
colored_string = strcat(colored_string, '\color{black}|');
end
Expand All @@ -25,7 +23,5 @@
end
end

%title(['\fontsize{16}black {\color{magenta}magenta '...
%'\color[rgb]{0 .5 .5}teal \color{red}red} black again'])

end
22 changes: 0 additions & 22 deletions performMKLWithSimpleMKL.m

This file was deleted.

0 comments on commit 94466a1

Please sign in to comment.