Package bgu.bio.adt.rna.costs

Examples of bgu.bio.adt.rna.costs.RnaSpecificTypeRelatedTreePruning.calculateCost()


    sR.shuffle(rand);
    sR.toFASTAFile("sR.fasta");
    sR.toDotFile("sR.dot", false);
    s.toDotFile("s.dot", false);
    t.toDotFile("t.dot", false);
    prune2.calculateCost(t);
    prune2.calculateCost(s);
    prune2.calculateCost(sR);
   
    smooth.calculateCost(t);
    smooth.calculateCost(s);
View Full Code Here


    sR.toFASTAFile("sR.fasta");
    sR.toDotFile("sR.dot", false);
    s.toDotFile("s.dot", false);
    t.toDotFile("t.dot", false);
    prune2.calculateCost(t);
    prune2.calculateCost(s);
    prune2.calculateCost(sR);
   
    smooth.calculateCost(t);
    smooth.calculateCost(s);
    smooth.calculateCost(sR);
View Full Code Here

    sR.toDotFile("sR.dot", false);
    s.toDotFile("s.dot", false);
    t.toDotFile("t.dot", false);
    prune2.calculateCost(t);
    prune2.calculateCost(s);
    prune2.calculateCost(sR);
   
    smooth.calculateCost(t);
    smooth.calculateCost(s);
    smooth.calculateCost(sR);
   
View Full Code Here

        "NNNUAUAGUUUGAGUUCGAUUGCGCUUCGUAUGUUGCGUCUACGUAAAAACGCUCAGUUUAAAUUAUAACUGCAAAAAAUAAUAACAAUUCUUACGCUUUAGCUGCCUAAUAAGCGCUUAACGUAGAUCCUCCCAGGAUCGUCCAUGUUCUGGAUCUGGGUCCUAAAUUUAGUGGACUUACGCUCAAAGCUUCCACCUGGAGUUGCGAGAAGAGACUAAUCAGGUUAGUCAUUGCUGGGUGCCCUGUCAUACGGCGUUUGCAAUGAUGAAAUUUAAAUAGUAUGAAUAUGAGCGUAGAUAUCCGAGGGGCAAUAUGCUUAGACGCNNN"
            .toCharArray(),
        "...((((.......((((((..(((((........((((..........))))...........................................(.((((.(((.......))).)))).)..(((((..(((((((.......)))))))....)))))....................(((..((((.........))))..)))..................(((((...(((.((((.........))))).))..)))))......................))))).....)).))))......))))............"
            .toCharArray());

    prune.calculateCost(t);
    smooth.calculateCost(t);

    RNASpecificTree s = new RNASpecificTree();
    // s.buildFromViennaFormat("GGACCGAUGGUAGUGUCUUCGGAUGCGAGAGUAGGUC".toCharArray(),
    // ".((((((((((((((((....))))))))))))))))".toCharArray());
View Full Code Here

        "GGCGACACGGAUUCCAGUGCAUAUCUUAGUGAUACUCCAGUUAACUCCAUACUUUCCCUGCAAUACGCUAUUCGCCUCAGAUGUAUUUGGGUGGUUGCUCCACUAAAGCCCAGGAAUAUCCAGCCAGUUACAUUUGAGGCCAUUUGGGCUUAAGCGUAUUCCAUGGAAAGUUUUCUCCCCACAUUUCGGAAAUUAAAUUCCGAGCCAGCAAGAAAAUCUUCUCUGUUACAAUUUGACAUGGCUAAAAACUGUACUAAUCAAAAUGAAAAAUGUUUCUCUUGGGCGUAAUCUCAUACAAUGAUUACCCUUAAAGAUCGAACAUUUAAACAAUAAUAUUUGAUAUGAUAUUUUCAAUUUCUAUGCUAUGCCAAAGUGUCUGACAUAAUCAAACAUUUGCACAUUCUUUGACCAAGAAUAGUCAGCAAAUUGUAUUUUCAAUCAAUGCAGACCAUAUGUUCCAGUUUCGGAGAUUUUUUGCUGCCAAACGGAAUACUUAUAAAAACCCACAUUCUAUUUACAUCACUAAGAAGAGCAUUGCAAUCUGUUUAGCC"
            .toCharArray(),
        "((((..(((((((.((((((...((((((((((.................(((((((.((.((((((((....((((((((((((.((((...((((.(((...........))).)).))..)))).))))))))))))............)))))))).)).)))))))........................(((((((...((((((((((.((((.((((..((((((((.((((((((.(((.((.....((((((.....((((((((.(((((((.(((((...........))))))))..))))..))))))))...........))))))..........)).))).)).)))))).))))(.(((((.(((.........((((((((((((.......))))).))..)))))...............)))))))))..))))..))))....)))))))))))))).....)))))))..........................))))))))))...)))))).)))))))..))))"
            .toCharArray());

    prune.calculateCost(s);
    smooth.calculateCost(s);

    TIntArrayList[] alignment = new TIntArrayList[3];
    MatcherFactory matcherFactory = new UnorderedMatcherFactory();
    // MatcherFactory matcherFactory = new OrderedMatcherFactory();
View Full Code Here

        "GAUAGAUGGUCUGGGUGUCGCCAGAUCGGGGUNCAAUUCCCCGUCGCCA"
            .toCharArray(),
        "((..(......)(((.....)))...(((((.......)))))))...."
            .toCharArray());
    sR.shuffle(rand);
    prune.calculateCost(t);
    prune.calculateCost(s);
    prune.calculateCost(sR);

    smooth.calculateCost(t);
    smooth.calculateCost(s);
View Full Code Here

            .toCharArray(),
        "((..(......)(((.....)))...(((((.......)))))))...."
            .toCharArray());
    sR.shuffle(rand);
    prune.calculateCost(t);
    prune.calculateCost(s);
    prune.calculateCost(sR);

    smooth.calculateCost(t);
    smooth.calculateCost(s);
    smooth.calculateCost(sR);
View Full Code Here

        "((..(......)(((.....)))...(((((.......)))))))...."
            .toCharArray());
    sR.shuffle(rand);
    prune.calculateCost(t);
    prune.calculateCost(s);
    prune.calculateCost(sR);

    smooth.calculateCost(t);
    smooth.calculateCost(s);
    smooth.calculateCost(sR);
View Full Code Here

    pruneRooted.calculateCost(t);
    pruneRooted.calculateCost(s);
    ans1 = hsaEngine.computeHSA(t, s);

    pruneUnrooted.calculateCost(t);
    pruneUnrooted.calculateCost(s);
    TIntArrayList[] tb = new TIntArrayList[3];
    ans2 = hsaEngine.computeHSA(t, s, tb);
    for (int i = 0; i < tb[0].size(); i++) {
      System.out.println(tb[0].getQuick(i) + " -> " + tb[1].getQuick(i));
View Full Code Here

    pruneRooted.calculateCost(t);
    pruneRooted.calculateCost(s);
    ans1 = hsaEngine.computeHSA(t, s);

    pruneUnrooted.calculateCost(t);
    pruneUnrooted.calculateCost(s);
    TIntArrayList[] tb = new TIntArrayList[3];
    ans2 = hsaEngine.computeHSA(t, s, tb);
    for (int i = 0; i < tb[0].size(); i++) {
      System.out.println(tb[0].getQuick(i) + " -> " + tb[1].getQuick(i));
    }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.