Uses of Class
org.biojava.nbio.core.sequence.template.AbstractSequence
Package
Description
FASTQ and variants sequence format I/O.
-
Uses of AbstractSequence in org.biojava.nbio.alignment.io
Modifier and TypeMethodDescriptionList
<AbstractSequence<? extends AbstractCompound>> StockholmStructure.getBioSequences()
used to retrieve sequences from the structureList
<AbstractSequence<? extends AbstractCompound>> StockholmStructure.getBioSequences
(boolean ignoreCase) Because some database files have incorrectly small letters (e.g.List
<AbstractSequence<? extends AbstractCompound>> StockholmStructure.getBioSequences
(boolean ignoreCase, String forcedSequenceType) This function tolerates mixed case letters, and allows for forcing the output biosequence type (PFAM/RFAM). -
Uses of AbstractSequence in org.biojava.nbio.core.sequence
Modifier and TypeClassDescriptionclass
BasicSequence<C extends Compound>
Bare bones version of the Sequence object to be used sparingly.class
Represents a exon or coding sequence in a gene.class
A ChromosomeSequence is a DNASequence but keeps track of geneSequencesclass
This is class should model the attributes associated with a DNA sequenceclass
A gene contains a collection of Exon sequencesclass
class
class
The representation of a ProteinSequenceclass
RNASequence where RNACompoundSet are the allowed valuesclass
Used to map the start codon feature on a geneclass
Used to map the stop codon sequence on a geneclass
This is the sequence if you want to go from a gene sequence to a protein sequence.Modifier and TypeMethodDescriptionint
SequenceComparator.compare
(AbstractSequence<?> o1, AbstractSequence<?> o2) void
ProteinSequence.setParentDNASequence
(AbstractSequence<NucleotideCompound> parentDNASequence, Integer begin, Integer end) A Protein sequence can be stand alone or loaded from a transcript sequence. -
Uses of AbstractSequence in org.biojava.nbio.core.sequence.features
Modifier and TypeClassDescriptionclass
AbstractFeature<S extends AbstractSequence<C>,
C extends Compound> A feature is currently any descriptive item that can be associated with a sequence position(s) A feature has a type and a source which is currently a string to allow flexibility for the user Ideally well defined features should have a class to describe attributes of that featureclass
FeatureDbReferenceInfo<S extends AbstractSequence<C>,
C extends Compound> It isDBReferenceInfo
which implementsFeatureInterface
.interface
FeatureInterface<S extends AbstractSequence<C>,
C extends Compound> Interface class to handle describing arbitrary features.class
QualityFeature<S extends AbstractSequence<C>,
C extends Compound> DNA Sequences produced by modern sequencers usually have quality informaion attached to them.class
QuantityFeature<S extends AbstractSequence<C>,
C extends Compound> It is common to have a numerical value or values associated with a feature.class
TextFeature<S extends AbstractSequence<C>,
C extends Compound> A implmentation of AbstractFeature -
Uses of AbstractSequence in org.biojava.nbio.core.sequence.io
Modifier and TypeClassDescriptionclass
GenbankReader<S extends AbstractSequence<C>,
C extends Compound> UseGenbankReaderHelper
as an example of how to use this class whereGenbankReaderHelper
should be the primary class used to read Genbank filesclass
GenbankSequenceParser<S extends AbstractSequence<C>,
C extends Compound> 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.class
GenericFastaHeaderParser<S extends AbstractSequence<C>,
C extends Compound> The default fasta header parser where some headers are well defined based on the source database which allows us to set the source of the protein sequence and the identifier that can be used in future implementations to load features from external sources If the user has a custom header with local data then they can create their own implementation of a FastaHeaderParserInterfaceclass
GenericGenbankHeaderFormat<S extends AbstractSequence<C>,
C extends Compound> class
GenericGenbankHeaderParser<S extends AbstractSequence<C>,
C extends Compound> class
GenericInsdcHeaderFormat<S extends AbstractSequence<C>,
C extends Compound> class
PlainFastaHeaderParser<S extends AbstractSequence<C>,
C extends Compound> The plain fasta header takes everything in the header as a single entity.Modifier and TypeMethodDescriptionABITrace.getSequence()
Returns the original programmatically determined (unedited) sequence as aAbstractSequence<NucleotideCompound>
.CasePreservingProteinSequenceCreator.getSequence
(String sequence, long index) CasePreservingProteinSequenceCreator.getSequence
(List<AminoAcidCompound> list) Assumes all compounds were uppercaseCasePreservingProteinSequenceCreator.getSequence
(ProxySequenceReader<AminoAcidCompound> proxyLoader, long index) DNASequenceCreator.getSequence
(String sequence, long index) DNASequenceCreator.getSequence
(List<NucleotideCompound> list) DNASequenceCreator.getSequence
(ProxySequenceReader<NucleotideCompound> proxyLoader, long index) FileProxyDNASequenceCreator.getSequence
(String sequence, long index) Even though we are passing in the sequence we really only care about the length of the sequence and the offset index in the fasta file.FileProxyDNASequenceCreator.getSequence
(List<NucleotideCompound> list) Not sure of use case and currently not supportedFileProxyDNASequenceCreator.getSequence
(ProxySequenceReader<NucleotideCompound> proxyLoader, long index) Should be able to extend the same concept to a remote URL call or database connection.FileProxyProteinSequenceCreator.getSequence
(String sequence, long index) Even though we are passing in the sequence we really only care about the length of the sequence and the offset index in the fasta file.FileProxyProteinSequenceCreator.getSequence
(List<AminoAcidCompound> list) Not sure of use case and currently not supportedFileProxyProteinSequenceCreator.getSequence
(ProxySequenceReader<AminoAcidCompound> proxyLoader, long index) Should be able to extend the same concept to a remote URL call or database connection.FileProxyRNASequenceCreator.getSequence
(String sequence, long index) Even though we are passing in the sequence we really only care about the length of the sequence and the offset index in the fasta file.FileProxyRNASequenceCreator.getSequence
(List<NucleotideCompound> list) Not sure of use case and currently not supportedFileProxyRNASequenceCreator.getSequence
(ProxySequenceReader<NucleotideCompound> proxyLoader, long index) Should be able to extend the same concept to a remote URL call or database connection.ProteinSequenceCreator.getSequence
(String sequence, long index) ProteinSequenceCreator.getSequence
(List<AminoAcidCompound> list) ProteinSequenceCreator.getSequence
(ProxySequenceReader<AminoAcidCompound> proxyLoader, long index) RNASequenceCreator.getSequence
(String sequence, long index) RNASequenceCreator.getSequence
(List<NucleotideCompound> list) RNASequenceCreator.getSequence
(ProxySequenceReader<NucleotideCompound> proxyLoader, long index) Modifier and TypeMethodDescriptionGenbankSequenceParser.getFeatures()
GenbankSequenceParser.getFeatures
(String keyword) Modifier and TypeMethodDescriptionvoid
GenbankSequenceParser.parseFeatures
(AbstractSequence<C> sequence) Modifier and TypeMethodDescriptionprotected String
GenericInsdcHeaderFormat._write_feature
(FeatureInterface<AbstractSequence<C>, C> feature, int record_length) Write a single SeqFeature object to features table. -
Uses of AbstractSequence in org.biojava.nbio.core.sequence.io.template
Modifier and TypeMethodDescriptionSequenceCreatorInterface.getSequence
(String sequence, long index) SequenceCreatorInterface.getSequence
(List<C> list) SequenceCreatorInterface.getSequence
(ProxySequenceReader<C> proxyLoader, long index) -
Uses of AbstractSequence in org.biojava.nbio.core.sequence.loader
Modifier and TypeMethodDescriptionGenbankProxySequenceReader.getFeatures()
GenbankProxySequenceReader.getHeaderParser()
-
Uses of AbstractSequence in org.biojava.nbio.core.sequence.location
Modifier and TypeClassDescriptionclass
SequenceLocation<S extends AbstractSequence<C>,
C extends Compound> A location in a sequence that keeps a reference to its parent sequence -
Uses of AbstractSequence in org.biojava.nbio.core.sequence.template
Modifier and TypeMethodDescriptionAbstractSequence.getFeatures()
AbstractSequence.getFeatures
(int bioSequencePosition) Return features at a sequence positionAbstractSequence.getFeatures
(String featureType, int bioSequencePosition) Return features at a sequence position by typeAbstractSequence.getFeaturesByType
(String type) Modifier and TypeMethodDescriptionvoid
AbstractSequence.setParentSequence
(AbstractSequence<?> parentSequence) Modifier and TypeMethodDescriptionvoid
AbstractSequence.addFeature
(int bioStart, int bioEnd, FeatureInterface<AbstractSequence<C>, C> feature) Method to help set the proper details for a feature as it relates to a sequence where the feature needs to have a location on the sequencevoid
AbstractSequence.addFeature
(FeatureInterface<AbstractSequence<C>, C> feature) Add a feature to this sequence.void
AbstractSequence.removeFeature
(FeatureInterface<AbstractSequence<C>, C> feature) Remove a feature from the sequence -
Uses of AbstractSequence in org.biojava.nbio.genome.io.fastq
Modifier and TypeMethodDescriptionFastqTools.createErrorProbabilities
(Fastq fastq) Create and return a newQuantityFeature
from the error probabilities of the specified FASTQ formatted sequence.FastqTools.createQualityScores
(Fastq fastq) Create and return a newQualityFeature
from the quality scores of the specified FASTQ formatted sequence.