Package com.compomics.util.pdbfinder
Class FindPdbForUniprotAccessions
java.lang.Object
com.compomics.util.pdbfinder.FindPdbForUniprotAccessions
public class FindPdbForUniprotAccessions extends Object
Maps UniProt protein accession numbers to PDB file IDs.
- Author:
- Niklaas Colaert
-
Constructor Summary
Constructors Constructor Description FindPdbForUniprotAccessions()
Empty default constructorFindPdbForUniprotAccessions(String aProteinAccession, WaitingHandler aWaitingHandler)
Constructor. -
Method Summary
Modifier and Type Method Description Vector<PdbParameter>
getPdbs()
Returns a vector of the PDB files mapped to the given protein accession number.static void
main(String[] args)
Main method.boolean
urlWasRead()
Returns 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
-