-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
failing on line 101: if indel > 0: #5
Comments
Hi @lhendrikse Thanks |
Hi @lhendrikse , I ran into the same error and I believe I found the source.
where It seems like classify() assigns variants as snp or variant based on whether the lengths of the ref and alt entries are equal.
This becomes problematic if you have multi-allelic alt calls ( for example REF=A. ALT=C,G because |
@omansn Good call, we never came across multi-allelic calls in our use case. And yes this will be factored in with the vcf patch. Only if i can get some downtime. Thanks |
@sridnona .. Let me know if I can contribute my also-minimal downtime and help with anything. A tool like this would be pretty helpful for a few of my projects. |
I am attempting to run cb_sniffer on a variant file that contains only SNPs (i.e. the value for indel argument should only ever be 0). When I run cb_sniffer it fails on line 101: if indel > 0.
I had a quick read through the code and it looks like the indel variable is never assigned? Any ideas?
LH
The text was updated successfully, but these errors were encountered: