public class GenericGenbankHeaderParser<S extends AbstractSequence<C>,C extends Compound> extends Object implements SequenceHeaderParserInterface<S,C>
| Constructor and Description |
|---|
GenericGenbankHeaderParser() |
| Modifier and Type | Method and Description |
|---|---|
void |
addReference(AbstractReference abstractReference) |
void |
parseHeader(String header,
S sequence)
Parse the header and set the values in the sequence
|
void |
setAccession(String accession)
The last accession passed to this routine will always be the one used.
|
void |
setComment(String comment) |
void |
setDescription(String description) |
void |
setIdentifier(String identifier) |
void |
setName(String name) |
void |
setVersion(int version) |
public GenericGenbankHeaderParser()
public void parseHeader(String header, S sequence)
parseHeader in interface SequenceHeaderParserInterface<S extends AbstractSequence<C>,C extends Compound>header - sequence - public void setVersion(int version) throws ParserException
ParserExceptionpublic void setAccession(String accession) throws ParserException
ParserExceptionpublic void setDescription(String description) throws ParserException
ParserExceptionpublic void setIdentifier(String identifier) throws ParserException
ParserExceptionpublic void setName(String name) throws ParserException
ParserExceptionpublic void setComment(String comment) throws ParserException
ParserExceptionpublic void addReference(AbstractReference abstractReference)
Copyright © 2000–2019 BioJava. All rights reserved.