-
Notifications
You must be signed in to change notification settings - Fork 43
/
Copy pathmega_interleaved_state.h
58 lines (40 loc) · 1.86 KB
/
mega_interleaved_state.h
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
/* *****************************************************************************
trimAl v2.0: a tool for automated alignment trimming in large-scale
phylogenetics analyses.
readAl v2.0: a tool for automated alignment conversion among different
formats.
2009-2019
Fernandez-Rodriguez V. ([email protected])
Capella-Gutierrez S. ([email protected])
Gabaldon, T. ([email protected])
This file is part of trimAl/readAl.
trimAl/readAl are free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, the last available version.
trimAl/readAl are distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with trimAl/readAl. If not, see <http://www.gnu.org/licenses/>.
***************************************************************************** */
#ifndef MEGAISTATE_H
#define MEGAISTATE_H
#include "BaseFormatHandler.h"
namespace FormatHandling {
class mega_interleaved_state : public BaseFormatHandler {
public:
explicit mega_interleaved_state(FormatManager *MachineState) {
Machine = MachineState;
name = "mega_interleaved";
extension = "mega";
canLoad = true;
canSave = false;
};
int CheckAlignment(std::istream *origin) override;
Alignment *LoadAlignment(std::istream& stream) override;
bool SaveAlignment(const Alignment &alignment, std::ostream *output) override;
bool RecognizeOutputFormat(const std::string &FormatName) override;
};
}
#endif // MEGAISTATE_H