Class AlignmentResult
- java.lang.Object
-
- org.biojava.nbio.structure.align.pairwise.AlignmentResult
-
- All Implemented Interfaces:
Serializable
public class AlignmentResult extends Object implements Serializable
A class to track the alignment results in a flat file- Author:
- andreas
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AlignmentResult()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AlignmentResultdeserialize(File output)AlternativeAlignment[]getAlignments()longgetCalculationTime()StringgetChain1()StringgetChain2()longgetIoTime()intgetLength1()intgetLength2()StringgetPdb1()StringgetPdb2()voidserialize(File output)voidsetAlignments(AlternativeAlignment[] alignments)we only keep the first alternative...voidsetCalculationTime(long calculationTime)voidsetChain1(String chain1)voidsetChain2(String chain2)voidsetIoTime(long ioTime)voidsetLength1(int length1)voidsetLength2(int length2)voidsetPdb1(String pdb1)voidsetPdb2(String pdb2)StringtoString()
-
-
-
Constructor Detail
-
AlignmentResult
public AlignmentResult()
-
-
Method Detail
-
getAlignments
public AlternativeAlignment[] getAlignments()
-
setAlignments
public void setAlignments(AlternativeAlignment[] alignments)
we only keep the first alternative...- Parameters:
alignments-
-
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
public void serialize(File output) throws FileNotFoundException, IOException
- Throws:
FileNotFoundExceptionIOException
-
deserialize
public static AlignmentResult deserialize(File output) throws FileNotFoundException, IOException, ClassNotFoundException
-
-