inferCNV运行记录

> infercnv_obj = CreateInfercnvObject(delim="\t",
+                                     raw_counts_matrix=expFile,
+                                     annotations_file=groupFile,
+                                     gene_order_file= geneFile,
+                                     ref_group_names=c('Myeloid cell',"Lymphoid cell")) 
INFO [2021-12-09 08:30:32] Parsing matrix: expFile.txt
INFO [2021-12-09 08:31:03] Parsing gene order file: geneFile.txt
INFO [2021-12-09 08:31:03] Parsing cell annotations file: groupFile.txt
INFO [2021-12-09 08:31:03] ::order_reduce:Start.
INFO [2021-12-09 08:31:03] .order_reduce(): expr and order match.
INFO [2021-12-09 08:31:03] ::process_data:order_reduce:Reduction from positional data, new dimensions (r,c) = 16360,7279 Total=164093919 Min=0 Max=2940.
INFO [2021-12-09 08:31:03] num genes removed taking into account provided gene ordering list: 1015 = 6.2041564792176% removed.
INFO [2021-12-09 08:31:03] -filtering out cells < 100 or > Inf, removing 0 % of cells
INFO [2021-12-09 08:31:06] validating infercnv_obj
> dir.create("CAG_inferCNV_Output_Cancercell_2")
> # cutoff=1 works well for Smart-seq2, and cutoff=0.1 works well for 10x Genomics
> infercnv_obj = infercnv::run(infercnv_obj,
+                              cutoff=0.1, 
+                              out_dir="CAG_inferCNV_Output_Cancercell_2", 
+                              cluster_by_groups=TRUE, 
+                              denoise=TRUE,
+                              output_format = "pdf",
+                              HMM=F)
INFO [2021-12-09 08:31:36] ::process_data:Start
INFO [2021-12-09 08:31:36] Checking for saved results.
INFO [2021-12-09 08:31:36] 

    STEP 1: incoming data

INFO [2021-12-09 08:32:08] 

    STEP 02: Removing lowly expressed genes

INFO [2021-12-09 08:32:08] ::above_min_mean_expr_cutoff:Start
INFO [2021-12-09 08:32:08] Removing 7400 genes from matrix as below mean expr threshold: 0.1
INFO [2021-12-09 08:32:08] validating infercnv_obj
INFO [2021-12-09 08:32:08] There are 7945 genes and 7279 cells remaining in the expr matrix.
INFO [2021-12-09 08:32:11] no genes removed due to min cells/gene filter
INFO [2021-12-09 08:32:36] 

    STEP 03: normalization by sequencing depth

INFO [2021-12-09 08:32:36] normalizing counts matrix by depth
INFO [2021-12-09 08:32:37] Computed total sum normalization factor as median libsize: 21485.000000
INFO [2021-12-09 08:33:03] 

    STEP 04: log transformation of data

INFO [2021-12-09 08:33:03] transforming log2xplus1()
INFO [2021-12-09 08:33:29] 

    STEP 08: removing average of reference data (before smoothing)

INFO [2021-12-09 08:33:29] ::subtract_ref_expr_from_obs:Start inv_log=FALSE, use_bounds=TRUE
INFO [2021-12-09 08:33:29] subtracting mean(normal) per gene per cell across all data
INFO [2021-12-09 08:33:34] -subtracting expr per gene, use_bounds=TRUE
INFO [2021-12-09 08:34:16] 

    STEP 09: apply max centered expression threshold: 3

INFO [2021-12-09 08:34:16] ::process_data:setting max centered expr, threshold set to: +/-:  3
INFO [2021-12-09 08:34:54] 

    STEP 10: Smoothing data per cell by chromosome

INFO [2021-12-09 08:34:54] smooth_by_chromosome: chr: chr1
INFO [2021-12-09 08:35:00] smooth_by_chromosome: chr: chr2
INFO [2021-12-09 08:35:08] smooth_by_chromosome: chr: chr3
INFO [2021-12-09 08:35:14] smooth_by_chromosome: chr: chr4
INFO [2021-12-09 08:35:21] smooth_by_chromosome: chr: chr5
INFO [2021-12-09 08:35:29] smooth_by_chromosome: chr: chr6
INFO [2021-12-09 08:35:36] smooth_by_chromosome: chr: chr7
INFO [2021-12-09 08:35:43] smooth_by_chromosome: chr: chr8
INFO [2021-12-09 08:35:50] smooth_by_chromosome: chr: chr9
INFO [2021-12-09 08:35:58] smooth_by_chromosome: chr: chr10
INFO [2021-12-09 08:36:04] smooth_by_chromosome: chr: chr11
INFO [2021-12-09 08:36:12] smooth_by_chromosome: chr: chr12
INFO [2021-12-09 08:36:19] smooth_by_chromosome: chr: chr13
INFO [2021-12-09 08:36:25] smooth_by_chromosome: chr: chr14
INFO [2021-12-09 08:36:32] smooth_by_chromosome: chr: chr15
INFO [2021-12-09 08:36:38] smooth_by_chromosome: chr: chr16
INFO [2021-12-09 08:36:45] smooth_by_chromosome: chr: chr17
INFO [2021-12-09 08:36:52] smooth_by_chromosome: chr: chr18
INFO [2021-12-09 08:36:58] smooth_by_chromosome: chr: chr19
INFO [2021-12-09 08:37:44] 

    STEP 11: re-centering data across chromosome after smoothing

INFO [2021-12-09 08:37:44] ::center_smooth across chromosomes per cell
INFO [2021-12-09 08:38:34] 

    STEP 12: removing average of reference data (after smoothing)

INFO [2021-12-09 08:38:34] ::subtract_ref_expr_from_obs:Start inv_log=FALSE, use_bounds=TRUE
INFO [2021-12-09 08:38:34] subtracting mean(normal) per gene per cell across all data
INFO [2021-12-09 08:38:38] -subtracting expr per gene, use_bounds=TRUE
INFO [2021-12-09 08:39:19] 

    STEP 14: invert log2(FC) to FC

INFO [2021-12-09 08:39:19] invert_log2(), computing 2^x
INFO [2021-12-09 08:40:04] 

    STEP 15: Clustering samples (not defining tumor subclusters)

INFO [2021-12-09 08:40:04] define_signif_tumor_subclusters(p_val=0.1
INFO [2021-12-09 08:40:04] define_signif_tumor_subclusters(), tumor: C01
INFO [2021-12-09 08:43:56] cut tree into: 1 groups
INFO [2021-12-09 08:43:56] -processing C01,C01_s1
INFO [2021-12-09 08:43:56] define_signif_tumor_subclusters(), tumor: C02
INFO [2021-12-09 08:45:09] cut tree into: 1 groups
INFO [2021-12-09 08:45:09] -processing C02,C02_s1
INFO [2021-12-09 08:45:09] define_signif_tumor_subclusters(), tumor: C03
INFO [2021-12-09 08:45:45] cut tree into: 1 groups
INFO [2021-12-09 08:45:45] -processing C03,C03_s1
INFO [2021-12-09 08:45:45] define_signif_tumor_subclusters(), tumor: C04
INFO [2021-12-09 08:45:59] cut tree into: 1 groups
INFO [2021-12-09 08:45:59] -processing C04,C04_s1
INFO [2021-12-09 08:45:59] define_signif_tumor_subclusters(), tumor: C05
INFO [2021-12-09 08:46:07] cut tree into: 1 groups
INFO [2021-12-09 08:46:07] -processing C05,C05_s1
INFO [2021-12-09 08:46:07] define_signif_tumor_subclusters(), tumor: C06
INFO [2021-12-09 08:46:13] cut tree into: 1 groups
INFO [2021-12-09 08:46:13] -processing C06,C06_s1
INFO [2021-12-09 08:46:13] define_signif_tumor_subclusters(), tumor: C07
INFO [2021-12-09 08:46:16] cut tree into: 1 groups
INFO [2021-12-09 08:46:16] -processing C07,C07_s1
INFO [2021-12-09 08:46:16] define_signif_tumor_subclusters(), tumor: C08
INFO [2021-12-09 08:46:18] cut tree into: 1 groups
INFO [2021-12-09 08:46:18] -processing C08,C08_s1
INFO [2021-12-09 08:46:18] define_signif_tumor_subclusters(), tumor: Myeloid cell
INFO [2021-12-09 08:46:34] cut tree into: 1 groups
INFO [2021-12-09 08:46:34] -processing Myeloid cell,Myeloid cell_s1
INFO [2021-12-09 08:46:34] define_signif_tumor_subclusters(), tumor: Lymphoid cell
INFO [2021-12-09 08:46:35] cut tree into: 1 groups
INFO [2021-12-09 08:46:35] -processing Lymphoid cell,Lymphoid cell_s1
INFO [2021-12-09 08:48:00] ::plot_cnv:Start
INFO [2021-12-09 08:48:00] ::plot_cnv:Current data dimensions (r,c)=7945,7279 Total=58098065.8675027 Min=0.466829497259287 Max=1.83737474632447.
INFO [2021-12-09 08:48:01] ::plot_cnv:Depending on the size of the matrix this may take a moment.
INFO [2021-12-09 08:49:02] plot_cnv(): auto thresholding at: (0.789432 , 1.219781)
INFO [2021-12-09 08:49:04] plot_cnv_observation:Start
INFO [2021-12-09 08:49:04] Observation data size: Cells= 6384 Genes= 7945
INFO [2021-12-09 08:49:05] plot_cnv_observation:Writing observation groupings/color.
INFO [2021-12-09 08:49:05] plot_cnv_observation:Done writing observation groupings/color.
INFO [2021-12-09 08:49:05] plot_cnv_observation:Writing observation heatmap thresholds.
INFO [2021-12-09 08:49:05] plot_cnv_observation:Done writing observation heatmap thresholds.
INFO [2021-12-09 08:49:18] Colors for breaks:  #00008B,#24249B,#4848AB,#6D6DBC,#9191CC,#B6B6DD,#DADAEE,#FFFFFF,#EEDADA,#DDB6B6,#CC9191,#BC6D6D,#AB4848,#9B2424,#8B0000
INFO [2021-12-09 08:49:18] Quantiles of plotted data range: 0.789432426227872,0.957956912793076,1,1.04388193683948,1.21978089708106
INFO [2021-12-09 08:49:24] plot_cnv_observations:Writing observation data to CAG_inferCNV_Output_Cancercell_2/infercnv.preliminary.observations.txt
INFO [2021-12-09 08:50:18] plot_cnv_references:Start
INFO [2021-12-09 08:50:18] Reference data size: Cells= 895 Genes= 7945
INFO [2021-12-09 08:50:35] plot_cnv_references:Number reference groups= 2
INFO [2021-12-09 08:50:35] plot_cnv_references:Plotting heatmap.
INFO [2021-12-09 08:50:36] Colors for breaks:  #00008B,#24249B,#4848AB,#6D6DBC,#9191CC,#B6B6DD,#DADAEE,#FFFFFF,#EEDADA,#DDB6B6,#CC9191,#BC6D6D,#AB4848,#9B2424,#8B0000
INFO [2021-12-09 08:50:36] Quantiles of plotted data range: 0.789432426227872,0.96688495685827,1,1.03158820364972,1.21978089708106
INFO [2021-12-09 08:50:37] plot_cnv_references:Writing reference data to CAG_inferCNV_Output_Cancercell_2/infercnv.preliminary.references.txt
INFO [2021-12-09 08:50:47] 

    STEP 21: Denoising

INFO [2021-12-09 08:50:47] ::process_data:Remove noise, noise threshold defined via ref mean sd_amplifier:  1.5
INFO [2021-12-09 08:50:47] denoising using mean(normal) +- sd_amplifier * sd(normal) per gene per cell across all data
INFO [2021-12-09 08:50:47] :: **** clear_noise_via_ref_quantiles **** : removing noise between bounds:  0.917293991432762 - 1.08631551518791
INFO [2021-12-09 08:51:10] ::plot_cnv:Start
INFO [2021-12-09 08:51:10] ::plot_cnv:Current data dimensions (r,c)=7945,7279 Total=58285113.1960789 Min=0.466829497259287 Max=1.83737474632447.
INFO [2021-12-09 08:51:10] ::plot_cnv:Depending on the size of the matrix this may take a moment.
INFO [2021-12-09 08:52:10] plot_cnv(): auto thresholding at: (0.795901 , 1.219781)
INFO [2021-12-09 08:52:12] plot_cnv_observation:Start
INFO [2021-12-09 08:52:12] Observation data size: Cells= 6384 Genes= 7945
INFO [2021-12-09 08:52:13] plot_cnv_observation:Writing observation groupings/color.
INFO [2021-12-09 08:52:13] plot_cnv_observation:Done writing observation groupings/color.
INFO [2021-12-09 08:52:13] plot_cnv_observation:Writing observation heatmap thresholds.
INFO [2021-12-09 08:52:13] plot_cnv_observation:Done writing observation heatmap thresholds.
INFO [2021-12-09 08:52:24] Colors for breaks:  #00008B,#24249B,#4848AB,#6D6DBC,#9191CC,#B6B6DD,#DADAEE,#FFFFFF,#EEDADA,#DDB6B6,#CC9191,#BC6D6D,#AB4848,#9B2424,#8B0000
INFO [2021-12-09 08:52:24] Quantiles of plotted data range: 0.795901109464115,1.00180475331034,1.00180475331034,1.00180475331034,1.21978089708106
INFO [2021-12-09 08:52:31] plot_cnv_observations:Writing observation data to CAG_inferCNV_Output_Cancercell_2/infercnv.21_denoised.observations.txt
INFO [2021-12-09 08:53:23] plot_cnv_references:Start
INFO [2021-12-09 08:53:23] Reference data size: Cells= 895 Genes= 7945
INFO [2021-12-09 08:53:40] plot_cnv_references:Number reference groups= 2
INFO [2021-12-09 08:53:40] plot_cnv_references:Plotting heatmap.
INFO [2021-12-09 08:53:41] Colors for breaks:  #00008B,#24249B,#4848AB,#6D6DBC,#9191CC,#B6B6DD,#DADAEE,#FFFFFF,#EEDADA,#DDB6B6,#CC9191,#BC6D6D,#AB4848,#9B2424,#8B0000
INFO [2021-12-09 08:53:41] Quantiles of plotted data range: 0.795901109464115,1.00180475331034,1.00180475331034,1.00180475331034,1.21978089708106
INFO [2021-12-09 08:53:42] plot_cnv_references:Writing reference data to CAG_inferCNV_Output_Cancercell_2/infercnv.21_denoised.references.txt
INFO [2021-12-09 08:54:11] 

## Making the final infercnv heatmap ##
INFO [2021-12-09 08:54:12] ::plot_cnv:Start
INFO [2021-12-09 08:54:12] ::plot_cnv:Current data dimensions (r,c)=7945,7279 Total=58285113.1960789 Min=0.466829497259287 Max=1.83737474632447.
INFO [2021-12-09 08:54:12] ::plot_cnv:Depending on the size of the matrix this may take a moment.
INFO [2021-12-09 08:55:11] plot_cnv(): auto thresholding at: (0.780219 , 1.219781)
INFO [2021-12-09 08:55:13] plot_cnv_observation:Start
INFO [2021-12-09 08:55:13] Observation data size: Cells= 6384 Genes= 7945
INFO [2021-12-09 08:55:14] plot_cnv_observation:Writing observation groupings/color.
INFO [2021-12-09 08:55:14] plot_cnv_observation:Done writing observation groupings/color.
INFO [2021-12-09 08:55:14] plot_cnv_observation:Writing observation heatmap thresholds.
INFO [2021-12-09 08:55:14] plot_cnv_observation:Done writing observation heatmap thresholds.
INFO [2021-12-09 08:55:26] Colors for breaks:  #00008B,#24249B,#4848AB,#6D6DBC,#9191CC,#B6B6DD,#DADAEE,#FFFFFF,#EEDADA,#DDB6B6,#CC9191,#BC6D6D,#AB4848,#9B2424,#8B0000
INFO [2021-12-09 08:55:26] Quantiles of plotted data range: 0.780219102918943,1.00180475331034,1.00180475331034,1.00180475331034,1.21978089708106
INFO [2021-12-09 08:55:32] plot_cnv_observations:Writing observation data to CAG_inferCNV_Output_Cancercell_2/infercnv.observations.txt
INFO [2021-12-09 08:56:24] plot_cnv_references:Start
INFO [2021-12-09 08:56:24] Reference data size: Cells= 895 Genes= 7945
INFO [2021-12-09 08:56:41] plot_cnv_references:Number reference groups= 2
INFO [2021-12-09 08:56:41] plot_cnv_references:Plotting heatmap.
INFO [2021-12-09 08:56:42] Colors for breaks:  #00008B,#24249B,#4848AB,#6D6DBC,#9191CC,#B6B6DD,#DADAEE,#FFFFFF,#EEDADA,#DDB6B6,#CC9191,#BC6D6D,#AB4848,#9B2424,#8B0000
INFO [2021-12-09 08:56:42] Quantiles of plotted data range: 0.780219102918943,1.00180475331034,1.00180475331034,1.00180475331034,1.21978089708106
INFO [2021-12-09 08:56:43] plot_cnv_references:Writing reference data to CAG_inferCNV_Output_Cancercell_2/infercnv.references.txt
©著作权归作者所有,转载或内容合作请联系作者
  • 序言:七十年代末,一起剥皮案震惊了整个滨河市,随后出现的几起案子,更是在滨河造成了极大的恐慌,老刑警刘岩,带你破解...
    沈念sama阅读 204,684评论 6 478
  • 序言:滨河连续发生了三起死亡事件,死亡现场离奇诡异,居然都是意外死亡,警方通过查阅死者的电脑和手机,发现死者居然都...
    沈念sama阅读 87,143评论 2 381
  • 文/潘晓璐 我一进店门,熙熙楼的掌柜王于贵愁眉苦脸地迎上来,“玉大人,你说我怎么就摊上这事。” “怎么了?”我有些...
    开封第一讲书人阅读 151,214评论 0 337
  • 文/不坏的土叔 我叫张陵,是天一观的道长。 经常有香客问我,道长,这世上最难降的妖魔是什么? 我笑而不...
    开封第一讲书人阅读 54,788评论 1 277
  • 正文 为了忘掉前任,我火速办了婚礼,结果婚礼上,老公的妹妹穿的比我还像新娘。我一直安慰自己,他们只是感情好,可当我...
    茶点故事阅读 63,796评论 5 368
  • 文/花漫 我一把揭开白布。 她就那样静静地躺着,像睡着了一般。 火红的嫁衣衬着肌肤如雪。 梳的纹丝不乱的头发上,一...
    开封第一讲书人阅读 48,665评论 1 281
  • 那天,我揣着相机与录音,去河边找鬼。 笑死,一个胖子当着我的面吹牛,可吹牛的内容都是我干的。 我是一名探鬼主播,决...
    沈念sama阅读 38,027评论 3 399
  • 文/苍兰香墨 我猛地睁开眼,长吁一口气:“原来是场噩梦啊……” “哼!你这毒妇竟也来了?” 一声冷哼从身侧响起,我...
    开封第一讲书人阅读 36,679评论 0 258
  • 序言:老挝万荣一对情侣失踪,失踪者是张志新(化名)和其女友刘颖,没想到半个月后,有当地人在树林里发现了一具尸体,经...
    沈念sama阅读 41,346评论 1 299
  • 正文 独居荒郊野岭守林人离奇死亡,尸身上长有42处带血的脓包…… 初始之章·张勋 以下内容为张勋视角 年9月15日...
    茶点故事阅读 35,664评论 2 321
  • 正文 我和宋清朗相恋三年,在试婚纱的时候发现自己被绿了。 大学时的朋友给我发了我未婚夫和他白月光在一起吃饭的照片。...
    茶点故事阅读 37,766评论 1 331
  • 序言:一个原本活蹦乱跳的男人离奇死亡,死状恐怖,灵堂内的尸体忽然破棺而出,到底是诈尸还是另有隐情,我是刑警宁泽,带...
    沈念sama阅读 33,412评论 4 321
  • 正文 年R本政府宣布,位于F岛的核电站,受9级特大地震影响,放射性物质发生泄漏。R本人自食恶果不足惜,却给世界环境...
    茶点故事阅读 39,015评论 3 307
  • 文/蒙蒙 一、第九天 我趴在偏房一处隐蔽的房顶上张望。 院中可真热闹,春花似锦、人声如沸。这庄子的主人今日做“春日...
    开封第一讲书人阅读 29,974评论 0 19
  • 文/苍兰香墨 我抬头看了看天上的太阳。三九已至,却和暖如春,着一层夹袄步出监牢的瞬间,已是汗流浃背。 一阵脚步声响...
    开封第一讲书人阅读 31,203评论 1 260
  • 我被黑心中介骗来泰国打工, 没想到刚下飞机就差点儿被人妖公主榨干…… 1. 我叫王不留,地道东北人。 一个月前我还...
    沈念sama阅读 45,073评论 2 350
  • 正文 我出身青楼,却偏偏与公主长得像,于是被迫代替她去往敌国和亲。 传闻我的和亲对象是个残疾皇子,可洞房花烛夜当晚...
    茶点故事阅读 42,501评论 2 343

推荐阅读更多精彩内容