warningMessages.cpp
Go to the documentation of this file.
1
/* *****************************************************************************
2
3
trimAl v2.0: a tool for automated alignment trimming in large-scale
4
phylogenetics analyses.
5
6
readAl v2.0: a tool for automated alignment conversion among different
7
formats.
8
9
2009-2019
10
Fernandez-Rodriguez V. (victor.fernandez@bsc.es)
11
Capella-Gutierrez S. (salvador.capella@bsc.es)
12
Gabaldon, T. (tgabaldon@crg.es)
13
14
This file is part of trimAl/readAl.
15
16
trimAl/readAl are free software: you can redistribute it and/or modify
17
it under the terms of the GNU General Public License as published by
18
the Free Software Foundation, the last available version.
19
20
trimAl/readAl are distributed in the hope that it will be useful,
21
but WITHOUT ANY WARRANTY; without even the implied warranty of
22
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
23
GNU General Public License for more details.
24
25
You should have received a copy of the GNU General Public License
26
along with trimAl/readAl. If not, see <http://www.gnu.org/licenses/>.
27
28
***************************************************************************** */
29
30
#
include
"reportsystem.h"
31
32
const
std::map<
WarningCode
,
const
char
*>
reporting
::
reportManager
::
WarningMessages
=
33
{
34
{
WarningCode
::
RemovingOnlyGapsSequence
,
35
"Removing sequence '[tag]' composed only by gaps after trimming"
},
36
37
{
WarningCode
::
KeepingOnlyGapsSequence
,
38
"Keeping sequence '[tag]' composed only by gaps after trimming"
},
39
40
{
WarningCode
::
SequenceWillBeCut
,
41
"Sequence \"[tag]\" will be cut at position [tag] (length:[tag])"
},
42
43
{
WarningCode
::
IncludingIndeterminationSymbols
,
44
"Sequence \"[tag]\" has some indetermination symbols 'X' "
45
"at the end of sequence. They will be included in the final Alignment."
},
46
47
{
WarningCode
::
LessNucleotidesThanExpected
,
48
"Sequence \"[tag]\" has less nucleotides ([tag]) than expected ([tag])."
49
" It will be added N's to complete the sequence"
},
50
51
{
WarningCode
::
HeaderWillBeCut
,
52
"Original sequence header will be cut by 10 characters on format [tag]"
},
53
54
{
WarningCode
::
DonorAlreadyAdded
,
55
"The donor \"[tag]\" is present on more than one VCF. "
56
"Overlaping SNPs will be overwritten."
},
57
58
{
WarningCode
::
SNPAlreadApplied
,
59
"SNP already applied to \"[tag]\":\"[tag]\" at position [tag] \"[tag]\"->\"[tag]\""
},
60
61
{
WarningCode
::
OverwrittingFile
,
62
"[[tag]] Overwritting file [tag]."
},
63
64
{
WarningCode
::
RenamingOutputPreventOverride
,
65
"[[tag]] -> To prevent overriding file [tag] a suffix has been added. Final filename: [tag]"
}
66
};
reporting::reportManager::WarningMessages
static const std::map< WarningCode, const char * > WarningMessages
Definition:
reportsystem.h:370
reporting::reportManager
Class that allows us to centralize all the reporting messages that should be used to inform the user ...
Definition:
reportsystem.h:354
LessNucleotidesThanExpected
Definition:
reportsystem.h:275
reporting
Internal classes to handle reporting to user in several ways. The reporting system is made so a devel...
Definition:
reportsystem.h:307
WarningCode
WarningCode
Definition:
reportsystem.h:266
OverwrittingFile
Definition:
reportsystem.h:283
IncludingIndeterminationSymbols
Definition:
reportsystem.h:273
SNPAlreadApplied
Definition:
reportsystem.h:281
DonorAlreadyAdded
Definition:
reportsystem.h:279
KeepingOnlyGapsSequence
Definition:
reportsystem.h:269
RenamingOutputPreventOverride
Definition:
reportsystem.h:285
HeaderWillBeCut
Definition:
reportsystem.h:277
SequenceWillBeCut
Definition:
reportsystem.h:271
RemovingOnlyGapsSequence
Definition:
reportsystem.h:267
source
reportMessages
warningMessages.cpp
Generated by
1.8.13