<@UE6D8290F> snpeff failed on the full size test: ...
# sarek_dev
r
@Maxime Garcia snpeff failed on the full size test:
Copy code
java.lang.RuntimeException: Property: 'GRCh38.105.genome' not found in config file '/opt/conda/share/snpeff-5.3.0a-0/snpEff.config'
  	at org.snpeff.interval.Genome.<init>(Genome.java:102)
  	at org.snpeff.snpEffect.Config.readConfig(Config.java:820)
  	at org.snpeff.snpEffect.Config.init(Config.java:595)
  	at org.snpeff.snpEffect.Config.<init>(Config.java:125)
  	at org.snpeff.SnpEff.loadConfig(SnpEff.java:451)
  	at org.snpeff.snpEffect.commandLine.SnpEffCmdEff.run(SnpEffCmdEff.java:858)
  	at org.snpeff.snpEffect.commandLine.SnpEffCmdEff.run(SnpEffCmdEff.java:844)
  	at org.snpeff.SnpEff.run(SnpEff.java:1175)
  	at org.snpeff.SnpEff.main(SnpEff.java:164)
Maybe the data needs moving to the annotaiton cache?
m
@Matthias De Smet we forgot to revert the cache version to 105
it's an issue on the snpeff side, not in annotation cache or in sarek
basically either we can download the data with a newer version, but we cannot use cache 105, or we can use cache 105 but we need to use an older version and we cannot download
yes, it's a mess
@Matthias De Smet did you created an issue about it on the snpeff side?
m
I thought I did 🤔 but I can’t find it, so probably not 🤷🏻
r
a7ratn.jpg
m
I am thinking we should make an advisories about this snpeff mess
r
good idea, at least for the sarek version that are not pointing to the annotation-cache bucket by default
m
ok, so let's recapitulate. snpeff download is broken with older versions of sarek/rnavar due to changes in location for the storage of snpeff cache. snpeff download works with newer versions of sarek/rnavar?(not sure if we put the update there actually) due to updates of snpeff, but cache 105 is now not valid anymore (hopefully until a fix comes).
r
yep. and default access is also broken for older versions? Or did you always had to download it first?
m
nope, default access for pre-downloaded cache is still ok for older versions
👍 1
I have an hacky idea, which I know is bad
and it's pretty horrible
If people want to download, we disable 105, since it's not available in any case. If people want to use cache version 105, then we use an older snpeff. And we use the latest snpeff in all other cases.
And you were right, we need 99 versions of these DB
shakefist
on it
Done
r
👴
maybe let's put a big warning into the Readme? Don't we have the 105 or whatever the latest cache was in the annotation cache?
m
so snpeff 5.3 does not have this in its config
docker run community.wave.seqera.io/library/snpeff:5.3.0a--ca8e0b08f227a463 snpEff databases | grep GRCh38.105
returns nothing
Copy code
docker run community.wave.seqera.io/library/snpeff:5.3.0a--ca8e0b08f227a463 snpEff databases | grep GRCh38.99
GRCh38.99                                                   	Homo_sapiens                                                	          	                              	[https://snpeff.odsp.astrazeneca.com/databases/v5_3/snpEff_v5_3_GRCh38.99.zip, https://snpeff.odsp.astrazeneca.com/databases/v5_2/snpEff_v5_2_GRCh38.99.zip, https://snpeff.odsp.astrazeneca.com/databases/v5_1/snpEff_v5_1_GRCh38.99.zip, https://snpeff.odsp.astrazeneca.com/databases/v5_0/snpEff_v5_0_GRCh38.99.zip]
this one works
Actually all of
docker run community.wave.seqera.io/library/snpeff:5.3.0a--ca8e0b08f227a463 snpEff databases | grep "\.105"
returns nothing
I'll add a warning in my PR
r
I am massively confused. So they released a new snpeff version, but are now only referencing ancient caches?
m
that's it
r
meow tableflip
that seems terrible but ok. And we can't mix and match caches like we can with vep?
m
I don't know what happened, but as far as I'm concerned 105 is gone and forgotten
that's what we realized with @Matthias De Smet when we tested the new version
5.3a
Trying to fix snpeff has been like a whole month of effort, right @Matthias De Smet?
r
yikes, well it is what it is. Should we add a note in the readme and point to the snpeff docs?
m
I'm afraid the docs aren't that clear about that actually
It all started in august with: https://github.com/pcingola/SnpEff/issues/602 Then chasing about a new release so we could do a bioconda release: https://github.com/pcingola/SnpEff/issues/607 https://github.com/bioconda/bioconda-recipes/pull/59503 The download cache was patched in older versions, so we could probably have older sarek versions with download that works in conda: https://github.com/bioconda/bioconda-recipes/pull/59438 But cache is not complete: https://github.com/pcingola/SnpEff/issues/609
m
With all the slowdowns and dependnecies and stuff I can confirm the simple update took quite a while. Most issues are on the snpeff side IMO though
r
oh I am not blaming you both at all! Excellent work navigating some very confusing stuff. It was a yikes to the general state of a well used annotation software having suddenly pulled the rug from under it