]> git.donarmstrong.com Git - mothur.git/blobdiff - trimseqscommand.cpp
added qvalues to metastats. fixed bug with chimera.uchime location. fixed windows...
[mothur.git] / trimseqscommand.cpp
index 89ea3f9c8b44c782e2a9ebd8588c548c61f9e81a..b804c8f16638e329e4f665b34c36dd46a84f6dfe 100644 (file)
@@ -1019,33 +1019,7 @@ int TrimSeqsCommand::setLines(string filename, string qfilename, vector<unsigned
                #else
                
                        fastaFilePos.push_back(0); qfileFilePos.push_back(0);
-                       //get last file position of fastafile
-                       FILE * pFile;
-                       unsigned long long size;
-                       
-                       //get num bytes in file
-                       pFile = fopen (filename.c_str(),"rb");
-                       if (pFile==NULL) perror ("Error opening file");
-                       else{
-                               fseek (pFile, 0, SEEK_END);
-                               size=ftell (pFile);
-                               fclose (pFile);
-                       }
-                       fastaFilePos.push_back(size);
-                       
-                       //get last file position of fastafile
-                       FILE * qFile;
-                       
-                       //get num bytes in file
-                       qFile = fopen (qfilename.c_str(),"rb");
-                       if (qFile==NULL) perror ("Error opening file");
-                       else{
-                               fseek (qFile, 0, SEEK_END);
-                               size=ftell (qFile);
-                               fclose (qFile);
-                       }
-                       qfileFilePos.push_back(size);
-               
+                       fastaFilePos.push_back(1000); qfileFilePos.push_back(1000);
                        return 1;
                
                #endif