Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Special pages
WebChemistry Wiki
Search
Search
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
PatternQuery:Language Reference
(section)
Page
Discussion
English
Read
Edit
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
View history
General
What links here
Related changes
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== Meta-data Functions == ''Functions dealing with meta-data about structures such as release date or authors.'' === Authors === <code>Authors(pattern: Pattern) -> String</code><br/> ''Returns authors of the parent structure separated by a semicolon. If the value is not available, null is returned.''<br/> ;Arguments : pattern: Pattern - ''Pattern.'' ---- === ECNumbers === <code>ECNumbers(pattern: Pattern) -> String</code><br/> ''Returns Enzymatic Commission numbers assigned to enzymes in the parent structure separated by a semicolon. If the value is not available, null is returned.''<br/> ;Arguments : pattern: Pattern - ''Pattern.'' ---- === EntitySources === <code>EntitySources(pattern: Pattern) -> String</code><br/> ''Returns entity sources of the parent structure separated by a semicolon. If the value is not available, null is returned.''<br/> ;Arguments : pattern: Pattern - ''Pattern.'' ---- === ExperimentMethod === <code>ExperimentMethod(pattern: Pattern) -> String</code><br/> ''Get the experiment method. The value is always an upper-case string. If the value is not available, null is returned.''<br/> ;Arguments : pattern: Pattern - ''Pattern.'' ;Examples : <code>Residues().ExecuteIf(lambda p: p.ExperimentMethod() == "INFRARED SPECTROSCOPY")</code> :: ''Returns residues in structures that satisfy the property.'' ---- === HasAllAuthors === <code>HasAllAuthors(pattern: Pattern, properties: String+) -> Bool</code><br/> ''Determines if the parent structure contains all given authors. The comparison is case sensitive.''<br/> ;Arguments : pattern: Pattern - ''Pattern.'' : properties: String+ - ''Properties.'' ;Examples : <code>Residues().ExecuteIf(lambda p: p.HasAllAuthors("Holmes", "Watson"))</code> :: ''Returns residues in structures that contain all given properties.'' ---- === HasAllECNumbers === <code>HasAllECNumbers(pattern: Pattern, properties: String+) -> Bool</code><br/> ''Determines if the parent structure contains all given Enzymatic Commission numbers. It is possible to enter just a number prefix without the '.'. The comparison is not case sensitive.''<br/> ;Arguments : pattern: Pattern - ''Pattern.'' : properties: String+ - ''Properties.'' ;Examples : <code>Residues().ExecuteIf(lambda p: p.HasAllECNumbers("3.2.1.18", "3.3"))</code> :: ''Returns residues in structures that contain all given properties.'' ---- === HasAllEntitySources === <code>HasAllEntitySources(pattern: Pattern, properties: String+) -> Bool</code><br/> ''Determines if the parent structure contains all given entity sources. The comparison is not case sensitive.''<br/> ;Arguments : pattern: Pattern - ''Pattern.'' : properties: String+ - ''Properties.'' ;Examples : <code>Residues().ExecuteIf(lambda p: p.HasAllEntitySources("GMO", "Natural", "Synthetic"))</code> :: ''Returns residues in structures that contain all given properties.'' ---- === HasAllHostOrganismGenus === <code>HasAllHostOrganismGenus(pattern: Pattern, properties: String+) -> Bool</code><br/> ''Determines if the parent structure contains all given host organism identifiers. The comparison is not case sensitive.''<br/> ;Arguments : pattern: Pattern - ''Pattern.'' : properties: String+ - ''Properties.'' ;Examples : <code>Residues().ExecuteIf(lambda p: p.HasAllHostOrganismGenus("X", "Y"))</code> :: ''Returns residues in structures that contain all given properties.'' ---- === HasAllHostOrganismIds === <code>HasAllHostOrganismIds(pattern: Pattern, properties: String+) -> Bool</code><br/> ''Determines if the parent structure contains all given host organism identifiers. The comparison is not case sensitive.''<br/> ;Arguments : pattern: Pattern - ''Pattern.'' : properties: String+ - ''Properties.'' ;Examples : <code>Residues().ExecuteIf(lambda p: p.HasAllHostOrganismIds("7108", "11244"))</code> :: ''Returns residues in structures that contain all given properties.'' ---- === HasAllHostOrganisms === <code>HasAllHostOrganisms(pattern: Pattern, properties: String+) -> Bool</code><br/> ''Determines if the parent structure contains all given host organism names. The comparison is not case sensitive.''<br/> ;Arguments : pattern: Pattern - ''Pattern.'' : properties: String+ - ''Properties.'' ;Examples : <code>Residues().ExecuteIf(lambda p: p.HasAllHostOrganisms("Spodoptera frugiperda", "Mus musculus"))</code> :: ''Returns residues in structures that contain all given properties.'' ---- === HasAllKeywords === <code>HasAllKeywords(pattern: Pattern, properties: String+) -> Bool</code><br/> ''Determines if the parent structure contains all given keywords. The comparison is not case sensitive.''<br/> ;Arguments : pattern: Pattern - ''Pattern.'' : properties: String+ - ''Properties.'' ;Examples : <code>Residues().ExecuteIf(lambda p: p.HasAllKeywords("membrane", "glycoprotein"))</code> :: ''Returns residues in structures that contain all given properties.'' ---- === HasAllOriginOrganismGenus === <code>HasAllOriginOrganismGenus(pattern: Pattern, properties: String+) -> Bool</code><br/> ''Determines if the parent structure contains all given origin organism identifiers. The comparison is not case sensitive.''<br/> ;Arguments : pattern: Pattern - ''Pattern.'' : properties: String+ - ''Properties.'' ;Examples : <code>Residues().ExecuteIf(lambda p: p.HasAllOriginOrganismGenus("X", "Y"))</code> :: ''Returns residues in structures that contain all given properties.'' ---- === HasAllOriginOrganismIds === <code>HasAllOriginOrganismIds(pattern: Pattern, properties: String+) -> Bool</code><br/> ''Determines if the parent structure contains all given origin organism identifiers. The comparison is not case sensitive.''<br/> ;Arguments : pattern: Pattern - ''Pattern.'' : properties: String+ - ''Properties.'' ;Examples : <code>Residues().ExecuteIf(lambda p: p.HasAllOriginOrganismIds("121791", "10090"))</code> :: ''Returns residues in structures that contain all given properties.'' ---- === HasAllOriginOrganisms === <code>HasAllOriginOrganisms(pattern: Pattern, properties: String+) -> Bool</code><br/> ''Determines if the parent structure contains all given origin organism names. The comparison is not case sensitive.''<br/> ;Arguments : pattern: Pattern - ''Pattern.'' : properties: String+ - ''Properties.'' ;Examples : <code>Residues().ExecuteIf(lambda p: p.HasAllOriginOrganisms("Nipah virus", "Mus musculus"))</code> :: ''Returns residues in structures that contain all given properties.'' ---- === HasAnyAuthor === <code>HasAnyAuthor(pattern: Pattern, properties: String+) -> Bool</code><br/> ''Determines if the parent structure contains any of the given authors. The comparison is case sensitive.''<br/> ;Arguments : pattern: Pattern - ''Pattern.'' : properties: String+ - ''Properties.'' ;Examples : <code>Residues().ExecuteIf(lambda p: p.HasAnyAuthor("Holmes", "Watson"))</code> :: ''Returns residues in structures that contain all given properties.'' ---- === HasAnyECNumber === <code>HasAnyECNumber(pattern: Pattern, properties: String+) -> Bool</code><br/> ''Determines if the parent structure contains any of the given Enzymatic Commission number. It is possible to enter just a number prefix without the '.'s. The comparison is not case sensitive.''<br/> ;Arguments : pattern: Pattern - ''Pattern.'' : properties: String+ - ''Properties.'' ;Examples : <code>Residues().ExecuteIf(lambda p: p.HasAnyECNumber("3.2.1.19", "3.3"))</code> :: ''Returns residues in structures that contain all given properties.'' ---- === HasAnyEntitySources === <code>HasAnyEntitySources(pattern: Pattern, properties: String+) -> Bool</code><br/> ''Determines if the parent structure contains any of the given entity sources. The comparison is not case sensitive.''<br/> ;Arguments : pattern: Pattern - ''Pattern.'' : properties: String+ - ''Properties.'' ;Examples : <code>Residues().ExecuteIf(lambda p: p.HasAnyEntitySources("GMO", "Natural", "Synthetic"))</code> :: ''Returns residues in structures that contain all given properties.'' ---- === HasAnyHostOrganism === <code>HasAnyHostOrganism(pattern: Pattern, properties: String+) -> Bool</code><br/> ''Determines if the parent structure contains any of the given host organism names. The comparison is not case sensitive.''<br/> ;Arguments : pattern: Pattern - ''Pattern.'' : properties: String+ - ''Properties.'' ;Examples : <code>Residues().ExecuteIf(lambda p: p.HasAnyHostOrganism("Spodoptera frugiperda", "Mus musculus"))</code> :: ''Returns residues in structures that contain all given properties.'' ---- === HasAnyHostOrganismGenus === <code>HasAnyHostOrganismGenus(pattern: Pattern, properties: String+) -> Bool</code><br/> ''Determines if the parent structure contains any of the given host organism identifierss. The comparison is not case sensitive.''<br/> ;Arguments : pattern: Pattern - ''Pattern.'' : properties: String+ - ''Properties.'' ;Examples : <code>Residues().ExecuteIf(lambda p: p.HasAnyHostOrganismGenus("X", "Y"))</code> :: ''Returns residues in structures that contain all given properties.'' ---- === HasAnyHostOrganismId === <code>HasAnyHostOrganismId(pattern: Pattern, properties: String+) -> Bool</code><br/> ''Determines if the parent structure contains any of the given host organism identifierss. The comparison is not case sensitive.''<br/> ;Arguments : pattern: Pattern - ''Pattern.'' : properties: String+ - ''Properties.'' ;Examples : <code>Residues().ExecuteIf(lambda p: p.HasAnyHostOrganismId("7108", "11244"))</code> :: ''Returns residues in structures that contain all given properties.'' ---- === HasAnyKeyword === <code>HasAnyKeyword(pattern: Pattern, properties: String+) -> Bool</code><br/> ''Determines if the parent structure contains any of the given keywords. The comparison is not case sensitive.''<br/> ;Arguments : pattern: Pattern - ''Pattern.'' : properties: String+ - ''Properties.'' ;Examples : <code>Residues().ExecuteIf(lambda p: p.HasAnyKeyword("membrane", "glycoprotein"))</code> :: ''Returns residues in structures that contain all given properties.'' ---- === HasAnyOriginOrganism === <code>HasAnyOriginOrganism(pattern: Pattern, properties: String+) -> Bool</code><br/> ''Determines if the parent structure contains any of the given origin organism names. The comparison is not case sensitive.''<br/> ;Arguments : pattern: Pattern - ''Pattern.'' : properties: String+ - ''Properties.'' ;Examples : <code>Residues().ExecuteIf(lambda p: p.HasAnyOriginOrganism("Nipah virus", "Mus musculus"))</code> :: ''Returns residues in structures that contain all given properties.'' ---- === HasAnyOriginOrganismGenus === <code>HasAnyOriginOrganismGenus(pattern: Pattern, properties: String+) -> Bool</code><br/> ''Determines if the parent structure contains any of the given origin organism identifierss. The comparison is not case sensitive.''<br/> ;Arguments : pattern: Pattern - ''Pattern.'' : properties: String+ - ''Properties.'' ;Examples : <code>Residues().ExecuteIf(lambda p: p.HasAnyOriginOrganismGenus("X", "Y"))</code> :: ''Returns residues in structures that contain all given properties.'' ---- === HasAnyOriginOrganismId === <code>HasAnyOriginOrganismId(pattern: Pattern, properties: String+) -> Bool</code><br/> ''Determines if the parent structure contains any of the given origin organism identifierss. The comparison is not case sensitive.''<br/> ;Arguments : pattern: Pattern - ''Pattern.'' : properties: String+ - ''Properties.'' ;Examples : <code>Residues().ExecuteIf(lambda p: p.HasAnyOriginOrganismId("121791", "10090"))</code> :: ''Returns residues in structures that contain all given properties.'' ---- === HostOrganismGenus === <code>HostOrganismGenus(pattern: Pattern) -> String</code><br/> ''Returns host organism identifiers of the parent structure separated by a semicolon. If the value is not available, null is returned.''<br/> ;Arguments : pattern: Pattern - ''Pattern.'' ---- === HostOrganismIds === <code>HostOrganismIds(pattern: Pattern) -> String</code><br/> ''Returns host organism identifiers of the parent structure separated by a semicolon. If the value is not available, null is returned.''<br/> ;Arguments : pattern: Pattern - ''Pattern.'' ---- === HostOrganisms === <code>HostOrganisms(pattern: Pattern) -> String</code><br/> ''Returns host organism names of the parent structure separated by a semicolon. If the value is not available, null is returned.''<br/> ;Arguments : pattern: Pattern - ''Pattern.'' ---- === Keywords === <code>Keywords(pattern: Pattern) -> String</code><br/> ''Returns keywords of the parent structure separated by a semicolon. If the value is not available, null is returned.''<br/> ;Arguments : pattern: Pattern - ''Pattern.'' ---- === LatestRevisionDate === <code>LatestRevisionDate(pattern: Pattern) -> Value</code><br/> ''Get the latest revision date of the parent structure. The value has to be compared to the DateTime(year, month, day) object. If the value is not available, null is returned.''<br/> ;Arguments : pattern: Pattern - ''Pattern.'' ;Examples : <code>Residues().ExecuteIf(lambda p: p.LatestRevisionDate() >= DateTime(2008, 1, 1))</code> :: ''Returns residues in structures that satisfy the property.'' ---- === LatestRevisionYear === <code>LatestRevisionYear(pattern: Pattern) -> Integer</code><br/> ''Get the latest revision year of the parent structure. If the value is not available, null is returned.''<br/> ;Arguments : pattern: Pattern - ''Pattern.'' ;Examples : <code>Residues().ExecuteIf(lambda p: p.LatestRevisionYear() == 2006)</code> :: ''Returns residues in structures that satisfy the property.'' ---- === OriginOrganismGenus === <code>OriginOrganismGenus(pattern: Pattern) -> String</code><br/> ''Returns origin organism identifiers of the parent structure separated by a semicolon. If the value is not available, null is returned.''<br/> ;Arguments : pattern: Pattern - ''Pattern.'' ---- === OriginOrganismIds === <code>OriginOrganismIds(pattern: Pattern) -> String</code><br/> ''Returns origin organism identifiers of the parent structure separated by a semicolon. If the value is not available, null is returned.''<br/> ;Arguments : pattern: Pattern - ''Pattern.'' ---- === OriginOrganisms === <code>OriginOrganisms(pattern: Pattern) -> String</code><br/> ''Returns origin organism names of the parent structure separated by a semicolon. If the value is not available, null is returned.''<br/> ;Arguments : pattern: Pattern - ''Pattern.'' ---- === PolymerType === <code>PolymerType(pattern: Pattern) -> String</code><br/> ''Get the polymer type of the structure. Possible values are: NotAssigned, Protein, DNA, RNA, ProteinDNA, ProteinRNA, NucleicAcids, Mixture, Sugar, Other. If the value is not available, null is returned.''<br/> ;Arguments : pattern: Pattern - ''Pattern.'' ;Examples : <code>Residues().ExecuteIf(lambda p: p.PolymerType() == "ProteinDNA")</code> :: ''Returns residues in structures that satisfy the property.'' ---- === ProteinStoichiometry === <code>ProteinStoichiometry(pattern: Pattern) -> String</code><br/> ''Get the protein stoichiometry of the parent structure. Possible values are: NotAssigned, Monomer, Homomer, Heteromer. If the value is not available, null is returned.''<br/> ;Arguments : pattern: Pattern - ''Pattern.'' ;Examples : <code>Residues().ExecuteIf(lambda p: p.ProteinStoichiometry() == "Heteromer")</code> :: ''Returns residues in structures that satisfy the property.'' ---- === ProteinStoichiometryString === <code>ProteinStoichiometryString(pattern: Pattern) -> String</code><br/> ''Get the protein stoichiometry string of the parent structure. If the value is not available, null is returned.''<br/> ;Arguments : pattern: Pattern - ''Pattern.'' ---- === ReleaseDate === <code>ReleaseDate(pattern: Pattern) -> Value</code><br/> ''Get the release date of the parent structure. The value has to be compared to the DateTime(year, month, day) object. If the value is not available, null is returned.''<br/> ;Arguments : pattern: Pattern - ''Pattern.'' ;Examples : <code>Residues().ExecuteIf(lambda p: p.ReleaseDate() >= DateTime(2008, 1, 1))</code> :: ''Returns residues in structures that satisfy the property.'' ---- === ReleaseYear === <code>ReleaseYear(pattern: Pattern) -> Integer</code><br/> ''Get the release year of the parent structure. If the value is not available, null is returned.''<br/> ;Arguments : pattern: Pattern - ''Pattern.'' ;Examples : <code>Residues().ExecuteIf(lambda p: p.ReleaseYear() == 2006)</code> :: ''Returns residues in structures that satisfy the property.'' ---- === Resolution === <code>Resolution(pattern: Pattern) -> Real</code><br/> ''Get the resolution in angstroms of the parent structure. If the value is not available, null is returned.''<br/> ;Arguments : pattern: Pattern - ''Pattern.'' ;Examples : <code>Residues().ExecuteIf(lambda p: p.Resolution() <= 2.4)</code> :: ''Returns residues in structures that satisfy the property.'' ---- === Weight === <code>Weight(pattern: Pattern) -> Real</code><br/> ''Get the weight of the molecule in kDa. If the value is not available, null is returned.''<br/> ;Arguments : pattern: Pattern - ''Pattern.'' ;Examples : <code>Residues().ExecuteIf(lambda p: p.Weight() > 100000.0)</code> :: ''Returns residues in structures that satisfy the property.'' <br/>
Summary:
Please note that all contributions to WebChemistry Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
WebChemistry Wiki:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Search
Search
Editing
PatternQuery:Language Reference
(section)
Add topic