本文整理汇总了Python中CGATPipelines.PipelineIDR.callIDRPeaks方法的典型用法代码示例。如果您正苦于以下问题:Python PipelineIDR.callIDRPeaks方法的具体用法?Python PipelineIDR.callIDRPeaks怎么用?Python PipelineIDR.callIDRPeaks使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类CGATPipelines.PipelineIDR
的用法示例。
在下文中一共展示了PipelineIDR.callIDRPeaks方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。
示例1: callPeaksOnPseudoreplicates
# 需要导入模块: from CGATPipelines import PipelineIDR [as 别名]
# 或者: from CGATPipelines.PipelineIDR import callIDRPeaks [as 别名]
def callPeaksOnPseudoreplicates(infile, outfile):
# fetch peak calling parameters
PARAMS_PEAKCALLER = get_peak_caller_parameters(
PARAMS["options_peak_caller"])
# call peaks on pseudoreplicates
IDR.callIDRPeaks(infile,
outfile,
PARAMS["options_peak_caller"],
PARAMS["options_control_type"],
PARAMS_PEAKCALLER,
pseudoreplicate=True)
示例2: callPeaksOnIndividualReplicates
# 需要导入模块: from CGATPipelines import PipelineIDR [as 别名]
# 或者: from CGATPipelines.PipelineIDR import callIDRPeaks [as 别名]
def callPeaksOnIndividualReplicates(infile, outfile):
infile = P.snip(infile, ".sentinal") + ".bam"
# fetch peak calling parameters
PARAMS_PEAKCALLER = get_peak_caller_parameters(
PARAMS["options_peak_caller"])
# call peaks
IDR.callIDRPeaks(infile,
outfile,
PARAMS["options_peak_caller"],
PARAMS["options_control_type"],
PARAMS_PEAKCALLER)
P.touch(outfile)