本文整理汇总了Python中CGATPipelines.PipelineLncRNA.classifyLncRNAGenes方法的典型用法代码示例。如果您正苦于以下问题:Python PipelineLncRNA.classifyLncRNAGenes方法的具体用法?Python PipelineLncRNA.classifyLncRNAGenes怎么用?Python PipelineLncRNA.classifyLncRNAGenes使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类CGATPipelines.PipelineLncRNA
的用法示例。
在下文中一共展示了PipelineLncRNA.classifyLncRNAGenes方法的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。
示例1: classifyLncRNA
# 需要导入模块: from CGATPipelines import PipelineLncRNA [as 别名]
# 或者: from CGATPipelines.PipelineLncRNA import classifyLncRNAGenes [as 别名]
def classifyLncRNA(infiles, outfile):
'''
Classify lncRNA realtive to protein coding loci
Classify lincRNA in terms of their relationship to
protein coding genes - creates indices for intervals on the
fly - mayb should be creating additional annotations:
antisense
transcript overlapping protein coding exons on opposite strand
antisense_upstream
transcript < 2kb from tss on opposite strand
antisense_downstream
transcript < 2kb from gene end on opposite strand
sense_upstream
transcript < 2kb from tss on same strand
sense_downstream
transcript < 2kb from gene end on same strand
intergenic
transcript >2kb from any protein coding gene
intronic
overlaps protein coding gene intron on same strand
antisense_intronic
overlaps protein coding intron on opposite strand
'''
PipelineLncRNA.classifyLncRNAGenes(
infiles[0], infiles[1], outfile, dist=PARAMS["lncrna_dist"])
示例2: classifyFilteredLncRNA
# 需要导入模块: from CGATPipelines import PipelineLncRNA [as 别名]
# 或者: from CGATPipelines.PipelineLncRNA import classifyLncRNAGenes [as 别名]
def classifyFilteredLncRNA(infiles, outfile):
'''
classifies all lincRNA before cpc filtering to define any classes that
are represented in the coding set that are filtered
NOTE: This task is not included when running the full pipeline
'''
PipelineLncRNA.classifyLncRNAGenes(
infiles[0], infiles[1], outfile, dist=PARAMS["lncrna_dist"])
示例3: classifyFilteredLncRNA
# 需要导入模块: from CGATPipelines import PipelineLncRNA [as 别名]
# 或者: from CGATPipelines.PipelineLncRNA import classifyLncRNAGenes [as 别名]
def classifyFilteredLncRNA(infiles, outfile):
"""
classifies all lincRNA before cpc filtering to define any classes that
are represented in the coding set that are filtered
"""
PipelineLncRNA.classifyLncRNAGenes(infiles[0], infiles[1], outfile, dist=PARAMS["lncrna_dist"])