Uses of Class
org.biojava.nbio.core.sequence.ProteinSequence
Packages that use ProteinSequence
Package
Description
-
Uses of ProteinSequence in org.biojava.nbio.core.sequence
Methods in org.biojava.nbio.core.sequence that return ProteinSequenceModifier and TypeMethodDescriptionRNASequence.getProteinSequence()Get the ProteinSequence from the RNA sequenceRNASequence.getProteinSequence(TranscriptionEngine engine) Get the ProteinSequence from the RNA sequence with user-defined transcription engineTranscriptSequence.getProteinSequence()Get the protein sequenceTranscriptSequence.getProteinSequence(TranscriptionEngine engine) Get the protein sequence with user defined TranscriptEngineMethods in org.biojava.nbio.core.sequence that return types with arguments of type ProteinSequenceModifier and TypeMethodDescriptionTranscriptSequence.getProteinCDSSequences()Return a list of protein sequences based on each CDS sequence where the phase shift between two CDS sequences is assigned to the CDS sequence that starts the triplet. -
Uses of ProteinSequence in org.biojava.nbio.core.sequence.io
Methods in org.biojava.nbio.core.sequence.io that return ProteinSequenceModifier and TypeMethodDescriptionprotected ProteinSequenceFastaStreamer.createSequence(ProteinSequence sequence) Create the sequence with the information from the header.Methods in org.biojava.nbio.core.sequence.io that return types with arguments of type ProteinSequenceModifier and TypeMethodDescriptionFastaStreamer.each()Enable iteration through the proteins in the file using syntax such as:FastaStreamer.getHeaderParser()static LinkedHashMap<String,ProteinSequence> FastaReaderHelper.readFastaProteinSequence(File file) Read a fasta file containing amino acids with setup that would handle most cases.static LinkedHashMap<String,ProteinSequence> FastaReaderHelper.readFastaProteinSequence(InputStream inStream) Read a fasta file containing amino acids with setup that would handle most cases.static LinkedHashMap<String,ProteinSequence> GenbankReaderHelper.readGenbankProteinSequence(File file) Read a Genbank file containing amino acids with setup that would handle most cases.static LinkedHashMap<String,ProteinSequence> GenbankReaderHelper.readGenbankProteinSequence(File file, boolean lazySequenceLoad) Selecting lazySequenceLoad=true will parse the Genbank file and figure out the accessionid and offsets and return sequence objects that can in the future read the sequence from the disk.static LinkedHashMap<String,ProteinSequence> GenbankReaderHelper.readGenbankProteinSequence(InputStream inStream) Read a Genbank file containing amino acids with setup that would handle most cases.FastaStreamer.stream()Create a stream of protein sequences from the contents of the pathMethods in org.biojava.nbio.core.sequence.io with parameters of type ProteinSequenceModifier and TypeMethodDescriptionprotected ProteinSequenceFastaStreamer.createSequence(ProteinSequence sequence) Create the sequence with the information from the header.static voidCasePreservingProteinSequenceCreator.setLowercaseToNull(ProteinSequence seq, Object[] out) Takes aProteinSequencewhich was created by aCasePreservingProteinSequenceCreator.Method parameters in org.biojava.nbio.core.sequence.io with type arguments of type ProteinSequenceModifier and TypeMethodDescriptionFastaStreamer.withHeaderParser(SequenceHeaderParserInterface<ProteinSequence, AminoAcidCompound> headerParser) static voidFastaWriterHelper.writeProteinSequence(File file, Collection<ProteinSequence> proteinSequences) Write collection of protein sequences to a filestatic voidFastaWriterHelper.writeProteinSequence(OutputStream outputStream, Collection<ProteinSequence> proteinSequences) Write collection of protein sequences to a streamstatic voidGenbankWriterHelper.writeProteinSequence(File file, Collection<ProteinSequence> proteinSequences) Write collection of protein sequences to a filestatic voidGenbankWriterHelper.writeProteinSequence(OutputStream outputStream, Collection<ProteinSequence> proteinSequences) Write collection of protein sequences to a stream -
Uses of ProteinSequence in org.biojava.nbio.core.util
Methods in org.biojava.nbio.core.util with parameters of type ProteinSequenceModifier and TypeMethodDescriptionstatic booleanSequenceTools.equalLengthSequences(ProteinSequence[] sequences) A method to check whether an array of sequences contains at least two sequences having an equal length.