|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.compomics.util.experiment.personalization.ExperimentObject
com.compomics.util.experiment.identification.FastaIndex
public class FastaIndex
This class contains the index of a FASTA file.
Constructor Summary | |
---|---|
FastaIndex(HashMap<String,Long> indexes,
String fileName,
boolean isDecoy,
int nTarget)
Constructor. |
Method Summary | |
---|---|
String |
getFileName()
Returns the file name of the inspected FASTA file. |
Long |
getIndex(String accession)
Returns the index of the accession of interest. |
HashMap<String,Long> |
getIndexes()
Returns a map of all indexes of the FASTA file (accession -> index). |
int |
getNTarget()
Returns the number of target sequences in the database. |
boolean |
isDecoy()
Returns a boolean indicating whether the database contains decoy sequences. |
Methods inherited from class com.compomics.util.experiment.personalization.ExperimentObject |
---|
addUrParam, getParameterKey, getUrParam |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FastaIndex(HashMap<String,Long> indexes, String fileName, boolean isDecoy, int nTarget)
indexes
- The indexes of the inspected FASTA filefileName
- The FASTA file nameisDecoy
- If the FASTA file contains decoys or nornTarget
- Number of target sequences found in the databaseMethod Detail |
---|
public HashMap<String,Long> getIndexes()
public Long getIndex(String accession)
accession
- the accession of interest
public String getFileName()
public boolean isDecoy()
public int getNTarget()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |