We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e6bb8f3 commit 05f1052Copy full SHA for 05f1052
SequenceAnalysis/src/org/labkey/sequenceanalysis/util/ChainFileValidator.java
@@ -338,6 +338,16 @@ public void exec(Results rs) throws SQLException
338
339
//UCSC is a main source of chain files, so deal with their quirks:
340
// https://genome.ucsc.edu/cgi-bin/hgGateway
341
+ if (refName.startsWith("chr0"))
342
+ {
343
+ // Allow chr01, chr1 -> 1
344
+ String toTest = refName.replaceFirst("chr0", "");
345
+ if (cachedReferences.containsKey(toTest))
346
347
+ return cachedReferences.get(toTest);
348
+ }
349
350
+
351
if (refName.startsWith("chr"))
352
{
353
String toTest = refName.replaceFirst("chr", "");
0 commit comments