[Bio] / FigTutorial / code_to_invoke_compare_regions.html Repository:
ViewVC logotype

View of /FigTutorial/code_to_invoke_compare_regions.html

Parent Directory Parent Directory | Revision Log Revision Log

Revision 1.1 - (download) (as text) (annotate)
Wed Nov 1 22:23:01 2006 UTC (13 years, 5 months ago) by overbeek
Branch: MAIN
CVS Tags: rast_rel_2014_0912, rast_rel_2008_06_18, rast_rel_2008_06_16, rast_rel_2008_07_21, rast_rel_2010_0928, rast_2008_0924, rast_rel_2008_09_30, rast_rel_2010_0526, rast_rel_2014_0729, rast_rel_2009_05_18, rast_rel_2009_0925, rast_rel_2010_1206, rast_rel_2010_0118, rast_rel_2009_02_05, rast_rel_2011_0119, rast_rel_2008_12_18, rast_rel_2008_10_09, rast_release_2008_09_29, rast_rel_2008_04_23, rast_rel_2008_08_07, rast_rel_2009_07_09, rast_rel_2010_0827, myrast_33, rast_rel_2011_0928, rast_rel_2008_09_29, rast_rel_2008_10_29, rast_rel_2009_03_26, rast_rel_2008_11_24, HEAD
how to compare regions

<h1>How to Create a Comparison of Chromosomal Regions for a Set of PEGs</h1>
There are points where you might wish to get code to display regions surrounding a set of PEGs.  If you 
find yourself in that position try the following:

# @pegs should contain the list of PEGs.

$parms = 'sim_cutoff=1.0e-5&pinned_to=' . join('&pinned_to=',@pegs);
$ENV{'QUERY_STRING'} = $parms;
@out = `./chromosomal_clusters.cgi 2> /dev/null`;
for ($i=$#out; ($i >= 0) && ($out[$i] !~ /^Content-Type/); $i--) {}
At this point <b>@out</b> should contain the HTML required to show the regions.

MCS Webmaster
ViewVC Help
Powered by ViewVC 1.0.3