charite.christo.protein
Interface SelectorOfNucleotides
- All Known Implementing Classes:
- ResidueAnnotation
public interface SelectorOfNucleotides
Selects nucleotides.
- See Also:
ResidueSelection
,
ResidueAnnotation
setProtein
void setProtein(Protein p)
getProtein
Protein getProtein()
getSelectedNucleotides
boolean[] getSelectedNucleotides()
getSelectedNucleotidesOffset
int getSelectedNucleotidesOffset()
- The goal is to reduce the size of the returned boolean array.
if e.g. the 100th nt is selected getOffset() can return 99 and
getSelectedNucleotides() can return new boolean[]{true}.
BitSet would not have been a solution because the following causses OutOfMemoryError:
new BitSet().set(1000*1000*1000,true);
'The most important classes are StrapAlign, Protein and StrapEvent.'