Package com.compomics.util.pdbfinder
Class FindPdbForUniprotAccessions
java.lang.Object
com.compomics.util.pdbfinder.FindPdbForUniprotAccessions
Maps UniProt protein accession numbers to PDB file IDs.
- Author:
- Niklaas Colaert, Yehia Farag
-
Constructor Summary
ConstructorsConstructorDescriptionEmpty default constructorFindPdbForUniprotAccessions(String aProteinAccession, WaitingHandler aWaitingHandler) Constructor. -
Method Summary
Modifier and TypeMethodDescriptiongetPdbs()Returns a vector of the PDB files mapped to the given protein accession number.static voidMain method.booleanReturns true if the PDB URL was read, false otherwise.
-
Constructor Details
-
FindPdbForUniprotAccessions
public FindPdbForUniprotAccessions()Empty default constructor -
FindPdbForUniprotAccessions
Constructor.- Parameters:
aProteinAccession- the protein accessionaWaitingHandler- a waiting handler
-
-
Method Details
-
urlWasRead
public boolean urlWasRead()Returns true if the PDB URL was read, false otherwise.- Returns:
- true if the PDB URL was read, false otherwise
-
getPdbs
Returns a vector of the PDB files mapped to the given protein accession number.- Returns:
- a vector of the PDB files
-
main
Main method. Used for testing purposes.- Parameters:
args- the arguments
-