Closed matthewwiese closed 1 year ago
This was caused by the chromosome names in the reference GFF retaining their original names (e.g. NC_041789.1
instead of chr1
). Fixed in this commit: https://github.com/matthewwiese/apple-phg/commit/a8e059ec78ae3cff3f4c883f5d504cadcf58f1ab
Additionally, I discovered the chromosome names of drMalSylv7.2 were being erroneously renamed according to drMalSylv7.3. Although not the cause of this issue, they would have caused problems later on: https://github.com/matthewwiese/apple-phg/commit/536264e64cf0b9e972ea51b444e87ee00fbcead9
For some reason we end up with 0 genic regions:
The suspect code in question is this Kotlin lambda within
CreateRefRangeUtils.kt
. I am not sure whether this is the result of the assemblies sourced from NCBI, my preprocessing steps, or a bug in the PHG.Full log below; the lambda mentioned above creates an empty list and as such triggers an
Empty list doesn't contain element at index 0
error on line 189.