|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorigincomment.ADN1
origincomment.ADN1test
public class ADN1test
Class for tests sequence (homologuous), but already used for target (cible) sequence.
This class for aligned sequences : methods works like that...
Field Summary | |
---|---|
private static int |
compteur
"For the count of time of optimal result." |
private static java.util.Calendar |
debut
"For the count of time of optimal result." |
private static java.util.Calendar |
fin
"For the count of time of optimal result." |
private int |
longueur
Length of the current sequence. |
private static ADN1test[] |
meilleuresSeqTest
The best test sequences. |
private double[] |
score
Tab of scores of current sequence. |
private static double |
scoreMax
Maximal score (default is -300). |
private char[] |
sequence
Current sequence in char tab. |
private static int |
total
"For the count of time of optimal result." |
Fields inherited from class origincomment.ADN1 |
---|
nom |
Constructor Summary | |
---|---|
ADN1test(java.lang.String nomFichier,
java.lang.String sequence)
Constructor with given name and aligned sequence... |
Method Summary | |
---|---|
static void |
aff(int[][] matrice,
java.lang.String seq5,
java.lang.String seq3)
Methode pour afficher la matrice d'alignement |
static java.lang.String |
afficherNom_web(ADN1test[] tabAdn)
Some changes to this procedure to make results appears for web / HTML. |
static java.lang.String |
afficherNom(ADN1test[] tabAdn)
To bet the name of a tab of instances of ADN1test. |
int |
alignement(int debut5,
int fin5,
int debut3,
int fin3)
Deprecated. (unused...) |
void |
change_base(int pos,
char nv_base)
|
static void |
change_meilleures_sequences_test(ADN1test[] nvtabSeq)
|
void |
change_score(double[] sc)
|
static java.util.Vector |
choisirSequencesTests(ADN1cible adn,
ADN1test[] adntest,
java.util.Vector seqTestVec,
java.util.Vector boolTestVec)
"Procedure to choose tests sequences by default or not" Work on the selection made by user on original graphical interface. |
static ADN1test[] |
distance(ADN1cible adn,
ADN1test adncible,
ADN1test[] adntest)
"procedure which give a score to the test sequence and sort them. " First part of SSCA algorithm : scores ! |
boolean |
est_Une_Base(char base)
"Method which test if read character is a base in aligned sequences" |
ADN1test[] |
evoluer(int nb_pas_tot,
Profil profil)
Deprecated. (unused...) |
boolean |
match(char x,
char y)
"Method which test if two bases can pair |
private static void |
meilleur_combinaison_sequence(ADN1cible adn,
ADN1cible adnoptimal,
ADN1test adntest,
ADN1test[] tabSeq,
int[] quelleSeq,
int etape,
int debut,
int seuil,
int typeRecherche,
int scoreMax,
Resultat resultat,
boolean rechercher_pk)
|
void |
mutation(int pos_mut,
java.util.Random r,
Profil profil)
|
double[] |
quel_score()
|
char |
quelle_base(int pos)
|
int |
quelle_longueur()
|
char[] |
quelle_sequence()
|
static ADN1test[] |
quelles_meilleures_sequences_test()
|
static ADN1test[] |
resultat_Optimal(ADN1cible adn,
ADN1test adntest,
ADN1test[] tabAdn,
java.io.BufferedReader entree,
int nbSeqTest,
int seuil,
int typeRecherche,
boolean rechercher_pk)
"Method which test all possibilities of permutations of test sequences |
int |
score(char troisprime,
char cinqprime)
"Methodes pour calculer le cout d'alignement de deux bases" |
static ADN1test[] |
sequenceTests(java.lang.String seqTests)
Deprecated. [not used] |
java.lang.String |
toString(int debut,
int fin)
To get a String of current instance sequence, between debut and fin. |
private static void |
toutes_combinaisons(ADN1test[] tabSeq,
ADN1test[] quelleSeq,
java.util.Vector vecTabAdnFinal,
int etape,
int debut)
All combinations. |
static ADN1test[] |
trier(ADN1test adncible,
ADN1test[] adntest,
int quelscore)
To sort the tab... |
Methods inherited from class origincomment.ADN1 |
---|
afficher_Caracteristique_Web, afficher_Caracteristique, change_nom, load_File, quel_nom, to_File |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private int longueur
private char[] sequence
private double[] score
private static ADN1test[] meilleuresSeqTest
private static double scoreMax
private static int total
private static int compteur
private static java.util.Calendar debut
private static java.util.Calendar fin
Constructor Detail |
---|
public ADN1test(java.lang.String nomFichier, java.lang.String sequence)
nomFichier
- (String) name of the filesequence
- (String) aligned sequenceest_Une_Base(char)
Method Detail |
---|
public int quelle_longueur()
public double[] quel_score()
public char[] quelle_sequence()
public char quelle_base(int pos)
public static ADN1test[] quelles_meilleures_sequences_test()
public void change_score(double[] sc)
public static void change_meilleures_sequences_test(ADN1test[] nvtabSeq)
public void change_base(int pos, char nv_base)
public boolean match(char x, char y)
match
in class ADN1
x
- (char)y
- (char)
match(char, char)
,
ADN1cible.recherche_Point_Ancrage(ADN1cible, int, int, int, double, ADN1test[], int)
,
score(char, char)
,
ADN1cible.verifier_Conservation_Commune(Palindrome1cible, Palindrome1test, double, double, int, ADN1test[])
,
ADN1cible.verifier_Conservation(Palindrome1cible, Palindrome1test, double, double, int, ADN1test[])
public boolean est_Une_Base(char base)
est_Une_Base
in class ADN1
base
- (char)
ADN1.est_Une_Base(char)
,
ADN1cible.est_Une_Base_Test(char)
public static java.util.Vector choisirSequencesTests(ADN1cible adn, ADN1test[] adntest, java.util.Vector seqTestVec, java.util.Vector boolTestVec)
adn
- (ADN1cible)adntest
- (ADN1test[])seqTestVec
- (Vector)boolTestVec
- (Vector)Interface1.selectionInt
,
Interface1.selectionBool
,
toutes_combinaisons(ADN1test[], ADN1test[], Vector, int, int)
,
ProcessusOrigin.computing(Vector, ADN1cible, boolean, boolean)
,
OriginAlgorithmsStefan.computing(Vector, ADN1cible, boolean, boolean)
private static void toutes_combinaisons(ADN1test[] tabSeq, ADN1test[] quelleSeq, java.util.Vector vecTabAdnFinal, int etape, int debut)
tabSeq
- (ADN1test[])quelleSeq
- (ADN1test[])vecTabAdnFinal
- (Vector) output of procedure ?etape
- (int)debut
- (int)choisirSequencesTests(ADN1cible, ADN1test[], Vector, Vector)
public static ADN1test[] distance(ADN1cible adn, ADN1test adncible, ADN1test[] adntest)
adn
- (ADN1cible)adncible
- (ADN1test)adntest
- (ADN1test[]) same as return ?
Profil
,
trier(ADN1test, ADN1test[], int)
public static ADN1test[] trier(ADN1test adncible, ADN1test[] adntest, int quelscore)
adncible
- (ADN1test)adntest
- (ADN1test[])quelscore
- (int)
distance(ADN1cible, ADN1test, ADN1test[])
public static ADN1test[] resultat_Optimal(ADN1cible adn, ADN1test adntest, ADN1test[] tabAdn, java.io.BufferedReader entree, int nbSeqTest, int seuil, int typeRecherche, boolean rechercher_pk) throws java.lang.Exception
adn
- (ADN1cible)adntest
- (ADN1test)tabAdn
- (ADN1test[])entree
- (BufferedReader) Input data for optimal sequence contentnbSeqTest
- (int) number of test sequencesseuil
- (int) tresholdtypeRecherche
- (int) search type (default is 3)rechercher_pk
- (boolean) search of pseudoknot (default is true)
java.lang.Exception
- emeilleur_combinaison_sequence(ADN1cible, ADN1cible, ADN1test, ADN1test[], int[], int, int, int, int, int, Resultat, boolean)
private static void meilleur_combinaison_sequence(ADN1cible adn, ADN1cible adnoptimal, ADN1test adntest, ADN1test[] tabSeq, int[] quelleSeq, int etape, int debut, int seuil, int typeRecherche, int scoreMax, Resultat resultat, boolean rechercher_pk) throws java.lang.Exception
adn
- (ADN1cible)adnoptimal
- (ADN1cible) After use of the bufferedReader...adntest
- (ADN1test)tabSeq
- (ADN1test[])quelleSeq
- (int[])etape
- (int)debut
- (int)seuil
- (int)typeRecherche
- (int) search type (default is 3)scoreMax
- (int)resultat
- (Resultat)rechercher_pk
- (boolean) search of pseudoknot (default is true)
java.lang.Exception
- eResultat
,
ADN1cible.calcul_Resultat(ADN1test[], int, boolean, boolean)
,
ADN1cible.initialiser()
,
resultat_Optimal(ADN1cible, ADN1test, ADN1test[], BufferedReader, int, int, int, boolean)
public int alignement(int debut5, int fin5, int debut3, int fin3)
debut5
- (int)fin5
- (int)debut3
- (int)fin3
- (int)
aff(int[][], String, String)
,
score(char, char)
public int score(char troisprime, char cinqprime)
troisprime
- (char)cinqprime
- (char)
alignement(int, int, int, int)
public static void aff(int[][] matrice, java.lang.String seq5, java.lang.String seq3)
matrice
- (int [][])seq5
- (String)seq3
- (String)alignement(int, int, int, int)
public static ADN1test[] sequenceTests(java.lang.String seqTests)
seqTests
- (String)
public ADN1test[] evoluer(int nb_pas_tot, Profil profil)
nb_pas_tot
- (int)profil
- (Profil)
mutation(int, Random, Profil)
,
Profil
,
Random
public void mutation(int pos_mut, java.util.Random r, Profil profil)
pos_mut
- (int)r
- (Random)profil
- (Profil)evoluer(int, Profil)
,
Profil
,
Random
public static java.lang.String afficherNom(ADN1test[] tabAdn)
tabAdn
- (ADN1test[])
public static java.lang.String afficherNom_web(ADN1test[] tabAdn)
tabAdn
- (ADN1test[])
public java.lang.String toString(int debut, int fin)
debut
- (int)fin
- (int)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |