import java.util.Date;
import java.util.List;
+import compbio.data.sequence.FastaReader;
+import compbio.data.sequence.FastaSequence;
+
public class JpredParserLocalFile implements JpredParser {
- private CassandraNativeConnector cc = new CassandraNativeConnector();
+ private CassandraWriter cw = new CassandraWriter();
private String dirprefix;
public void setSource(String newsourceprefix) {
this.dirprefix = newsourceprefix;
}
- JpredParserLocalFile() {
+ public JpredParserLocalFile() {
this.dirprefix = "/home/asherstnev/Projects/Java.projects/proteocache/data_stress_test/data.dat";
}
- JpredParserLocalFile(String sourceurl) {
+ public JpredParserLocalFile(String sourceurl) {
this.dirprefix = sourceurl;
}
} catch (ParseException e) {
e.printStackTrace();
}
- countinsertions += cc.FormQueryTables(insertdate, starttime, finishtime, ip, id, "OK", "OK", newprotein, seqs);
+ //countinsertions += cw.FormQueryTables(insertdate, starttime, finishtime, ip, id, "OK", "OK", newprotein, seqs);
}
fr.close();
} catch (IOException e) {