2 * Jalview - A Sequence Alignment Editor and Viewer ($$Version-Rel$$)
3 * Copyright (C) $$Year-Rel$$ The Jalview Authors
5 * This file is part of Jalview.
7 * Jalview is free software: you can redistribute it and/or
8 * modify it under the terms of the GNU General Public License
9 * as published by the Free Software Foundation, either version 3
10 * of the License, or (at your option) any later version.
12 * Jalview is distributed in the hope that it will be useful, but
13 * WITHOUT ANY WARRANTY; without even the implied warranty
14 * of MERCHANTABILITY or FITNESS FOR A PARTICULAR
15 * PURPOSE. See the GNU General Public License for more details.
17 * You should have received a copy of the GNU General Public License
18 * along with Jalview. If not, see <http://www.gnu.org/licenses/>.
19 * The Jalview Authors are detailed in the 'AUTHORS' file.
21 package jalview.json.binding.biojson.v1;
23 import com.github.reinert.jjschema.Attributes;
25 public class SequencePojo
30 maxLength = 2147483647,
31 description = "Sequence residue characters. An aligned sequence may contain <br>one of the following gap characters “.”, “-” or “ ”")
34 @Attributes(required = true, description = "Sequence name")
39 description = "Sequence type",
41 { "DNA", "RNA", "Protein" })
46 description = "Unique identifier for a given Sequence")
51 description = "The order/position of a sequence in the alignment space")
56 description = "The index of the sequence’s first residue in its source database, <br>using a one-based numbering index system")
61 description = "The index of the sequence’s last residue in its source database, <br>using a one-based numbering index system")
68 public SequencePojo(int start, int end, String id, String name,
76 public String getSeq()
81 public void setSeq(String seq)
86 public String getName()
92 public void setName(String name)
102 public void setId(String id)
107 public int getStart()
112 public void setStart(int start)
122 public void setEnd(int end)
127 public int getOrder()
132 public void setOrder(int order)
137 public String getType()
142 public void setType(String type)