Closed lilypeck closed 2 months ago
Hello @lilypeck,
There shouldn't be any changes in modkit v0.2.7 to v0.2.8 with respect to how the tabix index is handled. However, I did update the dependencies that modkit
uses, so it's possible that it picked up a bug. Could you?
Thanks.
Hello @ArtRand Thank you for your response! I have just checked with v0.2.7 and I don't get the tabix file error -
> reading reference FASTA at "/u/home/l/ldpeck/genome_resources/GCF_001633185.2_ValleyOak3.2_genomic.fna"
> running single-site analysis
> using default prior, Beta(α: 0.55, β: 0.55)
> estimating max coverages from data
> sampled 4139233 a records and 4027045 b records, calculating max coverages for 95th percentile
> calculated max coverage for a: 24 and b: 30
> running with replicates and matched samples
I have attached two .tbi files which failed. I have also checked the bedmethyls.gz and they are complete (with the same tail
output as the uncompressed versions).
Thanks
Lily
barcode21_U_CG.bedmethyl.gz.tbi.txt barcode21_U_CHG.bedmethyl.gz.tbi.txt
Hello @lilypeck,
I was able to reproduce the error using noodles version 0.69.0 (the version in modkit 0.2.8), the error does not occur with version 0.50.0 (the version in modkit 0.2.7). What is strange, however, is that the tabix indices that I have in tests and some others I've used seem to be parsed without complaint. Could you tell me what version of tabix
you have? This is what I have tested:
tabix --version
tabix (htslib) 1.18
Copyright (C) 2023 Genome Research Ltd.
If you give me a few minutes I can get you a build with the older version of the library to unblock your work, but I'd like to get to the bottom of the problem also. So to summarize, please:
tabix
you have and if you could show me the script you're using.Hello @ArtRand Thank you very much! Tabix is:
tabix (htslib) 1.19.1
Copyright (C) 2024 Genome Research Ltd.
The complete .bedmethyl is too big to upload, so I have uploaded the first 1m lines. Or if you have an email address I could send you a copy? And yes very happy for you to use these to exercise the bug.
Thank you very much for your help.
Hello @lilypeck,
Alright, I've made a branch (build attached) where I've changed the version back. Please let me know if this build works. I'm going to investigate why the later versions don't work with tabix 1.19.1. Thanks for permission to use your files as well.
Hi @ArtRand Thank you so much it is working now! Lily
@lilypeck Great, this fix is also in the 0.4.1 release.
Hello
I am getting a very basic error:
My script is:
However I don't think the error is related to my
.tbi
files, because I have re-run a script that previously successfully completed with mod_kit 0.2.7, and it now fails with this error for mod_kit 0.2.8.Is there something you can see that might be causing this?
Thank you in advance!
Lily