Class DefaultPhylogenyDocument

    • Field Detail

      • KEY_NEXUS_TREE_DISTANCE_MATRIX

        public static final java.lang.String KEY_NEXUS_TREE_DISTANCE_MATRIX
        See Also:
        Constant Field Values
      • KEY_DOCUMENT_SIZE

        public static final java.lang.String KEY_DOCUMENT_SIZE
        See Also:
        Constant Field Values
      • KEY_SEQUENCE_RESIDUES

        public static final java.lang.String KEY_SEQUENCE_RESIDUES
        See Also:
        Constant Field Values
    • Constructor Detail

      • DefaultPhylogenyDocument

        public DefaultPhylogenyDocument()
        XML deserialization constructor. See XMLSerializable
      • DefaultPhylogenyDocument

        public DefaultPhylogenyDocument​(java.util.List<? extends jebl.evolution.trees.Tree> trees,
                                        java.util.List<jebl.evolution.sequences.Sequence> inAlignedSequences,
                                        java.lang.String name,
                                        java.lang.String summary,
                                        AnnotatedPluginDocument alignmentDocument,
                                        boolean standardTranslation)
        Parameters:
        trees - One or more trees whose tips are sequences of the alignment; must not be null or empty
        inAlignedSequences - List of aligned sequences. Can be null if alignmentDocument is given.
        name - document name
        summary - document summary
        alignmentDocument - Alignment document which is the origin of alignedSequences (optional, i.e. may be null)
        standardTranslation - when true, taxa on tree is in fact ("1", "2", ...) and so a conversion to the actual taxa name (from the sequences) has to be applied when appropriate.
        Throws:
        java.lang.IllegalArgumentException - if trees is null or empty
      • DefaultPhylogenyDocument

        public DefaultPhylogenyDocument​(java.util.List<? extends jebl.evolution.trees.Tree> trees,
                                        java.util.List<jebl.evolution.sequences.Sequence> inAlignedSequences,
                                        java.lang.String name,
                                        java.lang.String summary,
                                        AnnotatedPluginDocument alignmentDocument,
                                        boolean standardTranslation,
                                        boolean allTreesWritable)
        Parameters:
        trees - One or more trees whose tips are sequences of the alignment; must not be null or empty
        inAlignedSequences - List of aligned sequences. Can be null if alignmentDocument is given.
        name - document name
        summary - document summary
        alignmentDocument - Alignment document which is the origin of alignedSequences (optional, i.e. may be null)
        standardTranslation - when true, taxa on tree is in fact ("1", "2", ...) and so a conversion to the actual taxa name (from the sequences) has to be applied when appropriate.
        allTreesWritable - True if the tree viewer should allow the user to modify all trees in this document (if false, only the first tree will be writable)
        Throws:
        java.lang.IllegalArgumentException - if trees is null or empty