|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.ObjectSIGRS.SIGRSMain
public class SIGRSMain
This is the main class for the SIGRS routines.
SIGRS is a collection of routines used in searching for regions of contrasting composition (CCRs) in sequence files using a partial sum process. Significance of segments is evaluated using Karlin-Altschul statistics and specifically an extension by Karlin-Dembo allowing for nucleotides to have a Markov-dependence (see e.g. Karlin & Altschul (1993) and Karlin & Dembo (1992)
The routines are provided as is and no guarantee regarding stability etc. is given so use at your own risk!
See publication Larsson, P., Hinas, A., Ardell, D.H., Kirsebom, L.A., Virtanen, A. and Söderbom, F. De novo search for non-coding RNA genes in the AT-rich genome of Dictyostelium discoideum: performance of Markov-dependent genome feature scoring
Questions and comments can be directed to Pontus.Larsson@icm.uu.se
| Constructor Summary | |
|---|---|
SIGRSMain()
|
|
| Method Summary | |
|---|---|
static SIGRSScoreObject |
getScoreObject(java.io.File backgroundFile,
java.io.File targetFile,
boolean symmetric)
Creates a SIGRSScoreObject that calculates the scores and parameters from the given backgound and target sequence files |
static void |
main(java.lang.String[] args)
Main method. |
static void |
scanForCCRs(java.io.File[] inputFile,
int model,
SIGRSScoreObject sso,
double expect,
int N,
boolean symmetric,
java.lang.String label,
LogWriter lw,
LogWriter out)
Scans the input files in both directions for contrasting composition regions (CCRs) |
static void |
writeGFFAnnotationOfCCRs(double[][] CCRs,
java.lang.String[] id,
int model,
java.lang.String label,
LogWriter lw)
Writes the contrasting composition regions (CCRs) to output in GFF format. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SIGRSMain()
| Method Detail |
|---|
public static void main(java.lang.String[] args)
public static SIGRSScoreObject getScoreObject(java.io.File backgroundFile,
java.io.File targetFile,
boolean symmetric)
throws java.lang.Exception
backgroundFile - A FASTA file containing sequence(s) representative of the background search spacetargetFile - A FASTA file containing sequence(s) representative of the target distributions
java.lang.Exception
public static void scanForCCRs(java.io.File[] inputFile,
int model,
SIGRSScoreObject sso,
double expect,
int N,
boolean symmetric,
java.lang.String label,
LogWriter lw,
LogWriter out)
throws java.lang.Exception
inputFile - An array containing the input files in FASTA format. Each file may contain multiple sequencesmodel - The model type to use. 0 -> M0 (Independent nucleotides), 1 -> M1 (Markov-dependent nucleotides)sso - A SIGRSScoreObject that holds all the necessary scores and model parametersexpect - The expect cutoff to use when reporting hitslw - A writer to write progress toout - A writer to write the resulting CCRs to
java.lang.Exception
public static void writeGFFAnnotationOfCCRs(double[][] CCRs,
java.lang.String[] id,
int model,
java.lang.String label,
LogWriter lw)
CCRs - An array holding the CCRsid - A sequence identifier where the CCRs were foundlw - A reference to an output writer
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||