07单细胞分析2025-bam文件通过velocyto生成loom文件

Welcome to velocyto.py! — velocyto 0.17.16 documentation

Installation Guide — velocyto 0.17.16 documentation

0.创建新的conda环境 安装velocyto 0.17和python=3.7 等依赖

conda create -n velocytoloom37 python=3.7

conda activate velocytoloom37

conda install -c bioconda velocyto.py

velocyto --help

1.下载物种的特殊的gtf文件

Mask文件到UCSC官网下载

https//genome.ucsc.edu/

具体下载地址:

https://genome.ucsc.edu/cgi-bin/hgTables

http://velocyto.org/velocyto.py/tutorial/cli.html
https://www.gencodegenes.org/human/
https://www.gencodegenes.org/mouse/

https://useast.ensembl.org/info/data/ftp/index.html

https://genome.ucsc.edu/cgi-bin/hgTables?hgsid=2483220707_fwCDacuRpqgNpZSgyK1IyAxumLE5&clade=mammal&org=&db=hs1&hgta_group=genes&hgta_track=knownGene&hgta_table=knownGene&hgta_regionType=genome&position=&hgta_outputType=primaryTable&hgta_outFileName=

https://genome.ucsc.edu/cgi-bin/hgTables
https://useast.ensembl.org/info/data/ftp/index.html

2.运行velocyto run10x 并设置

msk gtf文件的地址  

/home/be/besinglecell/OA/gtf/hg38_rmsk.gtf

fastq输出文件的output地址 

/home/be/besinglecell/OA/bcoaneiD201/

参考基因的genes的地址 

/home/be/besinglecell/referdata/refdata-gex-GRCh38-2020-A/genes/genes.gtf

velocyto run10x -m /home/be/besinglecell/OA/gtf/hg38_rmsk.gtf /home/be/besinglecell/OA/bcoaneiD201/ /home/be/besinglecell/referdata/refdata-gex-GRCh38-2020-A/genes/genes.gtf

velocyto run10x -m /home/be/besinglecell/OA/gtf/hg38_rmsk.gtf /home/be/besinglecell/OA/bcoaneiD201/ /home/be/besinglecell/referdata/refdata-gex-GRCh38-2020-A/genes/genes.gtf 

运行20分钟左右会报错 samtools 版本低

conda install -c bioconda samtools=1.6

再次运行后成功

记录 简要的学习 成长 体会 心得 总结 思路 心流 链接 资料  懂得都懂

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值