org.utgenome.format.fasta
Class FASTASequence

java.lang.Object
  extended by org.utgenome.format.fasta.FASTASequence

public class FASTASequence
extends Object

A FASTASequence represents an entry in FASTA files

Author:
leo

Constructor Summary
FASTASequence()
           
FASTASequence(String rawDescription, String sequence)
           
 
Method Summary
 String getDescriptionLine()
           
 String getSequence()
           
 String getSequenceName()
          Extract a sequence name from the description line
 void setSequence(String sequence)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FASTASequence

public FASTASequence(String rawDescription,
                     String sequence)
Parameters:
_sequence -
_description -

FASTASequence

public FASTASequence()
Method Detail

getSequenceName

public String getSequenceName()
Extract a sequence name from the description line

Returns:

getDescriptionLine

public String getDescriptionLine()

getSequence

public String getSequence()

setSequence

public void setSequence(String sequence)

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2007-2012 utgenome.org. All Rights Reserved.