You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If the reference genome of the provided .gff3 file is contained in the file name, this information is parsed. If the file name additionally contains the Ensembl version such as GRCh38.87 in the provided test file Homo_sapiens.GRCh38.87.chromosome.Y.gff3 the upload process fails due to a GroovyCastException.
Mar 22 17:22:13 oncostore-db-proto start_varianstore_jar.sh: org.codehaus.groovy.runtime.typehandling.GroovyCastException: Cannot cast object '87' with class 'java.lang.String' to class 'java.lang.Integer'
Mar 22 17:22:13 oncostore-db-proto start_varianstore_jar.sh: at org.codehaus.groovy.runtime.typehandling.DefaultTypeTransformation.castToNumber(DefaultTypeTransformation.java:172)
Mar 22 17:22:13 oncostore-db-proto start_varianstore_jar.sh: at org.codehaus.groovy.runtime.typehandling.DefaultTypeTransformation.continueCastOnNumber(DefaultTypeTransformation.java:282)
Mar 22 17:22:13 oncostore-db-proto start_varianstore_jar.sh: at org.codehaus.groovy.runtime.typehandling.DefaultTypeTransformation.castToType(DefaultTypeTransformation.java:243)
Mar 22 17:22:13 oncostore-db-proto start_varianstore_jar.sh: at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.castToType(ScriptBytecodeAdapter.java:615)
Mar 22 17:22:13 oncostore-db-proto start_varianstore_jar.sh: at life.qbic.variantstore.parser.EnsemblParser.<init>(EnsemblParser.groovy:47)
Mar 22 17:22:13 oncostore-db-proto start_varianstore_jar.sh: at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
Mar 22 17:22:13 oncostore-db-proto start_varianstore_jar.sh: at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
Mar 22 17:22:13 oncostore-db-proto start_varianstore_jar.sh: at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
Mar 22 17:22:13 oncostore-db-proto start_varianstore_jar.sh: at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
Mar 22 17:22:13 oncostore-db-proto start_varianstore_jar.sh: at org.codehaus.groovy.reflection.CachedConstructor.invoke(CachedConstructor.java:80)
Mar 22 17:22:13 oncostore-db-proto start_varianstore_jar.sh: at org.codehaus.groovy.runtime.callsite.ConstructorSite$ConstructorSiteNoUnwrapNoCoerce.callConstructor(ConstructorSite.java:105)
Mar 22 17:22:13 oncostore-db-proto start_varianstore_jar.sh: at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallConstructor(CallSiteArray.java:59)
Mar 22 17:22:13 oncostore-db-proto start_varianstore_jar.sh: at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:237)
Mar 22 17:22:13 oncostore-db-proto start_varianstore_jar.sh: at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:249)
Mar 22 17:22:13 oncostore-db-proto start_varianstore_jar.sh: at life.qbic.variantstore.controller.GeneController.storeGenes(GeneController.groovy:123)
Mar 22 17:22:13 oncostore-db-proto start_varianstore_jar.sh: at life.qbic.variantstore.controller.$GeneControllerDefinition$$exec3.invokeInternal(Unknown Source)
The minor version should be cased to Integer.
The text was updated successfully, but these errors were encountered:
christopher-mohr
changed the title
Gene information upload by .gff3 fails if reference genome version in file name contains minor version
Gene information upload by .gff3 fails if file name does not contain Ensembl version as expected
Mar 24, 2021
christopher-mohr
changed the title
Gene information upload by .gff3 fails if file name does not contain Ensembl version as expected
Gene information upload by .gff3 fails if reference genome version in file name contains Ensembl version
Mar 24, 2021
If the reference genome of the provided
.gff3
file is contained in the file name, this information is parsed. If the file name additionally contains the Ensembl version such asGRCh38.87
in the provided test fileHomo_sapiens.GRCh38.87.chromosome.Y.gff3
the upload process fails due to aGroovyCastException
.The minor version should be cased to
Integer
.The text was updated successfully, but these errors were encountered: