|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.biojava3.core.sequence.io.GenericFastaHeaderFormat<S,C>
public class GenericFastaHeaderFormat<S extends AbstractSequence<?>,C extends Compound>
We store the original header if the sequence is parsed from a fasta file and will use that exact sequence if we write out the sequences to a fasta file. If we don't have an orginal header then use the accession id. This allows the implementation by the user to write out complex header with id notes etc without rewriting the fasta writer
| Constructor Summary | |
|---|---|
GenericFastaHeaderFormat()
|
|
| Method Summary | |
|---|---|
java.lang.String |
getHeader(S sequence)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GenericFastaHeaderFormat()
| Method Detail |
|---|
public java.lang.String getHeader(S sequence)
getHeader in interface FastaHeaderFormatInterface<S extends AbstractSequence<?>,C extends Compound>
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||