-
Notifications
You must be signed in to change notification settings - Fork 10
papaemmelab / mergeSVvcf: invalid chromosome issue with pysam #5
Comments
Sorry, just forgot to paste the file attachment here. Pls check the vcf file. Note I changed the extension to txt for uploading. . |
Thanks for letting me know! I'll look into it this weekend. |
Thanks for your response. Much appreciated for your time. Could you pls let me know whether this is generally a simple issue to fix or should I wait for a few days? To be honest, this is quite a critical step in my workflow, I need to take a look at the format normalization result before writing downstream pipelines. BTW, do you happen to know any tools can do the conversion from BND notation vcf records back to symbolic sv records? Again, much appreciated for making this tool. |
Hi @yangyxt - I just ran
I haven't examined the output in any detail but it definitely ran and generated plausible-seeming output. Could you share with me the exact command you ran to get the 'Invalid chromosome/contig' error message? |
Dear maintainer, I am experiencing the same issue with mergeSVvcf. When I was trying to use mergevcf to process chrX, it returned an assertion error, but other chromosomes were fine. #6 I thought to try out mergeSVvcf, and the
Here I am attaching a vcf of chrX from me to help you reproduce. I am using Python 3.8.5 this time since mergeSVvcf somehow failed to built under Python 2.7.15. Kind regards, |
Dear @ljdursi I just ran |
BTW, I installed the branch of mergeSVvcf, instead of the main branch. So maybe this is related to @mflevine ? |
Dear Yuyao, |
Hi yang, Thanks for pointing this out. MergeSVvcf built and installed successfully under python 3.6.13. However, the same issue still exists, for both chrX and chr1 that I just tested.
I am using pysam 0.16.0.1. Kind regards, |
Ive narrowed down that the bug is related to GRCh vs hg. Contigs seem to be stripped of the |
Thanks for the info! At least I succeed in using mergeSVvcf after stripping the chr prefix before importing vcf into mergeSVvcf. Wish you would add more flexibility for mergeSVvcf regarding this issue later. Thanks! |
I have test the run with a simple vcf file from DELLY, (test convert all symbolic records to BND records) and it failed.
The specific error log is :
However I check the consistence between metalines and contig names in vcf records. So I'm not sure what's wrong.
Here I provide a simple vcf for bug reproduction. Could you pls take a look at it? @ljdursi @mflevine
The text was updated successfully, but these errors were encountered: