Package au.org.intersect.samifier.parser

Examples of au.org.intersect.samifier.parser.FastaParser


    public static void main(String[] args) throws Exception {
        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.parser.FastaParser

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.