Esempio n. 1
0
def tss_generator():
    for transcript in db.features_of_type('mRNA'):  #CDS/gene/mRNA...
        yield TSS(asinterval(transcript), upstream=1, downstream=0)
Esempio n. 2
0
def tss_generator():
    for transcript in db.features_of_type('transcript'):
        yield TSS(asinterval(transcript), upstream=1000, downstream=1000)
Esempio n. 3
0
def tss_generator():
    """
    Generator function to yield TSS of each annotated transcript
    """
    for transcript in db.features_of_type('transcript'):
        yield TSS(asinterval(transcript), upstream=1, downstream=0)