public interface SequenceProvider
Modifier and Type | Method and Description |
---|---|
Collection<String> |
getAccessions()
Returns all accessions loaded in the provider.
|
HashSet<String> |
getDecoyAccessions()
Returns the decoy accessions.
|
String |
getHeader(String proteinAccession)
Returns the FASTA header of the protein as found in the FASTA file.
|
String |
getSequence(String proteinAccession)
Returns the protein sequence for the given accession.
|
String |
getSubsequence(String accession,
int start,
int end)
Returns the subsequence of the sequence of a given protein.
|
Collection<String> getAccessions()
HashSet<String> getDecoyAccessions()
String getSequence(String proteinAccession)
proteinAccession
- the accession of the proteinString getSubsequence(String accession, int start, int end)
accession
- the accession of the proteinstart
- the start indexend
- the end indexCopyright © 2021. All rights reserved.