public class HighlyConserved
extends java.lang.Object
Constructor and Description |
---|
HighlyConserved() |
Modifier and Type | Method and Description |
---|---|
private static void |
createReport(java.lang.String resPath,
int top,
int separation,
java.lang.String aliPath,
java.lang.String fastaSeq,
java.util.List<java.lang.String> raport,
boolean ifConservGaps)
Run filtering and create report of filtered-out contacts.
|
private static boolean |
ifConservMarksPass(MSAanalysis msaAnalysis,
int pos1,
int pos2,
java.lang.String aa1,
java.lang.String aa2,
boolean ifConservGaps) |
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 MSA file;
[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 aliPath, java.lang.String fastaSeq, java.util.List<java.lang.String> raport, boolean ifConservGaps)
resPath
- - path to the file with DCA resultstop
- - number of of predicted contacts N to apply filtration onaliPath
- - path to the file with alignmentseparation
- - separation parameter for contact definitionfastaSeq
- - FASTA sequenceraport
- - variable which will contain the list of filtered-out contactsifConservGaps
- - True if gaps should be counted as symbols during conservation calculationprivate static boolean ifConservMarksPass(MSAanalysis msaAnalysis, int pos1, int pos2, java.lang.String aa1, java.lang.String aa2, boolean ifConservGaps)