Closed Parsoa closed 4 years ago
Thank you for writing. Yes, this error suggest that the coordinates are outside the length of the chromosome. Is this human data? If so, there might actually be something wrong with either your reference or alternatively how BayesTyper parses it. The log from BayesTyper says that it only parsed 2638915210 nt. However we would expect more from a human genome. To be sure it is not the reference would it be possible for you to run samtools faidx on the genome and look at the resulting index to confirm the chromosome length?
You are correct. Seems like the reference file I have is bogus. I switched to a new reference and now it seems to work fine, however I now get a new error:
[13/05/2020 22:12:32] Parsing variants in unit 1 ...
bayesTyper: /isdata/kroghgrp/jasi/bayesTyper/code/releases/v1.5_static/BayesTyper-1.5/src/bayesTyper/VariantFileParser.cpp:230: bool VariantFileParser::constructVariantClusterGroups(InferenceUnit*, uint, const Chromosomes&): Assertion `(total_num_variants != num_variants) == variants_infile_fstream.good()' failed.
[1] 33028 abort cluster -v -s samples.tsv -g -p 16
Should I open a new issue?
BayesTyper does not support bgzip compressed files (only gzip). This error normally arises when those are used.
You are correct and I had indeed passed a gzip file. Thanks.
I get the following error after running BayesTyper on a VCF file generated by Paragraph:
I tried looking for variants at or near the 40917102 on any chromosome and the only thing I find is a deletion on chr8 at 40917103:
These coordinates fall within the boundaries of the chromosome so I don't see why I'm getting this error.