public class InterTerminus
extends java.lang.Object
Constructor and Description |
---|
InterTerminus() |
Modifier and Type | Method and Description |
---|---|
private static void |
createReport(java.lang.String resPath,
int top,
int separation,
java.lang.String fastaSeq,
java.util.List<java.lang.String> raport,
double seqSep)
Run filtering and create report of filtered-out contacts.
|
private static boolean |
ifSeqSepPass(int pos1,
int pos2,
double seqSep,
int seqLen) |
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]: value of Snt parameter (double; default = 0.95);
[3]: number of predicted contacts (N; default = 200);
[4]: 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 [3] is ignored);
[5]: for number of predicted contacts value of 'd' in 'm*L/d' where 'L' is sequence length (default = 1);
[6]: chosen sub-name for the output file;private static void createReport(java.lang.String resPath, int top, int separation, java.lang.String fastaSeq, java.util.List<java.lang.String> raport, double seqSep)
resPath
- - path to the file with DCA resultstop
- - number of of predicted contacts N to apply filtration onseparation
- - separation parameter for contact definitionfastaSeq
- - FASTA sequenceraport
- - variable which will contain the list of filtered-out contactsseqSep
- - value of Snt parameter for inter-terminus filterprivate static boolean ifSeqSepPass(int pos1, int pos2, double seqSep, int seqLen)