Difference between revisions of "Tutorial:Using regular expression: Selecting sequence motifs of a Chain"

From MSL-Libraries
Jump to navigationJump to search
(Created page with 'This is an example on how to select sequence motifs from '''Chain]''' objects. A '''[[MSL Objects:Chain|Chain object''' versus a '''[[MSL Objects:System|Sy…')
 
Line 1: Line 1:
This is an example on how to select sequence motifs from '''[[MSL Objects:Chain|Chain]''' objects.  A '''[[MSL Objects:Chain|Chain object]]''' versus a '''[[MSL Objects:System|System object]]''' is used because regular expressions can not span across chains.
+
This is an example on how to select sequence motifs from '''[[MSL Objects:Chain|Chain]]''' objects.  A '''[[MSL Objects:Chain|Chain object]]''' versus a '''[[MSL Objects:System|System object]]''' is used because regular expressions can not span across chains.
  
{| border="0" cellpadding="2" style="background:#FFFF99"
+
<font color="red"> This tutorial is in progress, there may be errors.</font>
å|
 
'''NOTE:''' This tutorial is in progress, there may be errors.
 
|}
 
  
 
[http://mslib.svn.sourceforge.net/viewvc/mslib/trunk/examples/example_regular_expressions.cpp?view=markup Complete source of example_regular_expressions.cpp]
 
[http://mslib.svn.sourceforge.net/viewvc/mslib/trunk/examples/example_regular_expressions.cpp?view=markup Complete source of example_regular_expressions.cpp]

Revision as of 22:24, 31 March 2010

This is an example on how to select sequence motifs from Chain objects. A Chain object versus a System object is used because regular expressions can not span across chains.

This tutorial is in progress, there may be errors.

Complete source of example_regular_expressions.cpp

To compile

% make bin/example_regular_expresssions

To run the program

Go to the main directory and run the command (note, the location of the exampleFiles subdirectory needs to be provided as an argument)

% bin/example_regularExpressions exampleFiles/example0004.pdb

Program description


Back to the tutorial page