public interface IDMaker
Nine times out of ten, you will use one of HashSequenceDB.byURN or HashSequenceDB.byName, but once in a blue-moon, you will want some other systematic way of retrieveing Sequences. This interface is here to allow you to plug in this functionality if you need it.
Modifier and Type | Interface and Description |
---|---|
static class |
IDMaker.ByName |
static class |
IDMaker.ByURN |
Modifier and Type | Field and Description |
---|---|
static IDMaker |
byName
A simple implementation of IDMaker that hashes by sequence name.
|
static IDMaker |
byURN
A simple implementation of IDMaker that hashes by URN.
|
Modifier and Type | Method and Description |
---|---|
String |
calcID(Sequence seq)
Calculate the id for a sequence.
|
Copyright © 2020 BioJava. All rights reserved.