public class IdFetcher extends Object
| Constructor and Description |
|---|
IdFetcher()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
IdFetcher |
chemDbStartsWithOrEquals(String dbStartsWithOrEquals)
Set to prefer collecting chemical IDs of such Xrefs
where the small molecules db starts with or equals given string,
ignoring case.
|
Set<String> |
fetchID(BioPAXElement ele) |
List<String> |
getChemDbStartsWithOrEquals() |
List<String> |
getSeqDbStartsWithOrEquals() |
IdFetcher |
seqDbStartsWithOrEquals(String dbStartsWithOrEquals)
Set to prefer collecting gene/sequence IDs of such Xrefs
where the db starts with or equals given string,
ignoring case.
|
IdFetcher |
useNameWhenNoDbMatch(boolean useNameWhenNoDbMatch)
Set the flag to use the entity reference's names
when no desired ID type can be found (none of xref.db
matched before, or there're no xrefs at all).
|
public IdFetcher seqDbStartsWithOrEquals(String dbStartsWithOrEquals)
dbStartsWithOrEquals - the Xref.db value or prefix (case-insensitive)public IdFetcher chemDbStartsWithOrEquals(String dbStartsWithOrEquals)
dbStartsWithOrEquals - the Xref.db value or prefix (case-insensitive)public IdFetcher useNameWhenNoDbMatch(boolean useNameWhenNoDbMatch)
useNameWhenNoDbMatch - true/false (default is 'true' - when this method's never been called)public Set<String> fetchID(BioPAXElement ele)
Copyright © 2018 BioPAX. All rights reserved.