List<SequenceI> seqs = parseSequenceJson(ids);
if (seqs == null)
- return alignment;
+ {
+ return alignment;
+ }
if (seqs.isEmpty())
{
Platform.timeCheck("ENS seqproxy", Platform.TIME_MARK);
Map<String, Object> val = (Map<String, Object>) getJSON(null, ids, -1, MODE_MAP, null);
if (val == null)
- return null;
+ {
+ return null;
+ }
Object s = val.get("desc");
String desc = s == null ? null : s.toString();
s = val.get("id");
return false;
}
- if (alignment.findIndex(dbr.getMap().getTo()) == -1)
+
+ SequenceI x = dbr.getMap().getTo();
+// System.out.println(alignment.toString());
+// System.out.println(dbr);
+// System.out.println("map " + dbr.getMap());
+// System.out.println("to " + dbr.getMap().getTo());
+// if (x.toString().indexOf("ENSP00000395337") >= 0)
+// {
+// // The TO name here is "ENSP00000395337"
+// // But the name in the table is "LDAH_HUMAN"
+// System.out.println(x.getSequenceAsString());
+// SequenceI y = alignment.getSequenceAt(0);
+// System.out.println(y.getSequenceAsString());
+// System.out.println(x.getSequenceAsString()
+// .equals(y.getSequenceAsString()));
+//
+// }
+ if (alignment.findIndex(x) == -1)
{
if (raiseAssert)
{