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)
def getDiscDremeSeeds(infiles, outfile): ''' extract seed motifs for MEME and DREME output ''' alignments, motifs = infiles PipelineMotifs.getSeedMotifs(motifs, alignments, outfile)