Esempio n. 1
0
 public void singlefile()
 {
     f       = new Filemanager();
     one     = f.trimmerselector();
     directa = f.directgetter();
     onea    = new StreamWriter(directa);
     while (!one.EndOfStream)
     {
         blockreader(titleline, SequenceLine, QualityLine, one);
         TrimmerOneFile();
         filesaver(titleline, SequenceLine, QualityLine, onea);
     }
     onea.Close();
 }
Esempio n. 2
0
        public void twofile()
        {
            x = new Filemanager();
            y = new Filemanager();

            one = x.trimmerselector();
            two = y.trimmerselector();

            directa = x.directgetter();
            directb = y.directgetter();
            onea    = new StreamWriter(directa);
            twoa    = new StreamWriter(directb);

            while (!one.EndOfStream && !two.EndOfStream)
            {
                blockreader(titleline, SequenceLine, QualityLine, one);
                blockreader(titleline2, SequenceLine2, QualityLine2, two);
                TrimmerTwoFIle();
                filesaver(titleline, SequenceLine, QualityLine, onea);
                filesaver(titleline2, SequenceLine2, QualityLine2, twoa);
            }
        }
 public void fileselector()
 {
     f = new Filemanager();
     s = f.fileselectordialg();
 }