File: InteractiveMenu.h

package info (click to toggle)
clustalx 2.1%2Blgpl-9
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, forky, sid, trixie
  • size: 3,324 kB
  • sloc: cpp: 40,050; sh: 163; xml: 102; makefile: 16
file content (71 lines) | stat: -rw-r--r-- 1,690 bytes parent folder | download | duplicates (12)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
/**
 * Author: Mark Larkin
 * 
 * Copyright (c) 2007 Des Higgins, Julie Thompson and Toby Gibson.  
 */
/**
 * Mark Larkin 12 Dec 2005.
 * Interactive menu class. It uses the object userParameters for
 * all the session variables.
 */
#ifndef INTERACTIVEMENU_H
#define INTERACTIVEMENU_H

#include <string>
#include "../Clustal.h"
#include "../general/clustalw.h"
#include "../general/userparams.h"
#include "../general/utils.h"
#include "../substitutionMatrix/globalmatrix.h"

namespace clustalw
{

using namespace std;

class InteractiveMenu
{
    public:
        /* Functions */
        InteractiveMenu(); 
        ~InteractiveMenu();
        void mainMenu();

        /* Attributes */

    private:
        /* Functions */
        void doSystem();
        void multipleAlignMenu();
        void profileAlignMenu();
        void ssOptionsMenu();
        int secStrOutputOptions();
        void phylogeneticTreeMenu();
        void treeFormatOptionsMenu();
        void formatOptionsMenu(); 
        void pairwiseMenu();
        void multiMenu();
        void gapPenaltiesMenu();
        int readMatrix(int alignResidueType, int alignType, MatMenu menu);
        void clusteringAlgorithmMenu();
        void iterationMenu();
         
        /* Attributes */
        Clustal* clustalObj;
        string phylipName;
        string clustalName;
        string distName;
        string nexusName;
        //string fasta_name;
        string p1TreeName;
        string p2TreeName;
        string secStructOutputTxt[4]; // Changed to a string array
        string lin1;
        MatMenu dnaMatrixMenu;
        MatMenu matrixMenu;
        MatMenu pwMatrixMenu;
        char choice;
};
}
#endif