2
* Copyright Copyright 2010-12 Simon Andrews
4
* This file is part of FastQC.
6
* FastQC is free software; you can redistribute it and/or modify
7
* it under the terms of the GNU General Public License as published by
8
* the Free Software Foundation; either version 3 of the License, or
9
* (at your option) any later version.
11
* FastQC 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.
16
* You should have received a copy of the GNU General Public License
17
* along with FastQC; if not, write to the Free Software
18
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
20
package uk.ac.babraham.FastQC.Sequence;
22
public class Sequence {
24
private String sequence;
25
private String quality;
27
private SequenceFile file;
28
private String colorspace;
29
private boolean isFiltered;
31
public Sequence (SequenceFile file,String sequence, String quality, String id) {
34
this.sequence = sequence.toUpperCase();
35
this.quality = quality;
36
this.colorspace = null;
37
this.isFiltered = false;
40
public Sequence (SequenceFile file,String sequence, String colorspace, String quality, String id) {
43
this.sequence = sequence;
44
this.quality = quality;
45
this.colorspace = colorspace;
48
public void setIsFiltered (boolean isFiltered) {
49
this.isFiltered = isFiltered;
52
public boolean isFiltered () {
56
public SequenceFile file () {
60
public String getSequence () {
64
public String getColorspace () {
68
public String getQualityString () {
72
public String getID () {