Constructor and Description |
---|
DuplicationAlignment(java.io.File f)
Creates a duplication alignment from a file.
|
DuplicationAlignment(java.io.File f,
Ambiguous ambig)
Creates a duplication alignment which contains ambiguous data.
|
Modifier and Type | Method and Description |
---|---|
static void |
writeFile(Alignment a,
java.io.File f)
Writes a alignment to a file in the duplication alignment format described
above.
|
public DuplicationAlignment(java.io.File f) throws InputException, AlignmentException
f
- The input fileInputException
- Thrown if there is a problem with the input fileAlignmentException
- Thrown if any family contains the wrong number
of speciespublic DuplicationAlignment(java.io.File f, Ambiguous ambig) throws InputException, AlignmentException
DuplicationAlignment(java.io.File)
.f
- The input fileambig
- Desription o the ambiguous dataInputException
- Thrown if there is a problem with the input fileAlignmentException
- Thrown if any family contains the wrong number
of speciespublic static void writeFile(Alignment a, java.io.File f) throws OutputException
a
- The alignment to write to the file. Need not be a duplication alignmentf
- The file to write toOutputException
- Thrown if there is a problem creating the file