de.zimek.proteinfeatures.parser
Class AbstractParser

java.lang.Object
  extended byde.zimek.proteinfeatures.parser.AbstractParser
All Implemented Interfaces:
Parser
Direct Known Subclasses:
AstralDBParser, ManifoldParser, McGuffinParser

public abstract class AbstractParser
extends java.lang.Object
implements Parser

Author:
Arthur Zimek

Constructor Summary
AbstractParser()
           
 
Method Summary
static void print(Protein[] proteins, java.io.PrintStream out)
           
static void printForMotifScan(Protein[] proteins, java.io.PrintStream out)
          Prints all proteins to the given PrintStream in format convenient for motifScan.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface de.zimek.proteinfeatures.parser.Parser
parse
 

Constructor Detail

AbstractParser

public AbstractParser()
Method Detail

print

public static void print(Protein[] proteins,
                         java.io.PrintStream out)

printForMotifScan

public static void printForMotifScan(Protein[] proteins,
                                     java.io.PrintStream out)
Prints all proteins to the given PrintStream in format convenient for motifScan. Format is per line: astralID,lowerCaseSequence

Parameters:
proteins -
out -