Open virenar opened 5 years ago
I have similar issue here using default xcmp
engine.
I use docker to compare my two VCFs:
docker run -it -v `pwd`:/data/ pkrusche/hap.py /opt/hap.py/bin/hap.py /data/true.vcf.gz/data/query.vcf.gz -r /data/reference/hg19.fa -o /data/test
and I got many similar messages as:
2019-06-27 12:19:42,498 ERROR Exception when running <function preprocessWrapper at 0x7fdcecd55140>: 2019-06-27 12:19:42,498 ERROR ------------------------------------------------------------ 2019-06-27 12:19:42,499 ERROR Traceback (most recent call last): 2019-06-27 12:19:42,500 ERROR File "/opt/hap.py/lib/python27/Tools/parallel.py", line 72, in parMapper 2019-06-27 12:19:42,501 ERROR return arg[1]['fun'](arg[0], *arg[1]['args'], **arg[1]['kwargs']) 2019-06-27 12:19:42,502 ERROR File "/opt/hap.py/lib/python27/Haplo/partialcredit.py", line 92, in preprocessWrapper 2019-06-27 12:19:42,503 ERROR runBcftools("index", tf.name) 2019-06-27 12:19:42,504 ERROR File "/opt/hap.py/lib/python27/Tools/bcftools.py", line 50, in runBcftools 2019-06-27 12:19:42,505 ERROR ". Return code was %i, output: %s / %s \n" % (rc, o, e)) 2019-06-27 12:19:42,506 ERROR Exception: Error running BCFTOOLS; please check if your file has issues using vcfcheck. Return code was 255, output: / [E::get_intv] failed to parse TBX_VCF, was wrong -p [type] used?The offending line was: " N 433.73 . . GT:AD:ADO:DP:GQ:PL 1/0:11,12:0:23:99:672"[E::hts_idx_push] unsorted positions on sequence #1: 52110700 followed by 1index: failed to create index for "/tmp/input.chr14:52096904-63255061hhlXlN.prep.vcf.gz"
Then I checked both files using vcfcheck
and no issues came up:
W] overlapping records at chr1:14466469 for sample 0 [W] Variants that overlap on the reference allele: 258 [I] Total VCF records: 1147227 [I] Non-reference VCF records: 1147227 [I] X chromosome appears to not be haploid -- assuming this is a female sample
I also tried sorting these two VCFs but still got those error messages. Any suggesstion would be appreciated. Thanks in advance.
I am trying the local counting based on distance match using the scmp-distance engine but getting following error
USAGE
ERROR
I even tried removing the AD from VCF but the problem still persists.
I tried merging the VCFs myself. It gave me warnings but was able to merge the files