public class InterSecondary
extends java.lang.Object
Constructor and Description |
---|
InterSecondary() |
Modifier and Type | Method and Description |
---|---|
private static void |
createReport(java.lang.String resPath,
int top,
int separation,
java.lang.String notAllowed,
java.lang.String ssPredPath,
java.lang.String fastaSeq,
int anyfragSize,
java.util.List<java.lang.String> raport,
int interSSsep,
int loopSize,
int endSize)
Run filtering and create report of filtered-out contacts.
|
private static void |
getFragsForPredicted(java.lang.String ssPredPath,
java.lang.String fastaSeq,
int fragSize,
java.util.List<int[]> frags,
java.util.List<java.lang.String> fragSS,
java.lang.String notAllowed,
java.util.List<java.lang.Character> ssPred) |
private static boolean |
ifPassInterNextSS(java.util.List<int[]> frags,
int pos1,
int pos2,
int interSSsep,
int loopSize,
int endSize) |
static void |
main(java.lang.String[] args) |
public static void main(java.lang.String[] args)
args
- -
[0]: path to FASTA file;
[1]: path to gplmDCA results;
[2]: path to SSpro results;
[3]: value of Sinter parameter (int; default = 6);
[4]: value of Sloop parameter (int; default = 1);
[5]: value of e parameter (int; default = 6);
[6]: number of predicted contacts (N; default = 200);
[7]: for number of predicted contacts value of 'm' in 'm*L/d' where 'L' is sequence length (if 'm' is set to non-0 then [6] is ignored);
[8]: for number of predicted contacts value of 'd' in 'm*L/d' where 'L' is sequence length (default = 1);
[9]: chosen sub-name for the output file;private static void createReport(java.lang.String resPath, int top, int separation, java.lang.String notAllowed, java.lang.String ssPredPath, java.lang.String fastaSeq, int anyfragSize, java.util.List<java.lang.String> raport, int interSSsep, int loopSize, int endSize)
resPath
- - path to the file with DCA resultstop
- - number of of predicted contacts N to apply filtration onseparation
- - separation parameter for contact definitionnotAllowed
- - these secondary structure will not be taken under consideration when list of secondary structure fragments is created for a sequencessPredPath
- - path to the file with SSpro resultsfastaSeq
- - FASTA sequenceanyfragSize
- - only secondary structure fragments of minimally that length will be used when list of secondary structure fragments is created for a sequenceraport
- - variable which will contain the list of filtered-out contactsinterSSsep
- - value of Sinter parameter for inter-secondary structure filterloopSize
- - value of Sloop parameter for inter-secondary structure filterendSize
- - value of e parameter for inter-secondary structure filterprivate static void getFragsForPredicted(java.lang.String ssPredPath, java.lang.String fastaSeq, int fragSize, java.util.List<int[]> frags, java.util.List<java.lang.String> fragSS, java.lang.String notAllowed, java.util.List<java.lang.Character> ssPred)
private static boolean ifPassInterNextSS(java.util.List<int[]> frags, int pos1, int pos2, int interSSsep, int loopSize, int endSize)