Exemplo n.º 1
0
def getMemeChipSeedMotifs(infile, outfile):
    ''' extract the seed motifs from the MEME-ChIP output'''

    motifs = infile
    track = os.path.basename(motifs)
    alignments = os.path.join(PARAMS["exportdir"], "memechip.dir", track,
                              "motif_alignment.txt")

    PipelineMotifs.getSeedMotifs(motifs, alignments, outfile)
Exemplo n.º 2
0
def getDiscDremeSeeds(infiles, outfile):
    ''' extract seed motifs for MEME and DREME output '''

    alignments, motifs = infiles
    PipelineMotifs.getSeedMotifs(motifs, alignments, outfile)