Difference between revisions of "Tutorial:Using regular expression: Selecting sequence motifs of a Chain"
From MSL-Libraries
Jump to navigationJump to searchLine 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. | ||
− | <font color="red"> This tutorial is in progress, there may be | + | <font color="red"> This tutorial is in progress, there may be missing example files, source files or bugs in the code.</font> |
[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:25, 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 missing example files, source files or bugs in the code.
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