1 /**
2 * UGENE - Integrated Bioinformatics Tools.
3 * Copyright (C) 2008-2021 UniPro <ugene@unipro.ru>
4 * http://ugene.net
5 *
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public License
8 * as published by the Free Software Foundation; either version 2
9 * of the License, or (at your option) any later version.
10 *
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
19 * MA 02110-1301, USA.
20 */
21
22 #include "BaseSlots.h"
23
24 #include <U2Core/U2SafePoints.h>
25
26 static const QString SEQ_SLOT_ID("sequence");
27 static const QString MA_SLOT_ID("msa");
28 static const QString FEATURE_TABLE_SLOT_ID("annotations");
29 static const QString TEXT_SLOT_ID("text");
30 static const QString URL_SLOT_ID("url");
31 static const QString FASTA_HEADER_SLOT_ID("fasta-header");
32 static const QString VARIATION_TRACK_SLOT_ID("variation-track");
33 static const QString ASSEMBLY_SLOT_ID("assembly");
34 static const QString DATASET_SLOT_ID("dataset");
35
36 namespace U2 {
37 namespace Workflow {
38
DNA_SEQUENCE_SLOT()39 const Descriptor BaseSlots::DNA_SEQUENCE_SLOT() {
40 return Descriptor(SEQ_SLOT_ID, tr("Sequence"), tr("A biological sequence"));
41 }
42
MULTIPLE_ALIGNMENT_SLOT()43 const Descriptor BaseSlots::MULTIPLE_ALIGNMENT_SLOT() {
44 return Descriptor(MA_SLOT_ID, tr("MSA"), tr("A multiple sequence alignment"));
45 }
46
ANNOTATION_TABLE_SLOT()47 const Descriptor BaseSlots::ANNOTATION_TABLE_SLOT() {
48 return Descriptor(FEATURE_TABLE_SLOT_ID, tr("Set of annotations"), tr("A set of annotated regions"));
49 }
50
TEXT_SLOT()51 const Descriptor BaseSlots::TEXT_SLOT() {
52 return Descriptor(TEXT_SLOT_ID, tr("Plain text"), tr("Plain text reading or splitting to strings."));
53 }
54
URL_SLOT()55 const Descriptor BaseSlots::URL_SLOT() {
56 return Descriptor(URL_SLOT_ID, tr("Source URL"), tr("Location of a corresponding input file."));
57 }
58
FASTA_HEADER_SLOT()59 const Descriptor BaseSlots::FASTA_HEADER_SLOT() {
60 return Descriptor(FASTA_HEADER_SLOT_ID, tr("FASTA header"), tr("A header line for the FASTA record."));
61 }
62
VARIATION_TRACK_SLOT()63 const Descriptor BaseSlots::VARIATION_TRACK_SLOT() {
64 return Descriptor(VARIATION_TRACK_SLOT_ID, tr("Variation track"), tr("Set of variations"));
65 }
66
ASSEMBLY_SLOT()67 const Descriptor BaseSlots::ASSEMBLY_SLOT() {
68 return Descriptor(ASSEMBLY_SLOT_ID, tr("Assembly data"), tr("Assembly data"));
69 }
70
DATASET_SLOT()71 const Descriptor BaseSlots::DATASET_SLOT() {
72 return Descriptor(DATASET_SLOT_ID, tr("Dataset name"), tr("Dataset name"));
73 }
74
75 } // namespace Workflow
76 } // namespace U2
77