RNA velocity | RNA速率
单细胞转录组确实是利器,但我们大多只利用了表达的信息,而从reads到表达之间的信息完全被我们忽略了。
最近nature发了一篇单细胞方法类文章,讲得就是如何利用RNA velocity来做细胞发育路径的推断。
velocyto-notebooks
首先需要了解一些基本概念:
RNA velocity:the time derivative of the gene expression state—can be directly estimated by distinguishing between unspliced and spliced mRNAs in common single-cell RNA sequencing protocols. a high-dimensional vector that predicts the future state of individual cells on a timescale of hours. 比较抽象,一开始很难理解。
half-life of mRNA:Translation in both prokaryotes and eukaryotes involves three phases: initiation, elongation, and termination. The relative abundance of nascent (unspliced) and mature (spliced) mRNA can be exploited to estimate the rates of gene splicing and degradation. could reveal the rate and direction of change of the entire transcriptome during dynamic processes.
装R版本的时候,HDF5老是出问题,必须安装指定版本。同时还有一系列的预选包必须安装。
1 | brew switch hdf5 1.10.1_2 |
1 | conda install llvm |
python版本也有问题:
1 | clang: error: unsupported option '-fopenmp' |
If not, try conda install llvm
, conda install gcc
or conda install libgcc
.
If this also does not work, try adding -c conda-forge
I am pretty sure the version of the compiler provided by conda forge supports openmp.
for pagoda2
1 2 3 | cd /Applications/Xcode .app /Contents/Developer/Toolchains/XcodeDefault .xctoolchain /usr/bin/ rm clang++ ln -s /usr/local/clang4/bin/clang ++ clang++ |
合并
1 | ls results/*/*.loom | sed "s:^:`pwd`/: " > loom. file .list |
1 2 3 4 5 6 7 8 9 10 | import loompy files = [] inf = open ( "loom.file.list" , "r" ) for line in inf: files.append(line.strip()) inf.close() loompy.combine(files, "merged.loom" , key = "Accession" ) |
1 2 3 4 | import velocyto as vcy vlm = vcy.VelocytoLoom( "merged.loom" ) vlm.ca len ( dir (vlm)) |
这里有个PPT,总结了该工具的基本算法。RNA_velocity.pptx
另外有一个叫velocyto可以分析。示例分析:RNA velocity analysis.pptx
针对velocyto会再开一个简易教程。
参考:
Messenger RNA Half-Life Measurements in Mammalian Cells
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· AI与.NET技术实操系列(二):开始使用ML.NET
· 记一次.NET内存居高不下排查解决与启示
· 探究高空视频全景AR技术的实现原理
· 理解Rust引用及其生命周期标识(上)
· 浏览器原生「磁吸」效果!Anchor Positioning 锚点定位神器解析
· 全程不用写代码,我用AI程序员写了一个飞机大战
· DeepSeek 开源周回顾「GitHub 热点速览」
· 记一次.NET内存居高不下排查解决与启示
· MongoDB 8.0这个新功能碉堡了,比商业数据库还牛
· .NET10 - 预览版1新功能体验(一)