Class GenomeDescriptionCreator


  • public class GenomeDescriptionCreator
    extends Object
    This class define a genome description creator.
    Since:
    1.2
    Author:
    Laurent Jourdren
    • Constructor Detail

      • GenomeDescriptionCreator

        public GenomeDescriptionCreator()
        Public constructor.
    • Method Detail

      • createGenomeDescriptionFromAnnotation

        public fr.ens.biologie.genomique.kenetre.bio.GenomeDescription createGenomeDescriptionFromAnnotation​(DataFile annotationDataFile)
                                                                                                      throws fr.ens.biologie.genomique.kenetre.bio.BadBioEntryException,
                                                                                                             IOException
        Create genome description object from the storage if already exists or compute it from the genome.
        Parameters:
        annotationDataFile - annotation file
        Returns:
        the genome description object
        Throws:
        fr.ens.biologie.genomique.kenetre.bio.BadBioEntryException - if an error occurs while computing the genome description
        IOException - if an error occurs while computing the genome description
      • createGenomeDescription

        public fr.ens.biologie.genomique.kenetre.bio.GenomeDescription createGenomeDescription​(DataFile genomeDataFile)
                                                                                        throws fr.ens.biologie.genomique.kenetre.bio.BadBioEntryException,
                                                                                               IOException
        Create genome description object from the storage if already exists or compute it from the genome.
        Parameters:
        genomeDataFile - genome file
        Returns:
        the genome description object
        Throws:
        fr.ens.biologie.genomique.kenetre.bio.BadBioEntryException - if an error occurs while computing the genome description
        IOException - if an error occurs while computing the genome description