canonicalSourceNameLookup.put("ensembl-tr", DBRefSource.ENSEMBL);
canonicalSourceNameLookup.put("ensembl-gn", DBRefSource.ENSEMBL);
canonicalSourceNameLookup.put("ensembl-tr", DBRefSource.ENSEMBL);
canonicalSourceNameLookup.put("ensembl-gn", DBRefSource.ENSEMBL);
// guarantee we always have lowercase entries for canonical string lookups
for (String k : canonicalSourceNameLookup.keySet())
{
// guarantee we always have lowercase entries for canonical string lookups
for (String k : canonicalSourceNameLookup.keySet())
{
static List<DBRefEntry> searchRefs(List<DBRefEntry> refs,
DBRefEntry entry, DbRefComp comparator, int mode)
{
static List<DBRefEntry> searchRefs(List<DBRefEntry> refs,
DBRefEntry entry, DbRefComp comparator, int mode)
{
public static List<DBRefEntry> searchRefsForSource(
List<DBRefEntry> dbRefs, String source)
{
public static List<DBRefEntry> searchRefsForSource(
List<DBRefEntry> dbRefs, String source)
{