Package au.org.intersect.samifier.domain

Examples of au.org.intersect.samifier.domain.GenomeNucleotides


            } else {
                peptideAbsoluteStart = virtualGeneStop - startOffset;
                peptideAbsoluteStop = virtualGeneStop - stopOffset;
            }

            GenomeNucleotides genomeNucleotides = getGenomeNucleotides(geneInfo.getChromosome());
            int startPosition = searchStart(peptideSearchResult, peptideAbsoluteStart, genomeNucleotides, geneInfo);
            int stopPosition = searchStop(peptideSearchResult, peptideAbsoluteStop, genomeNucleotides, geneInfo, false);
            if (startPosition == NOT_FOUND || stopPosition == NOT_FOUND) {
                continue;
            }
View Full Code Here


    }

    private GenomeNucleotides getGenomeNucleotides(String gene)
            throws FastaParserException, IOException {
        if (!genomeNucleotidesMap.containsKey(gene)) {
            genomeNucleotidesMap.put(gene, new GenomeNucleotides(fastaParser.readCode(gene)));
        }
        return genomeNucleotidesMap.get(gene);
    }
View Full Code Here

        try {
            File fastaFile = new File(args[0]);
            File translationTableFile = new File(args[1]);
            int direction = "+".equals(args[2]) ? 1 : -1;
            FastaParser parser = new FastaParserImpl(fastaFile);
            nucleotides = new GenomeNucleotides(parser.readCode(FilenameUtils.getBaseName(fastaFile.getName())));
            translationTable = CodonTranslationTable
                    .parseTableFile(translationTableFile);

            if (args.length == 4) {
                int codonPosition = Integer.parseInt(args[3]);
View Full Code Here

TOP

Related Classes of au.org.intersect.samifier.domain.GenomeNucleotides

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.