コード例 #1
0
def plotRelativeAbundanceCorrelations(infiles, outfile):
    '''
    plot the correlation between the estimated 
    relative abundance of species and the true
    relative abundances - done on the shared set
    '''
    PipelineMetagenomeBenchmark.plotRelativeAbundanceCorrelations(infiles, outfile)
コード例 #2
0
def plotRelativeAbundanceCorrelations(infiles, outfile):
    '''
    plot the correlation between the estimated 
    relative abundance of species and the true
    relative abundances - done on the shared set
    '''
    PipelineMetagenomeBenchmark.plotRelativeAbundanceCorrelations(
        infiles, outfile)
コード例 #3
0
def buildTrueTaxonomicRelativeAbundances(infiles, outfile):
    '''
    get species level relative abundances for the simulateds
    data. This involes creating maps between different identifiers
    from the NCBI taxonomy. This is so that the results are comparable
    to species level analysis from metaphlan
    The gi_taxid_nucl is a huge table and therefore this function
    takes an age to run - can think of optimising this somehow
    '''
    to_cluster = True
    PipelineMetagenomeBenchmark.buildTrueTaxonomicRelativeAbundances(infiles, outfile)
コード例 #4
0
def buildTrueTaxonomicRelativeAbundances(infiles, outfile):
    '''
    relative abundances for the simulateds at different levels of
    the taxonomy.
    This involes creating maps between different identifiers
    from the NCBI taxonomy. This is so that the results are comparable
    to species level analysis from metaphlan
    The gi_taxid_nucl is a huge table and therefore this function
    takes an age to run - can think of optimising this somehow
    '''
    to_cluster = True
    PipelineMetagenomeBenchmark.buildTrueTaxonomicRelativeAbundances(
        infiles, outfile)
コード例 #5
0
def plotCoverageOverGenomes(infile, outfile):
    '''
    plot the percent coverage over each genome
    '''
    PipelineMetagenomeBenchmark.plotCoverageOverGenomes(infile, outfile)
コード例 #6
0
def calculateFalsePositiveRate(infiles, outfile):
    '''
    calculate the false positive rate in taxonomic
    abundances
    '''
    PipelineMetagenomeBenchmark.calculateFalsePositiveRate(infiles, outfile)
コード例 #7
0
def calculateFalsePositiveRate(infiles, outfile):
    '''
    calculate the false positive rate in taxonomic
    abundances
    '''
    PipelineMetagenomeBenchmark.calculateFalsePositiveRate(infiles, outfile)
コード例 #8
0
def plotCoverageOverGenomes(infile, outfile):
    '''
    plot the percent coverage over each genome
    '''
    PipelineMetagenomeBenchmark.plotCoverageOverGenomes(infile, outfile)