Esempio n. 1
0
def add_data_worker(o_all, records, frames, queue):
    for rec in records:
        for i in frames:
            stuff = ORFscores.make_data_smart(rec.seq, o_all, frame_shift=i)
            print >> sys.stderr, "putting into queue", rec.id
            queue.put(stuff)
            print >> sys.stderr, "done for ", rec.id
Esempio n. 2
0
def add_data_worker(o_all, records, frames, queue):
    for rec in records:
        for i in frames:
            stuff = ORFscores.make_data_smart(rec.seq, o_all, frame_shift=i)
            print >> sys.stderr, "putting into queue", rec.id
            queue.put(stuff)
            print >> sys.stderr, "done for ", rec.id
    print >> sys.stderr, "Done with records"
Esempio n. 3
0
def add_data_worker(o_all, records, frames, queue):
    #result = []
    for rec in records:
        for i in frames:
            print >> sys.stderr, "processing record {0}, frame {1}".format(rec.id, i)
            stuff = ORFscores.make_data_smart(rec.seq, o_all, frame_shift=i)
            print >> sys.stderr, "putting into queue", rec.id
            queue.put(stuff)
            #result += stuff
            print >> sys.stderr, "done for ", rec.id
    print >> sys.stderr, "Done with records"