Package au.org.intersect.samifier.runner

Examples of au.org.intersect.samifier.runner.ProteinGeneratorRunner


                if (intInterval < 2) {
                    outputWriter.close();
                    throw new ParseException("Interval must be greater than  1");
                }
            }
            ProteinGeneratorRunner runner = new ProteinGeneratorRunner(
                    glimmerFilePath, genomeFile, interval, databaseName,
                    outputWriter, translationTableFile, gffWriter,
                    accessionWriter);
            runner.run();
        } catch (ParseException pe) {
            System.err.println("Version = " + VERSION);
            HelpFormatter formatter = new HelpFormatter();
            formatter.printHelp("protein_generator", options, true);
        } catch (Exception e) {
View Full Code Here


            String glimmerFile = "test/resources/protein_generator/glimmer_contig.txt";
            StringWriter out = new StringWriter();
            StringWriter gff = new StringWriter();
            StringWriter accession = new StringWriter();

            ProteinGeneratorRunner runner = new ProteinGeneratorRunner(glimmerFile, genomeFile, null, "testdb", out, tableFile, gff, accession);
            runner.run();
            verifyExpectedOutput(out,  "test/resources/protein_generator/expected_contig_file.fa");
            verifyExpectedOutput(gff,  "test/resources/protein_generator/expected_gff_contig_glimmer.gff");
            verifyExpectedOutput(accession, "test/resources/protein_generator/expected_accession_file_contig_glimmer.txt");
        }
       
View Full Code Here

            File tableFile = new File("test/resources/protein_generator/bacterial_translation_table.txt");
            StringWriter out = new StringWriter();
            StringWriter gff = new StringWriter();
            StringWriter accession = new StringWriter();
           
            ProteinGeneratorRunner runner = new ProteinGeneratorRunner(null, genomeFile, "100", "testdb", out, tableFile, gff, accession);
            runner.run();
            verifyExpectedOutput(out,  "test/resources/protein_generator/expected_contig_interval.fa");
            verifyExpectedOutput(gff,  "test/resources/protein_generator/expected_gff_contig_interval.gff");
            verifyExpectedOutput(accession, "test/resources/protein_generator/expected_accession_file_contig_interval.txt");
           
        }
View Full Code Here

TOP

Related Classes of au.org.intersect.samifier.runner.ProteinGeneratorRunner

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.