def get_thread_karma(self):
        thread_ids = [t.id for t in self.threads]
        select = thread_upvotes.select(db.and_(
                thread_upvotes.c.thread_id.in_(thread_ids),
                thread_upvotes.c.user_id != self.id
            )
        )
        rs = db.engine.execute(select)
        return rs.rowcount
compute genome composition information.
dataset/ETHPy150Open codelucas/flask_reddit/flask_reddit/users/models.py/User.get_thread_karma--crossover with--dataset/ETHPy150Open CGATOxford/cgat/obsolete/pipeline_kamilah.py/buildGenomeInformation