edu.uconn.mcb.lineageevolver.parsing
Class FASTAParser

java.lang.Object
  extended byedu.uconn.mcb.lineageevolver.parsing.FASTAParser

public class FASTAParser
extends java.lang.Object

Class used for parsing FASTA-formatted files.

Author:
Hasan Khalil

Constructor Summary
FASTAParser()
           
 
Method Summary
static void main(java.lang.String[] args)
          Test driver.
static java.lang.String[] parseFile(java.lang.String fileName)
          Returns an array of sequences, as obtained by parsing the given file.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FASTAParser

public FASTAParser()
Method Detail

parseFile

public static java.lang.String[] parseFile(java.lang.String fileName)
Returns an array of sequences, as obtained by parsing the given file.

Parameters:
fileName - the name of the file to parse.
Returns:
the sequences parsed from the file.

main

public static void main(java.lang.String[] args)
Test driver. Attempts to parse the file 'test.faa' in the current working directory, and outputs the number of sequences found followed by the parsed sequences.

Parameters:
args - Arguments not used in this driver.