public final class FastaSequence extends Object implements Comparable<FastaSequence>
Constructor and Description |
---|
FastaSequence(String id,
String sequence)
Upon construction the any whitespace characters are removed from the
sequence
|
Modifier and Type | Method and Description |
---|---|
int |
compareTo(FastaSequence o) |
static int |
countMatchesInSequence(String theString,
String theRegExp) |
boolean |
equals(Object obj) |
String |
getFormatedSequence(int width)
Format sequence per width letter in one string.
|
String |
getFormattedFasta() |
String |
getId()
Gets the value of id
|
int |
getLength() |
String |
getOnelineFasta() |
String |
getSequence()
Gets the value of sequence
|
int |
hashCode() |
String |
toString()
Same as oneLineFasta
|
public String getId()
public String getSequence()
public String getFormattedFasta()
public String getOnelineFasta()
public String getFormatedSequence(int width)
public int getLength()
public int compareTo(FastaSequence o)
compareTo
in interface Comparable<FastaSequence>
Copyright © 2000–2016 BioJava. All rights reserved.