嗨,我正在尝试使用 linkdatagen,这是一个基于 perl 的工具。它需要一个 vcf 文件(使用 SAMtools 的 mpileup)和一个 hapmap 注释文件(已提供)。我已按照说明进行操作,但在使用提供的 perl 脚本时,出现此错误。我使用的代码是:
samtools mpileup -d10000 -q13 -Q13 -gf hg19.fa -l annotHapMap2U.txt samplex.bam | bcftools view -cg -t0.5 - > samplex.HM.vcf
Perl vcf2linkdatagen.pl -variantCaller mpileup -annotfile annotHapMap2U.txt -pop CEU -mindepth 10 -missingness 0 samplex.HM.vcf > samplex.brlmm
Use of uninitiated value $chr in concatenation (.) or string at vcf2linkdatagentest.pl line 487, <IN> line 1
....它一直在继续.. 我已经给作者发了邮件,还没有收到他们的消息。有人可以帮我吗?我究竟做错了什么?
perl 脚本是: http ://bioinf.wehi.edu.au/software/linkdatagen/vcf2linkdatagen.pl
HapMap 文件可以从下面提到的网站下载。
http://bioinf.wehi.edu.au/software/linkdatagen/
非常感谢