mutect2报错:More than two reads with the same name found

本文讲述了在使用Mutect2进行分析时遇到的错误,原因是输入文件中存在多个同名reads。作者发现是由于不小心将两个文件写入了相同的名称。通过检查脚本,最终确认问题并分享了解决方法,即指定正确的输入参数,如gatkMutect2-R$genome-I$RNA_bam_list-I$DNA_bam-normal$normal-O$prefix.temp.vcf。

今天跑mutect2出现报错:More than two reads with the same name found.  Using two reads randomly to combine as a fragment.找到两个以上具有相同名称的读取。使用两次随机读取组合为片段

这个报错的意思是在bam文件中有相同名称的reads

怀疑代码写错,把两个输入文件写成一样了,查看muect2脚本:

果然大意了,写了两个DOX4A

最后顺便分享下mutect2

gatk Mutect2 -R $genome -I $RNA_bam_list \
    -I $DNA_bam \
    -normal $normal \
    -O $prefix.temp.vcf

The paper ranked ballots were digitised, but they were simply entered into a csv file at the same time as the voting machines were writing to it. As a result, all of the ranked and positional rows are mixed up. Your first task is to separate these into two lists. Write a function read_ballots(filename) You need to write a function that returns two lists, one containing the ranked ballots, and one containing the positional ballots. Arguments: filename: the name of a csv file containing the ballot data. This file consists of ranked and positional rows intermixed at random. Definitions for ranked and positional ballots are found in the background slide. Returns: A tuple where: the first item is a list of all the ranked ballots in the specified csv file (lists of ints) the second item is a list of all the positional ballots in the specified csv file (lists of strings). Details: You are expected to preserve the ordering of the ballots from the original csv file. That is, the first ranked ballot (regardless of which row it is in the file) should be at index 0 of the first item in the tuple, the second should be at index 1, etc. Similarly for positional ballots. In this task you are not expected to check if they are valid ballots (that will be task 2), instead you should classify them according to the data types of the list. Other than converting ranked ballots to integers, you should not modify the contents of the ballots in any way. If the file cannot be found, your program should instead print "File not found." and return None .
最新发布
10-16
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值