结构变异(SV)鉴定软件——cuteSV(二)

0.软件介绍

之前曾经介绍过cuteSV适用于reads比对鉴定结构(SV)变异结构变异(SV)鉴定软件——cuteSV(一)-CSDN博客,现在发现cuteSV同时也支持基于全基因组比对鉴定结构变异。

github的Wiki界面为:Diploid assembly based SV detection using cuteSV · tjiangHIT/cuteSV Wiki (github.com)

cuteSV是可以使用pip直接安装的,参考之前的帖子。

这里则更推荐下面的安装方式,因为更容易找到cuteSV具体的安装位置。

git clone https://github.com/tjiangHIT/cuteSV.git
cd cuteSV && python3 setup install && cd ..

1.基因组比对

依旧是利用minimap2进行比对,需要参考基因组文件 ref.fasta 和作为quary的基因组文件 quary.fasta。

minimap2 --paf-no-hit -a -x asm5 --cs -r 2k -t 30 ref.fasta quary.fasta |samtools view -bS - |samtools sort -@ 30 -o minimap2.bam

2.cuteSV 运行

高级参数使用githun上作者的推荐参数:

cuteSV -s 1 --genotype --report_readid -p -1 -mi 500 -md 500 --max_cluster_bias_INS 1000 --diff_ratio_merging_INS 0.9 --max_cluster_bias_DEL 1000 --diff_ratio_merging_DEL 0.5 minimap2.bam ref.fasta output.vcf work_dir
cuteSV_genotype.py output.vcf output.final.vcf

如果最后的diploid_calling.py如果是利用pip安装的话,是在里python所在目录下,应该是:

.../python3/lib/python3.x/site-packages/cuteSV-x-pyx.egg/cuteSV/cuteSV_genotype.py

在使用的时候,可以使用这个py程序的绝对路径。

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值