|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.biojava3.ronn.Jronn
public class Jronn
This class gives public API to RONN functions. It is build on top of the command line client. Due to this fact a few things could be improved and extended pending the refactoring of the command line client. The input sequence limitations - the input sequence must not contain any ambiguous characters, and have a minimum length of 19 amino acids.
| Nested Class Summary | |
|---|---|
static class |
Jronn.Range
Holder for the ranges, contain pointers to starting and ending position on the sequence which comprises a disordered region. |
| Constructor Summary | |
|---|---|
Jronn()
|
|
| Method Summary | |
|---|---|
static FastaSequence |
convertProteinSequencetoFasta(ProteinSequence sequence)
Utility method to convert a BioJava ProteinSequence object to the FastaSequence object used internally in JRonn. |
static Jronn.Range[] |
getDisorder(FastaSequence sequence)
Calculates the disordered regions of the sequence. |
static java.util.Map<FastaSequence,Jronn.Range[]> |
getDisorder(java.util.List<FastaSequence> sequences)
Calculates the disordered regions of the sequence for many sequences in the input. |
static java.util.Map<FastaSequence,Jronn.Range[]> |
getDisorder(java.lang.String fastaFile)
Calculates the disordered regions of the protein sequence. |
static float[] |
getDisorderScores(FastaSequence sequence)
Calculates the probability value for each residue in the protein sequence, telling the probability that the residue belongs to disordered region. |
static java.util.Map<FastaSequence,float[]> |
getDisorderScores(java.util.List<FastaSequence> sequences)
Calculates the probability of disorder scores for each residue in the sequence for many sequences in the input. |
static float[] |
getDisorderScores(ProteinSequence sequence)
Calculates the probability value for each residue in the protein sequence, telling the probability that the residue belongs to disordered region. |
static Jronn.Range[] |
scoresToRanges(float[] scores,
float probability)
Convert raw scores to ranges. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Jronn()
| Method Detail |
|---|
public static float[] getDisorderScores(FastaSequence sequence)
sequence - an instance of FastaSequence object, holding the name and the sequence.
public static float[] getDisorderScores(ProteinSequence sequence)
sequence - an instance of FastaSequence object, holding the name and the sequence.
public static FastaSequence convertProteinSequencetoFasta(ProteinSequence sequence)
sequence -
public static Jronn.Range[] getDisorder(FastaSequence sequence)
sequence - an instance of FastaSequence object, holding the name and the sequence.
public static Jronn.Range[] scoresToRanges(float[] scores,
float probability)
scores - the raw probability of disorder scores for each residue in the sequence.probability - the cut off threshold. Include all residues with the probability of disorder greater then this value
probability, null otherwise.public static java.util.Map<FastaSequence,float[]> getDisorderScores(java.util.List<FastaSequence> sequences)
sequences - the list of the FastaSequence objects
getDisorder(FastaSequence)public static java.util.Map<FastaSequence,Jronn.Range[]> getDisorder(java.util.List<FastaSequence> sequences)
sequences - sequences the list of the FastaSequence objects
getDisorder(FastaSequence)
public static java.util.Map<FastaSequence,Jronn.Range[]> getDisorder(java.lang.String fastaFile)
throws java.io.FileNotFoundException,
java.io.IOException
fastaFile - input file name containing the sequence in FASTA
java.io.FileNotFoundException - if the input file cannot be found
java.io.IOException - of the system cannot access or read from the input filegetDisorder(FastaSequence),
#Jronn.Range
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||