Package versusSNP.io

Examples of versusSNP.io.FastaFile


    new CodonTable();
    if (args.length > 0) {
      Genome genome1 = new Genome(args[0]);
      new ORFFile().readFile(args[0] + ".txt", genome1);
      genome1.sortOrfList();
      FastaFile fastaFile1 = new FastaFile();
      fastaFile1.readFile(args[0] + ".fasta", genome1);
      genome1.attachSequences(fastaFile1.getSequences());
      Genome genome2 = new Genome(args[1]);
      new ORFFile().readFile(args[1] + ".txt", genome2);
      genome2.sortOrfList();
      FastaFile fastaFile2 = new FastaFile();
      fastaFile2.readFile(args[1] + ".fasta", genome2);
      genome2.attachSequences(fastaFile2.getSequences());
      BlastParser parser = new BlastParser();
      parser.parse(args[0] + "-" + args[1]);
      genome1.attachBlastSets(parser.getBlastList(), genome2, true);
      genome1.printSNPSummary(genome2);
    } else {
View Full Code Here

TOP

Related Classes of versusSNP.io.FastaFile

Copyright © 2018 www.massapicom. 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.