Class AlignmentResult
java.lang.Object
org.biojava.nbio.structure.align.pairwise.AlignmentResult
- All Implemented Interfaces:
Serializable
A class to track the alignment results in a flat file
- Author:
- andreas
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic AlignmentResultdeserialize(File output) longlongintintgetPdb1()getPdb2()voidvoidsetAlignments(AlternativeAlignment[] alignments) we only keep the first alternative...voidsetCalculationTime(long calculationTime) voidvoidvoidsetIoTime(long ioTime) voidsetLength1(int length1) voidsetLength2(int length2) voidvoidtoString()
-
Constructor Details
-
AlignmentResult
public AlignmentResult()
-
-
Method Details
-
toString
-
getAlignments
-
setAlignments
we only keep the first alternative...- Parameters:
alignments-
-
getPdb1
-
setPdb1
-
getPdb2
-
setPdb2
-
getChain1
-
setChain1
-
getChain2
-
setChain2
-
getLength1
public int getLength1() -
setLength1
public void setLength1(int length1) -
getLength2
public int getLength2() -
setLength2
public void setLength2(int length2) -
getCalculationTime
public long getCalculationTime() -
setCalculationTime
public void setCalculationTime(long calculationTime) -
getIoTime
public long getIoTime() -
setIoTime
public void setIoTime(long ioTime) -
serialize
- Throws:
FileNotFoundExceptionIOException
-
deserialize
public static AlignmentResult deserialize(File output) throws FileNotFoundException, IOException, ClassNotFoundException
-