def loadExonValidation(infiles, outfile): ''' load individual and merged exon validation stats For each sample, the exon validation stats are loaded into a table named by sample and mapper [sample]_[mapper]_overrun The merge alignment stats for all samples are merged and loaded into single table called exon_validation Parameters ---------- infiles : list Input filenames with exon validation stats outfile : str Output filename ''' suffix = ".exon.validation.tsv.gz" P.mergeAndLoad(infiles, outfile, suffix=suffix) for infile in infiles: track = P.snip(infile, suffix) o = "%s_overrun.load" % track P.load(infile + ".overrun.gz", o)
def loadExonValidation(infiles, outfile): ''' load individual and merged exon validation stats For each sample, the exon validation stats are loaded into a table named by sample and mapper [sample]_[mapper]_overrun The merge alignment stats for all samples are merged and loaded into single table called exon_validation Parameters ---------- infiles : list Input filenames with exon validation stats outfile : str Output filename ''' suffix = ".exon.validation.tsv.gz" P.mergeAndLoad(infiles, outfile, suffix=suffix) for infile in infiles: track = P.snip(infile, suffix) o = "%s_overrun.load" % track P.load(infile + ".overrun.gz", o)
def loadCpGCoverage(infiles, outfile): '''load cpg coverag data.''' P.mergeAndLoad(infiles, outfile, regex="/(.*).prep.cpg_coverage.gz", row_wise=False)
def loadHypergeometricResultsSummary(infiles, outfile): '''load GO summary results.''' infiles = glob.glob("hypergeometric.dir/*/*.parameters") P.mergeAndLoad(infiles, outfile)
def loadCpGCoverage(infiles, outfile): '''load cpg coverag data.''' P.mergeAndLoad(infiles, outfile, regex="/(.*).prep.cpg_coverage.gz", row_wise=False)
def loadHypergeometricResultsSummary(infiles, outfile): '''load GO summary results.''' infiles = glob.glob("hypergeometric.dir/*/*.parameters") P.mergeAndLoad(infiles, outfile)