public abstract class ChromosomeParser
extends java.lang.Object
Constructor and Description |
---|
ChromosomeParser() |
Modifier and Type | Method and Description |
---|---|
static void |
parse(java.io.File file,
Chromosome chromosome,
Resources resources)
Use this method to parse .chr files into a given chromosome.
|
static void |
print(Chromosome chromosome,
Resources resources)
Writes a chromosome to the console in .chr format.
|
static void |
save(java.io.File file,
Chromosome chromosome,
Resources resources)
Writes a chromosome into the specified .chr file.
|
public static void parse(java.io.File file, Chromosome chromosome, Resources resources)
file
- the .chr file to parse from.chromosome
- the chromosome to configure.resources
- the experiment resources.public static void save(java.io.File file, Chromosome chromosome, Resources resources)
file
- the file to write to.chromosome
- the chromosome to save.resources
- a reference to the experiment's resources.public static void print(Chromosome chromosome, Resources resources)
chromosome
- the chromosome to save.resources
- a reference to the experiment's resources.