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- Since:
- 3.0.6
- Author:
- Amr ALHOSSARY
-
-
Constructor Summary
Constructors Constructor Description PlainFastaHeaderParser()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
parseHeader(String header, S sequence)
Parse the header and set the values in the sequence
-
-
-
Constructor Detail
-
PlainFastaHeaderParser
public PlainFastaHeaderParser()
-
-
Method Detail
-
parseHeader
public void parseHeader(String header, S sequence)
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
-
-
-