def buildMatchMetrics(infile, outfile):
    '''
    match outputs transcription factors that are found in the supplied
    sequences. We are interested in the following metrics:

       * No. unique transcription factors found per sequence

       * Maximal number of TF motifs found per sequence

    '''
    tablename = filenameToTablename(os.path.basename(P.snip(infile, ".load"))) + "_result"
    PipelineTransfacMatch.frequencyMetrics(PARAMS["database"], tablename, outfile)
Пример #2
0
def buildMatchMetrics(infile, outfile):
    '''
    match outputs transcription factors that are found in the supplied
    sequences. We are interested in the following metrics:

       * No. unique transcription factors found per sequence

       * Maximal number of TF motifs found per sequence

    '''
    tablename = filenameToTablename(os.path.basename(P.snip(
        infile, ".load"))) + "_result"
    PipelineTFM.frequencyMetrics(PARAMS["database"], tablename, outfile)