Uses of Class
org.biojava.nbio.core.sequence.ProteinSequence
Package
Description
Set of classes that responsible for providing APIs and Command Prompt access to generate some basic physico-chemical properties of protein sequences.
Set of classes that responsible for providing APIs access to generate some PROFEAT properties of protein sequences.
Set of classes that enable the conversion protein sequences into various attributes.
BioJava provide a module biojava-protein-disorder for prediction disordered regions
from a protein sequence.
Input and Output of Structures
-
Uses of ProteinSequence in org.biojava.nbio.aaproperties
Modifier and TypeMethodDescriptionIPeptideProperties.getAAComposition
(ProteinSequence sequence) Returns the composition of the 20 standard amino acid in the sequence.PeptidePropertiesImpl.getAAComposition
(ProteinSequence sequence) double
IPeptideProperties.getAbsorbance
(ProteinSequence sequence, boolean assumeCysReduced) Returns the absorbance (optical density) of sequence.double
PeptidePropertiesImpl.getAbsorbance
(ProteinSequence sequence, boolean assumeCysReduced) double
IPeptideProperties.getApliphaticIndex
(ProteinSequence sequence) Returns the apliphatic index of sequence.double
PeptidePropertiesImpl.getApliphaticIndex
(ProteinSequence sequence) double
IPeptideProperties.getAromaticity
(ProteinSequence sequence) Calculates the aromaticity value of a protein according to Lobry, 1994.double
PeptidePropertiesImpl.getAromaticity
(ProteinSequence sequence) double
IPeptideProperties.getAvgHydropathy
(ProteinSequence sequence) Returns the average hydropathy value of sequence.double
PeptidePropertiesImpl.getAvgHydropathy
(ProteinSequence sequence) double
IPeptideProperties.getEnrichment
(ProteinSequence sequence, AminoAcidCompound aminoAcidCode) Returns the composition of specified amino acid in the sequence.double
PeptidePropertiesImpl.getEnrichment
(ProteinSequence sequence, AminoAcidCompound aminoAcidCode) double
IPeptideProperties.getExtinctionCoefficient
(ProteinSequence sequence, boolean assumeCysReduced) Returns the extinction coefficient of sequence.double
PeptidePropertiesImpl.getExtinctionCoefficient
(ProteinSequence sequence, boolean assumeCysReduced) double
IPeptideProperties.getInstabilityIndex
(ProteinSequence sequence) Returns the instability index of sequence.double
PeptidePropertiesImpl.getInstabilityIndex
(ProteinSequence sequence) double
IPeptideProperties.getIsoelectricPoint
(ProteinSequence seuqence) double
IPeptideProperties.getIsoelectricPoint
(ProteinSequence sequence, boolean useExpasyValues) Returns the isoelectric point of sequence.double
PeptidePropertiesImpl.getIsoelectricPoint
(ProteinSequence sequence) double
PeptidePropertiesImpl.getIsoelectricPoint
(ProteinSequence sequence, boolean useExpasyValues) double
IPeptideProperties.getMolecularWeight
(ProteinSequence sequence) Returns the molecular weight of sequence.double
IPeptideProperties.getMolecularWeight
(ProteinSequence sequence, File aminoAcidCompositionFile) Returns the molecular weight of sequence.double
IPeptideProperties.getMolecularWeight
(ProteinSequence sequence, File elementMassFile, File aminoAcidCompositionFile) Returns the molecular weight of sequence.double
PeptidePropertiesImpl.getMolecularWeight
(ProteinSequence sequence) double
PeptidePropertiesImpl.getMolecularWeight
(ProteinSequence sequence, File aminoAcidCompositionFile) double
PeptidePropertiesImpl.getMolecularWeight
(ProteinSequence sequence, File elementMassFile, File aminoAcidCompositionFile) double
IPeptideProperties.getMolecularWeightBasedOnXML
(ProteinSequence sequence, AminoAcidCompositionTable aminoAcidCompositionTable) Returns the molecular weight of sequence.double
PeptidePropertiesImpl.getMolecularWeightBasedOnXML
(ProteinSequence sequence, AminoAcidCompositionTable aminoAcidCompositionTable) double
IPeptideProperties.getNetCharge
(ProteinSequence sequence) double
IPeptideProperties.getNetCharge
(ProteinSequence sequence, boolean useExpasyValues) double
IPeptideProperties.getNetCharge
(ProteinSequence sequence, boolean useExpasyValues, double pHPoint) Returns the net charge of sequence at pH 7.double
PeptidePropertiesImpl.getNetCharge
(ProteinSequence sequence) double
PeptidePropertiesImpl.getNetCharge
(ProteinSequence sequence, boolean useExpasyValues) double
PeptidePropertiesImpl.getNetCharge
(ProteinSequence sequence, boolean useExpasyValues, double pHPoint) -
Uses of ProteinSequence in org.biojava.nbio.aaproperties.profeat
Modifier and TypeMethodDescriptionIProfeatProperties.getComposition
(ProteinSequence sequence) IProfeatProperties.getComposition
(ProteinSequence sequence, IProfeatProperties.ATTRIBUTE attribute) double
IProfeatProperties.getComposition
(ProteinSequence sequence, IProfeatProperties.ATTRIBUTE attribute, IProfeatProperties.GROUPING group) Returns the composition of the specific grouping for the given attribute.ProfeatProperties.getComposition
(ProteinSequence sequence) static Map
<IProfeatProperties.GROUPING, Double> ProfeatProperties.getComposition
(ProteinSequence sequence, IProfeatProperties.ATTRIBUTE attribute) static double
ProfeatProperties.getComposition
(ProteinSequence sequence, IProfeatProperties.ATTRIBUTE attribute, IProfeatProperties.GROUPING group) An adaptor method which returns the composition of the specific grouping for the given attribute.ProfeatPropertiesImpl.getComposition
(ProteinSequence sequence) ProfeatPropertiesImpl.getComposition
(ProteinSequence sequence, IProfeatProperties.ATTRIBUTE attribute) double
ProfeatPropertiesImpl.getComposition
(ProteinSequence sequence, IProfeatProperties.ATTRIBUTE attribute, IProfeatProperties.GROUPING group) Map
<IProfeatProperties.ATTRIBUTE, Map<IProfeatProperties.GROUPING, Map<IProfeatProperties.DISTRIBUTION, Double>>> IProfeatProperties.getDistributionPosition
(ProteinSequence sequence) IProfeatProperties.getDistributionPosition
(ProteinSequence sequence, IProfeatProperties.ATTRIBUTE attribute) IProfeatProperties.getDistributionPosition
(ProteinSequence sequence, IProfeatProperties.ATTRIBUTE attribute, IProfeatProperties.GROUPING group) double
IProfeatProperties.getDistributionPosition
(ProteinSequence sequence, IProfeatProperties.ATTRIBUTE attribute, IProfeatProperties.GROUPING group, IProfeatProperties.DISTRIBUTION distribution) Computes and return the position with respect to the sequence where the given distribution of the grouping can be found.
Example: "1111122222"
For the above example,
position of the GROUPING.GROUP1 & DISTRIBUTION.FIRST = 0/10 (because the first occurrence of '1' is at position 0)
position of the GROUPING.GROUP1 & DISTRIBUTION.ALL = 4/10 (because all occurrences of '1' happens on and before position 4)static Map
<IProfeatProperties.ATTRIBUTE, Map<IProfeatProperties.GROUPING, Map<IProfeatProperties.DISTRIBUTION, Double>>> ProfeatProperties.getDistributionPosition
(ProteinSequence sequence) ProfeatProperties.getDistributionPosition
(ProteinSequence sequence, IProfeatProperties.ATTRIBUTE attribute) static Map
<IProfeatProperties.DISTRIBUTION, Double> ProfeatProperties.getDistributionPosition
(ProteinSequence sequence, IProfeatProperties.ATTRIBUTE attribute, IProfeatProperties.GROUPING group) static double
ProfeatProperties.getDistributionPosition
(ProteinSequence sequence, IProfeatProperties.ATTRIBUTE attribute, IProfeatProperties.GROUPING group, IProfeatProperties.DISTRIBUTION distribution) An adaptor method which computes and return the position with respect to the sequence where the given distribution of the grouping can be found.
Example: "1111122222"
For the above example,
position of the GROUPING.GROUP1 & DISTRIBUTION.FIRST = 0/10 (because the first occurrence of '1' is at position 0)
position of the GROUPING.GROUP1 & DISTRIBUTION.ALL = 4/10 (because all occurrences of '1' happens on and before position 4)Map
<IProfeatProperties.ATTRIBUTE, Map<IProfeatProperties.GROUPING, Map<IProfeatProperties.DISTRIBUTION, Double>>> ProfeatPropertiesImpl.getDistributionPosition
(ProteinSequence sequence) ProfeatPropertiesImpl.getDistributionPosition
(ProteinSequence sequence, IProfeatProperties.ATTRIBUTE attribute) ProfeatPropertiesImpl.getDistributionPosition
(ProteinSequence sequence, IProfeatProperties.ATTRIBUTE attribute, IProfeatProperties.GROUPING group) double
ProfeatPropertiesImpl.getDistributionPosition
(ProteinSequence sequence, IProfeatProperties.ATTRIBUTE attribute, IProfeatProperties.GROUPING group, IProfeatProperties.DISTRIBUTION distribution) IProfeatProperties.getTransition
(ProteinSequence sequence) IProfeatProperties.getTransition
(ProteinSequence sequence, IProfeatProperties.ATTRIBUTE attribute) double
IProfeatProperties.getTransition
(ProteinSequence sequence, IProfeatProperties.ATTRIBUTE attribute, IProfeatProperties.TRANSITION transition) Returns the number of transition between the specified groups for the given attribute with respect to the length of sequence.ProfeatProperties.getTransition
(ProteinSequence sequence) static Map
<IProfeatProperties.TRANSITION, Double> ProfeatProperties.getTransition
(ProteinSequence sequence, IProfeatProperties.ATTRIBUTE attribute) static double
ProfeatProperties.getTransition
(ProteinSequence sequence, IProfeatProperties.ATTRIBUTE attribute, IProfeatProperties.TRANSITION transition) An adaptor method which returns the number of transition between the specified groups for the given attribute with respect to the length of sequence.ProfeatPropertiesImpl.getTransition
(ProteinSequence sequence) ProfeatPropertiesImpl.getTransition
(ProteinSequence sequence, IProfeatProperties.ATTRIBUTE attribute) double
ProfeatPropertiesImpl.getTransition
(ProteinSequence sequence, IProfeatProperties.ATTRIBUTE attribute, IProfeatProperties.TRANSITION transition) -
Uses of ProteinSequence in org.biojava.nbio.aaproperties.profeat.convertor
Modifier and TypeMethodDescriptionConvertor.convert
(ProteinSequence sequence) Returns the converted sequence. -
Uses of ProteinSequence in org.biojava.nbio.core.sequence
Modifier 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 TranscriptEngineModifier 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
Modifier and TypeMethodDescriptionprotected ProteinSequence
FastaStreamer.createSequence
(ProteinSequence sequence) Create the sequence with the information from the header.Modifier and TypeMethodDescriptionFastaStreamer.each()
Enable iteration through the proteins in the file using syntax such as:FastaStreamer.getHeaderParser()
static Map
<String, ProteinSequence> FastaReaderHelper.readFastaProteinSequence
(File file) Read a fasta file containing amino acids with setup that would handle most cases.static Map
<String, ProteinSequence> FastaReaderHelper.readFastaProteinSequence
(InputStream inStream) Read a fasta file containing amino acids with setup that would handle most cases.static Map
<String, ProteinSequence> GenbankReaderHelper.readGenbankProteinSequence
(File file) Read a Genbank file containing amino acids with setup that would handle most cases.static Map
<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 Map
<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 pathModifier and TypeMethodDescriptionprotected ProteinSequence
FastaStreamer.createSequence
(ProteinSequence sequence) Create the sequence with the information from the header.static void
CasePreservingProteinSequenceCreator.setLowercaseToNull
(ProteinSequence seq, Object[] out) Takes aProteinSequence
which was created by aCasePreservingProteinSequenceCreator
.Modifier and TypeMethodDescriptionFastaStreamer.withHeaderParser
(SequenceHeaderParserInterface<ProteinSequence, AminoAcidCompound> headerParser) static void
FastaWriterHelper.writeProteinSequence
(File file, Collection<ProteinSequence> proteinSequences) Write collection of protein sequences to a filestatic void
FastaWriterHelper.writeProteinSequence
(OutputStream outputStream, Collection<ProteinSequence> proteinSequences) Write collection of protein sequences to a streamstatic void
GenbankWriterHelper.writeProteinSequence
(File file, Collection<ProteinSequence> proteinSequences) Write collection of protein sequences to a filestatic void
GenbankWriterHelper.writeProteinSequence
(OutputStream outputStream, Collection<ProteinSequence> proteinSequences) Write collection of protein sequences to a stream -
Uses of ProteinSequence in org.biojava.nbio.core.util
Modifier and TypeMethodDescriptionstatic boolean
SequenceTools.equalLengthSequences
(ProteinSequence[] sequences) A method to check whether an array of sequences contains at least two sequences having an equal length. -
Uses of ProteinSequence in org.biojava.nbio.genome
Modifier and TypeMethodDescriptionstatic LinkedHashMap
<String, ProteinSequence> GeneFeatureHelper.getProteinSequences
(Collection<ChromosomeSequence> chromosomeSequences) -
Uses of ProteinSequence in org.biojava.nbio.genome.parsers.geneid
-
Uses of ProteinSequence in org.biojava.nbio.genome.util
Modifier and TypeMethodDescriptionstatic ProteinSequence
ProteinMappingTools.convertDNAtoProteinSequence
(String dnaSequence) Converts the DNA sequence to protein sequence.static ProteinSequence
ProteinMappingTools.convertDNAtoProteinSequence
(DNASequence dnaSequence) Converts the DNA sequence to protein sequence. -
Uses of ProteinSequence in org.biojava.nbio.ronn
Modifier and TypeMethodDescriptionstatic FastaSequence
Jronn.convertProteinSequencetoFasta
(ProteinSequence sequence) Utility method to convert a BioJava ProteinSequence object to the FastaSequence object used internally in JRonn.static float[]
Jronn.getDisorderScores
(ProteinSequence sequence) Calculates the probability value for each residue in the protein sequence, telling the probability that the residue belongs to disordered region. -
Uses of ProteinSequence in org.biojava.nbio.structure.align.multiple.util
Modifier and TypeMethodDescriptionMultipleAlignmentTools.toProteinMSA
(MultipleAlignment msta) Convert a MultipleAlignment into a MultipleSequenceAlignment of AminoAcid residues. -
Uses of ProteinSequence in org.biojava.nbio.structure.cluster
Modifier and TypeMethodDescriptionSubunit.getProteinSequence()
Get the protein sequence of the Subunit. -
Uses of ProteinSequence in org.biojava.nbio.structure.io
Modifier and TypeMethodDescriptionstatic ProteinSequence
StructureSequenceMatcher.getProteinSequenceForStructure
(Structure struct, Map<Integer, Group> groupIndexPosition) Generates a ProteinSequence corresponding to the sequence of struct, and maintains a mapping from the sequence back to the original groups.FastaStructureParser.getSequences()
Gets the protein sequences read from the Fasta file.static ProteinSequence
StructureSequenceMatcher.removeGaps
(ProteinSequence gapped) Removes all gaps ('-') from a protein sequenceModifier and TypeMethodDescriptionstatic AFPChain
FastaAFPChainConverter.cpFastaToAfpChain
(ProteinSequence first, ProteinSequence second, Structure structure, int cpSite) Takes a structure and sequence corresponding to an alignment between a structure or sequence and itself (or even a structure with a sequence), where the result has a circular permutation sitecpSite
residues to the right.static AFPChain
FastaAFPChainConverter.fastaToAfpChain
(ProteinSequence sequence1, ProteinSequence sequence2, Structure structure1, Structure structure2) Returns an AFPChain corresponding to the alignment betweenstructure1
andstructure2
, which is given by the gapped protein sequencessequence1
andsequence2
.static Structure
StructureSequenceMatcher.getSubstructureMatchingProteinSequence
(ProteinSequence sequence, Structure wholeStructure) static ResidueNumber[]
StructureSequenceMatcher.matchSequenceToStructure
(ProteinSequence seq, Structure struct) Given a sequence and the corresponding Structure, get the ResidueNumber for each residue in the sequence.static ProteinSequence
StructureSequenceMatcher.removeGaps
(ProteinSequence gapped) Removes all gaps ('-') from a protein sequenceModifier and TypeMethodDescriptionstatic AFPChain
FastaAFPChainConverter.fastaToAfpChain
(Map<String, ProteinSequence> sequences, Structure structure1, Structure structure2) Uses two sequences each with a corresponding structure to create an AFPChain corresponding to the alignment.ModifierConstructorDescriptionFastaStructureParser
(File file, SequenceHeaderParserInterface<ProteinSequence, AminoAcidCompound> headerParser, SequenceCreatorInterface<AminoAcidCompound> sequenceCreator, AtomCache cache) FastaStructureParser
(InputStream is, SequenceHeaderParserInterface<ProteinSequence, AminoAcidCompound> headerParser, SequenceCreatorInterface<AminoAcidCompound> sequenceCreator, AtomCache cache) FastaStructureParser
(FastaReader<ProteinSequence, AminoAcidCompound> reader, AtomCache cache) -
Uses of ProteinSequence in org.biojava.nbio.ws.hmmer
Modifier and TypeMethodDescriptionHmmerScan.scan
(ProteinSequence sequence) RemoteHmmerScan.scan
(ProteinSequence sequence) RemoteHmmerScan.scan
(ProteinSequence sequence, URL serviceLocation) Scans a protein sequence for Pfam profile matches.