Constructor and Description |
---|
ProteinBuilderTool() |
Modifier and Type | Method and Description |
---|---|
static IBioPolymer |
addAminoAcidAtCTerminus(IBioPolymer protein,
IAminoAcid aaToAdd,
IStrand strand,
IAminoAcid aaToAddTo)
Builds a protein by connecting a new amino acid at the C-terminus of the
given strand.
|
static IBioPolymer |
addAminoAcidAtNTerminus(IBioPolymer protein,
IAminoAcid aaToAdd,
IStrand strand,
IAminoAcid aaToAddTo)
Builds a protein by connecting a new amino acid at the N-terminus of the
given strand.
|
static IBioPolymer |
createProtein(String sequence)
Creates a BioPolymer from a sequence of amino acid as identified by a
the sequence of their one letter codes.
|
static IBioPolymer |
createProtein(String sequence,
IChemObjectBuilder builder)
Creates a BioPolymer from a sequence of amino acid as identified by a
the sequence of their one letter codes.
|
public static IBioPolymer addAminoAcidAtNTerminus(IBioPolymer protein, IAminoAcid aaToAdd, IStrand strand, IAminoAcid aaToAddTo)
protein
- protein to which the strand belongsaaToAdd
- amino acid to add to the strand of the proteinstrand
- strand to which the protein is addedpublic static IBioPolymer addAminoAcidAtCTerminus(IBioPolymer protein, IAminoAcid aaToAdd, IStrand strand, IAminoAcid aaToAddTo)
protein
- protein to which the strand belongsaaToAdd
- amino acid to add to the strand of the proteinstrand
- strand to which the protein is addedpublic static IBioPolymer createProtein(String sequence) throws CDKException
DefaultChemObjectBuilder
to create a data model.
For example:
BioPolymer protein = ProteinBuilderTool.createProtein("GAGA");
CDKException
createProtein(String)
public static IBioPolymer createProtein(String sequence, IChemObjectBuilder builder) throws CDKException
IChemObjectBuilder
to create a data model.
For example:
BioPolymer protein = ProteinBuilderTool.createProtein( "GAGA", SilentChemObjectBuilder.getInstance() );
CDKException
createProtein(String)
Copyright © 2021. All rights reserved.