diff --git a/src/main/java/org/broad/igv/sam/SpliceJunctionHelper.java b/src/main/java/org/broad/igv/sam/SpliceJunctionHelper.java index 8782ddabb..6e306fc7a 100644 --- a/src/main/java/org/broad/igv/sam/SpliceJunctionHelper.java +++ b/src/main/java/org/broad/igv/sam/SpliceJunctionHelper.java @@ -110,7 +110,11 @@ public void addAlignment(Alignment alignment) { // Determine strand. First check for explicit attribute. boolean isNegativeStrand; - Object strandAttr = alignment.getAttribute("XS"); + Object strandAttr = alignment.getAttribute("TS"); + if(strandAttr == null) { + strandAttr = alignment.getAttribute("XS"); // Older convention + } + if (strandAttr != null) { isNegativeStrand = strandAttr.toString().charAt(0) == '-'; } else {