Class AlignmentBlock
java.lang.Object
com.compomics.util.pdbfinder.das.readers.AlignmentBlock
AlignmentBlock.
- Author:
- Niklaas Colaert
-
Constructor Summary
ConstructorsConstructorDescriptionEmpty default constructorAlignmentBlock(int aPdbStart, int aPdbEnd, int aSpStart, int aSpEnd, String aPdbAccession, String aSpAccession) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionintReturns the difference.Returns the PDB accession.intReturns the PDB end.intReturns the PDB start.Returns the SP accession.intgetSpEnd()Returns the SP end.intReturns the SP start.
-
Constructor Details
-
AlignmentBlock
public AlignmentBlock()Empty default constructor -
AlignmentBlock
public AlignmentBlock(int aPdbStart, int aPdbEnd, int aSpStart, int aSpEnd, String aPdbAccession, String aSpAccession) Constructor.- Parameters:
aPdbStart- the PDB start indexaPdbEnd- the PDB end indexaSpStart- the UniProt start indexaSpEnd- the UniProt end indexaPdbAccession- the PDB accessionaSpAccession- the UniProt accession
-
-
Method Details
-
getPdbStart
public int getPdbStart()Returns the PDB start.- Returns:
- the PDB start
-
getPdbEnd
public int getPdbEnd()Returns the PDB end.- Returns:
- the PDB end
-
getSpStart
public int getSpStart()Returns the SP start.- Returns:
- the SP start
-
getSpEnd
public int getSpEnd()Returns the SP end.- Returns:
- the SP end
-
getPdbAccession
Returns the PDB accession.- Returns:
- the PDB accession
-
getSpAccession
Returns the SP accession.- Returns:
- the SP accession
-
getDifference
public int getDifference()Returns the difference.- Returns:
- the difference
-