def getSplicesCount(self, chrom="", rmin="", rmax="", restrict="", distinct=False):
""" returns the number of row in the splices table.
"""
+ # TODO: if the rds type is DNA should this just return zero?
return self.getTableEntryCount("splices", chrom, rmin, rmax, restrict, distinct, startField="startL")
destinationEntries.append((row["readID"], row["chrom"], int(row["startL"]), int(row["stopL"]), int(row["startR"]), int(row["stopR"]), row["sense"],
row["weight"], row["flag"], row["mismatch"]))
- self.memcon.executemany("insert into splices(ID, readID, chrom, startL, stopL, startR, stopR, sense, weight, flag, mismatch) values (NULL,?,?,?,?,?,?,?,?)", destinationEntries)
+ self.memcon.executemany("insert into splices(ID, readID, chrom, startL, stopL, startR, stopR, sense, weight, flag, mismatch) values (NULL,?,?,?,?,?,?,?,?,?,?)", destinationEntries)