Class PlainFastaHeaderParser<S extends AbstractSequence<C>,C extends Compound>
java.lang.Object
org.biojava.nbio.core.sequence.io.PlainFastaHeaderParser<S,C>
- All Implemented Interfaces:
SequenceHeaderParserInterface<S,
C>
public class PlainFastaHeaderParser<S extends AbstractSequence<C>,C extends Compound>
extends Object
implements SequenceHeaderParserInterface<S,C>
The plain fasta header takes everything in the header as a single entity. It
is useful for non-standard header formats that don't follow a single rule.
If the user has a custom header with local data that is kept constant all over the data then they can create their own implementation of a FastaHeaderParserInterface
If the user has a custom header with local data that is kept constant all over the data then they can create their own implementation of a FastaHeaderParserInterface
- Since:
- 3.0.6
- Author:
- Amr AL-Hossary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
parseHeader
(String header, S sequence) Parse the header and set the values in the sequence
-
Constructor Details
-
PlainFastaHeaderParser
public PlainFastaHeaderParser()
-
-
Method Details
-
parseHeader
Parse the header and set the values in the sequence- Specified by:
parseHeader
in interfaceSequenceHeaderParserInterface<S extends AbstractSequence<C>,
C extends Compound> - Parameters:
header
-sequence
-
-