Examples of parseGenomeFile()


Examples of au.org.intersect.samifier.parser.GenomeParserImpl.parseGenomeFile()

        this.confidenceScore = confidenceScore;
    }

    public void run() throws Exception {
        GenomeParserImpl genomeParser = new GenomeParserImpl();
        genome = genomeParser.parseGenomeFile(genomeFile);

        ProteinToOLNParser proteinToOLNParser = new ProteinToOLNParserImpl();
        proteinToOLNMap = proteinToOLNParser.parseMappingFile(mapFile);

        PeptideSearchResultsParser peptideSearchResultsParser = new PeptideSearchResultsParserImpl(proteinToOLNMap);
View Full Code Here

Examples of au.org.intersect.samifier.parser.GenomeParserImpl.parseGenomeFile()

            throws GenomeFileParsingException, MascotParsingException,
            IOException, TranslationTableParsingException, FastaParserException {
        List<ProteinLocation> proteinLocations = new ArrayList<ProteinLocation>();
        System.out.println("Generating locations");
        GenomeParserImpl genomeParser = new GenomeParserImpl();
        genome = genomeParser.parseGenomeFile(genomeFile);

        proteinToOLNMap = new EqualProteinOLNMap();

        PeptideSearchResultsParser peptideSearchResultsParser = new PeptideSearchResultsParserImpl(
                proteinToOLNMap);
View Full Code Here

Examples of au.org.intersect.samifier.parser.GenomeParserImpl.parseGenomeFile()

        hsqldb.generateTables();
    }

    public void run() throws Exception {
        GenomeParserImpl genomeParser = new GenomeParserImpl();
        Genome genome = genomeParser.parseGenomeFile(genomeFile);

        ProteinToOLNParser proteinToOLNParser = new ProteinToOLNParserImpl();
        ProteinToOLNMap proteinToOLNMap = proteinToOLNParser
                .parseMappingFile(proteinToOLNMapFile);
View Full Code Here

Examples of au.org.intersect.samifier.parser.GenomeParserImpl.parseGenomeFile()

    }

    public void runWithQuery(String sqlQuery) throws Exception {
        GenomeParserImpl genomeParser = new GenomeParserImpl();
        Genome genome = genomeParser.parseGenomeFile(genomeFile);

        ProteinToOLNParser proteinToOLNParser = new ProteinToOLNParserImpl();
        ProteinToOLNMap proteinToOLNMap = proteinToOLNParser
                .parseMappingFile(proteinToOLNMapFile);
View Full Code Here

Examples of au.org.intersect.samifier.parser.GenomeParserImpl.parseGenomeFile()

    @Test
    public void testParsing() throws Exception
    {
        GenomeParserImpl genomeParser = new GenomeParserImpl();
        Genome genome = genomeParser.parseGenomeFile(genomeFile);
        assertEquals("GenomeParserImpl has 3 genes", 4, genome.getGeneEntries().size());
        assertTrue("GenomeParserImpl has gene YAL038W", genome.hasGene("YAL038W"));
        assertTrue("GenomeParserImpl has gene YAL038W", genome.hasGene("YDL075W"));
        assertTrue("GenomeParserImpl has gene YPL249C-A", genome.hasGene("YPL249C-A"));
    }
View Full Code Here

Examples of au.org.intersect.samifier.parser.GenomeParserImpl.parseGenomeFile()

    @Test
    public void testGetGene() throws Exception
    {
        //GeneInfo gene = new GeneInfo()
        GenomeParserImpl genomeParser = new GenomeParserImpl();
        Genome genome = genomeParser.parseGenomeFile(genomeFile);
        assertThat("GenomeParserImpl returns GeneInfo object for known genes", genome.getGene("YAL038W"), instanceOf(GeneInfo.class));
        assertNull("GenomeParserImpl returns null for unknown genes", genome.getGene("UNKNOWN"));
    }
}
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.