FileInputStream fstream = new FileInputStream("allUpper.seq");
DataInputStream in = new DataInputStream(fstream);
BufferedReader br = new BufferedReader(new InputStreamReader(in));
BufferedWriter out = new BufferedWriter(new FileWriter("kMer.txt")); // for write
while ((seqLine = br.readLine()) != null) {
out.write(seqLine);
out.write("\n");
}
br.close();
in.close();
fstream.close();
out.close();
DataInputStream in = new DataInputStream(fstream);
BufferedReader br = new BufferedReader(new InputStreamReader(in));
BufferedWriter out = new BufferedWriter(new FileWriter("kMer.txt")); // for write
while ((seqLine = br.readLine()) != null) {
out.write(seqLine);
out.write("\n");
}
br.close();
in.close();
fstream.close();
out.close();
Comments
Post a Comment