~ubuntu-branches/ubuntu/trusty/clustalx/trusty

« back to all changes in this revision

Viewing changes to clustalW/tree/ClusterTreeOutput.h

  • Committer: Bazaar Package Importer
  • Author(s): Charles Plessy, Steffen Moeller, Charles Plessy
  • Date: 2009-10-21 13:25:44 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20091021132544-r4hbcnjxp354wxh0
Tags: 2.0.12-1
* New upstream release (LP: #423648, #393769):
  - Uses Qt instead of lesstif.
  - Includes new code for UPGMA guide trees.
  - Includes iterative alignment facility.

[ Steffen Moeller ]
* New upstream release.
* Updated watch file (Closes: #550893).
* Removed LICENSE from debian/clustalx.docs
* rename to clustalx seems no longer required in debian/rules
* moved clustalx.1 into debian folder (eases working with svn-buildpackage)
* added German translation to desktop file

[ Charles Plessy ]
* Updated my email address.
* debian/copyright made machine-readable.
* Added various informations in debian/upstream-metadata.yaml.
* Switched to Debhelper 7.
  (debian/rules, debian/control, debian/patches, debian/compat)
* Removed useless Debhelper file debian/clustalx.dirs.
* Updated package description.
* Hardcoded the localisation of accessory files in /usr/share/clustalx.
  (debian/patches/hardcode-accessory-file-locations.patch)
* Documented in debian/README.source that the documentation for quilt
  is in /usr/share/doc/quilt.
* Added upstream changelog downloaded from upstream website
  (debian/rules, debian/CHANGELOG.upstream).
* Incremented Standards-Version to reflect conformance with Policy 3.8.3
  (debian/control, no other changes needed).
* Updated homepage in debian/clustalw.1.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/**
 
2
 * Author: Mark Larkin
 
3
 * 
 
4
 * Copyright (c) 2007 Des Higgins, Julie Thompson and Toby Gibson.  
 
5
 */
 
6
#ifndef CLUSTERTREEOUTPUT_H
 
7
#define CLUSTERTREEOUTPUT_H
 
8
 
 
9
#include <memory>
 
10
#include <fstream>
 
11
#include "../alignment/Alignment.h"
 
12
#include "../general/clustalw.h"
 
13
 
 
14
namespace clustalw
 
15
{
 
16
 
 
17
class ClusterTreeOutput
 
18
{
 
19
    public:
 
20
        ClusterTreeOutput(clustalw::SeqInfo* seqInfo, int boot);
 
21
        void printNexusTree(clustalw::PhyloTree* phyloTree, ofstream* tree,
 
22
                   clustalw::Alignment *alignPtr, clustalw::DistMatrix* distMat, vector<int>* bootTotals);
 
23
        void printTree(clustalw::PhyloTree* phyloTree, ofstream* tree, vector<int>* totals);
 
24
        void printPhylipTree(clustalw::PhyloTree* phyloTree, ofstream* tree,
 
25
                   clustalw::Alignment *alignPtr, clustalw::DistMatrix* distMat, vector<int>* bootTotals);
 
26
        void printTreeDesc(clustalw::PhyloTree* phyloTree);
 
27
          
 
28
    private:
 
29
        ClusterTreeOutput(); // Dont allow contruction with default!!!!
 
30
        int twoWaySplit(clustalw::PhyloTree* phyloTree, ofstream* tree, int startRow, 
 
31
                    int flag, clustalw::Alignment *alignPtr, vector<int>* bootTotals);
 
32
        int twoWaySplitNexus(clustalw::PhyloTree* phyloTree, ofstream* tree, int startRow,
 
33
                    int flag, clustalw::Alignment *alignPtr, vector<int>* bootTotals);
 
34
        /* Attributes! */
 
35
        int firstSeq;
 
36
        int lastSeq;
 
37
        int numSeqs;
 
38
        int bootstrap;
 
39
};
 
40
 
 
41
}
 
42
 
 
43
#endif