public enum FastqVariant extends Enum<FastqVariant>
| Enum Constant and Description | 
|---|
FASTQ_ILLUMINA
Illumina FASTQ sequence format variant. 
 | 
FASTQ_SANGER
Sanger FASTQ sequence format variant. 
 | 
FASTQ_SOLEXA
Solexa FASTQ sequence format variant. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
double | 
errorProbability(char c)
Convert the specified quality in ASCII format to an error probability. 
 | 
abstract double | 
errorProbability(int qualityScore)
Calculate the error probability given the specified quality score. 
 | 
String | 
getDescription()
Return the description of this FASTQ sequence format variant. 
 | 
boolean | 
isIllumina()
Return true if this FASTQ sequence format variant is  
FASTQ_ILLUMINA. | 
boolean | 
isSanger()
Return true if this FASTQ sequence format variant is  
FASTQ_SANGER. | 
boolean | 
isSolexa()
Return true if this FASTQ sequence format variant is  
FASTQ_SOLEXA. | 
String | 
lowercaseName()
Return the name of this FASTQ sequence format variant in  
lowercase-with-dashes style. | 
abstract int | 
maximumQualityScore()
Return the maximum quality score for this FASTQ sequence format variant. 
 | 
abstract int | 
minimumQualityScore()
Return the minimum quality score for this FASTQ sequence format variant. 
 | 
static FastqVariant | 
parseFastqVariant(String name)
Return the FASTQ sequence format variant with the specified name, if any. 
 | 
abstract char | 
quality(int qualityScore)
Convert the specified quality score to a quality in ASCII format. 
 | 
abstract int | 
qualityScore(char c)
Convert the specified quality in ASCII format to a quality score. 
 | 
static FastqVariant | 
valueOf(String name)
Returns the enum constant of this type with the specified name. 
 | 
static FastqVariant[] | 
values()
Returns an array containing the constants of this enum type, in
the order they are declared. 
 | 
public static final FastqVariant FASTQ_SANGER
public static final FastqVariant FASTQ_SOLEXA
public static final FastqVariant FASTQ_ILLUMINA
public static FastqVariant[] values()
for (FastqVariant c : FastqVariant.values()) System.out.println(c);
public static FastqVariant valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String getDescription()
public boolean isSanger()
FASTQ_SANGER.FASTQ_SANGERpublic boolean isSolexa()
FASTQ_SOLEXA.FASTQ_SOLEXApublic boolean isIllumina()
FASTQ_ILLUMINA.FASTQ_ILLUMINApublic abstract int minimumQualityScore()
public abstract int maximumQualityScore()
public abstract int qualityScore(char c)
c - quality in ASCII formatpublic abstract char quality(int qualityScore)
qualityScore - quality score, must be >= minimumQualityScore()
    and <= maximumQualityScore()public double errorProbability(char c)
c - quality in ASCII formatpublic abstract double errorProbability(int qualityScore)
qualityScore - quality scorepublic String lowercaseName()
lowercase-with-dashes style.lowercase-with-dashes stylepublic static FastqVariant parseFastqVariant(String name)
UPPERCASE_WITH_UNDERSCORES
 or lowercase-with-dashes style.name - namenull
    if no such FASTQ sequence format variant existsCopyright © 2014 BioJava. All rights reserved.