-
Notifications
You must be signed in to change notification settings - Fork 1
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
Reader Object Error #3
Comments
@blankenberg can you take a look at this? We unfortunately cannot use |
Sorry for the delay (I missed this issue being opened) and more sorry to hear that you are experiencing issues. First guess is that your BAM file is not index, with e.g. samtools: I should definitely make this issue clearer though. If you have a xyz.bam.bai next to your xyz.bam input and it is not working, let me know and I will dig deeper. Please let me know how it goes. Of course, this error message is not super helpful and should be enhanced, regardless. Thanks, Dan |
@blankenberg
I've run this dataset on other variant callers (freebayes, gatk Mutect2, and snippy) and haven't gotten any error messages regarding the bam index. Here's the command I'm running: |
@nickeener would you be able to share a link to the input bam and bai files? Feel free to email me directly with them if you like. |
@blankenberg See: https://github.com/nickeener/HIV |
The input BAM file (https://github.com/nickeener/HIV/blob/master/FVM.bam) is unsorted, and the index created by bamtools is more-or-less empty. I would have thought that BAMtools would raise an error on indexing here, but I checked and it doesn't; samtools does raise an error, however.
Can you sort your BAM file first, then index, then try NVC again? |
@blankenberg That did it. Thanks for the help. |
Hey not sure if this is still being maintained but it's worth a shot. I'm comparing a number of variant callers, one of which is nvc, but I'm having problems getting it to run. I installed it using conda in an environment with python 2 but the error looks like a problem with the code itself. Any help would be greatly appreciated. I'll copy the error message below:
The text was updated successfully, but these errors were encountered: