inferCNV運(yùn)行記錄

> 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
?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請聯(lián)系作者
  • 序言:七十年代末卓起,一起剝皮案震驚了整個(gè)濱河市临扮,隨后出現(xiàn)的幾起案子牛柒,更是在濱河造成了極大的恐慌腾啥,老刑警劉巖袋倔,帶你破解...
    沈念sama閱讀 206,126評(píng)論 6 481
  • 序言:濱河連續(xù)發(fā)生了三起死亡事件,死亡現(xiàn)場離奇詭異悦昵,居然都是意外死亡紧武,警方通過查閱死者的電腦和手機(jī),發(fā)現(xiàn)死者居然都...
    沈念sama閱讀 88,254評(píng)論 2 382
  • 文/潘曉璐 我一進(jìn)店門玉组,熙熙樓的掌柜王于貴愁眉苦臉地迎上來谎柄,“玉大人,你說我怎么就攤上這事惯雳〕祝” “怎么了?”我有些...
    開封第一講書人閱讀 152,445評(píng)論 0 341
  • 文/不壞的土叔 我叫張陵石景,是天一觀的道長劈猿。 經(jīng)常有香客問我,道長潮孽,這世上最難降的妖魔是什么揪荣? 我笑而不...
    開封第一講書人閱讀 55,185評(píng)論 1 278
  • 正文 為了忘掉前任,我火速辦了婚禮往史,結(jié)果婚禮上仗颈,老公的妹妹穿的比我還像新娘。我一直安慰自己椎例,他們只是感情好挨决,可當(dāng)我...
    茶點(diǎn)故事閱讀 64,178評(píng)論 5 371
  • 文/花漫 我一把揭開白布请祖。 她就那樣靜靜地躺著,像睡著了一般脖祈。 火紅的嫁衣襯著肌膚如雪肆捕。 梳的紋絲不亂的頭發(fā)上,一...
    開封第一講書人閱讀 48,970評(píng)論 1 284
  • 那天盖高,我揣著相機(jī)與錄音福压,去河邊找鬼。 笑死或舞,一個(gè)胖子當(dāng)著我的面吹牛,可吹牛的內(nèi)容都是我干的蒙幻。 我是一名探鬼主播映凳,決...
    沈念sama閱讀 38,276評(píng)論 3 399
  • 文/蒼蘭香墨 我猛地睜開眼,長吁一口氣:“原來是場噩夢啊……” “哼邮破!你這毒婦竟也來了诈豌?” 一聲冷哼從身側(cè)響起,我...
    開封第一講書人閱讀 36,927評(píng)論 0 259
  • 序言:老撾萬榮一對(duì)情侶失蹤抒和,失蹤者是張志新(化名)和其女友劉穎矫渔,沒想到半個(gè)月后,有當(dāng)?shù)厝嗽跇淞掷锇l(fā)現(xiàn)了一具尸體摧莽,經(jīng)...
    沈念sama閱讀 43,400評(píng)論 1 300
  • 正文 獨(dú)居荒郊野嶺守林人離奇死亡庙洼,尸身上長有42處帶血的膿包…… 初始之章·張勛 以下內(nèi)容為張勛視角 年9月15日...
    茶點(diǎn)故事閱讀 35,883評(píng)論 2 323
  • 正文 我和宋清朗相戀三年,在試婚紗的時(shí)候發(fā)現(xiàn)自己被綠了镊辕。 大學(xué)時(shí)的朋友給我發(fā)了我未婚夫和他白月光在一起吃飯的照片油够。...
    茶點(diǎn)故事閱讀 37,997評(píng)論 1 333
  • 序言:一個(gè)原本活蹦亂跳的男人離奇死亡,死狀恐怖征懈,靈堂內(nèi)的尸體忽然破棺而出石咬,到底是詐尸還是另有隱情,我是刑警寧澤卖哎,帶...
    沈念sama閱讀 33,646評(píng)論 4 322
  • 正文 年R本政府宣布鬼悠,位于F島的核電站,受9級(jí)特大地震影響亏娜,放射性物質(zhì)發(fā)生泄漏焕窝。R本人自食惡果不足惜,卻給世界環(huán)境...
    茶點(diǎn)故事閱讀 39,213評(píng)論 3 307
  • 文/蒙蒙 一照藻、第九天 我趴在偏房一處隱蔽的房頂上張望袜啃。 院中可真熱鬧,春花似錦幸缕、人聲如沸群发。這莊子的主人今日做“春日...
    開封第一講書人閱讀 30,204評(píng)論 0 19
  • 文/蒼蘭香墨 我抬頭看了看天上的太陽熟妓。三九已至雪猪,卻和暖如春,著一層夾襖步出監(jiān)牢的瞬間起愈,已是汗流浹背只恨。 一陣腳步聲響...
    開封第一講書人閱讀 31,423評(píng)論 1 260
  • 我被黑心中介騙來泰國打工, 沒想到剛下飛機(jī)就差點(diǎn)兒被人妖公主榨干…… 1. 我叫王不留抬虽,地道東北人官觅。 一個(gè)月前我還...
    沈念sama閱讀 45,423評(píng)論 2 352
  • 正文 我出身青樓,卻偏偏與公主長得像阐污,于是被迫代替她去往敵國和親休涤。 傳聞我的和親對(duì)象是個(gè)殘疾皇子,可洞房花燭夜當(dāng)晚...
    茶點(diǎn)故事閱讀 42,722評(píng)論 2 345

推薦閱讀更多精彩內(nèi)容