public void Load(int filebuffersize, ISequenceInput input, int loadthreadcount) { string seqfn = "seq_temp_" + Guid.NewGuid().ToString() + ".txt"; try { using (System.IO.StreamWriter sw = new System.IO.StreamWriter(seqfn)) { sw.WriteLine("*sequence*"); IList <string> inputs = input.GetSequenceInputs(); for (int i = 0; i < inputs.Count; i++) { sw.WriteLine(inputs[i]); } } Load(filebuffersize, seqfn, loadthreadcount); } finally { try { System.IO.File.Delete(seqfn); } catch { } } }
public void Load(int filebuffersize, ISequenceInput input) { string seqfn = "seq_temp_" + Guid.NewGuid().ToString() + ".txt"; try { using (System.IO.StreamWriter sw = new System.IO.StreamWriter(seqfn)) { sw.WriteLine("*sequence*"); IList<string> inputs = input.GetSequenceInputs(); for (int i = 0; i < inputs.Count; i++) { sw.WriteLine(inputs[i]); } } Load(filebuffersize, seqfn); } finally { try { System.IO.File.Delete(seqfn); } catch { } } }
public void Load(int filebuffersize, ISequenceInput input) { Load(filebuffersize, input, 16); }