Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
readFastaSequences updated to handle datetime inputs
  • Loading branch information
snikumbh committed Aug 1, 2017
1 parent cd34d92 commit eea8295
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions readFastaSequences.m
Expand Up @@ -50,8 +50,8 @@
fasta.title=[txt,', read: ', date];
% Read Sequences and their FASTA legends
fid=fopen(txt,'r');
ofid=fopen(strcat(outputFolder, '/omittedFastaIds.txt'), 'a');
fprintf(ofid, '----%s---%s----\n\n', fprintf('%s',datetime('now')), txt);
ofid=fopen(strcat(outputFolder, '/omittedFastaIds.txt'), 'a');
fprintf(ofid, '----%s---%s----\n\n', char(datetime), txt);
lengths = [];
while i < givenNSeqs % feof(fid)==0
lineRead=fgetl(fid);
Expand Down

0 comments on commit eea8295

Please sign in to comment.