Code Search for Developers
 
 
  

URIservices.php from eXtensible Genome Data Broker at Krugle


Show URIservices.php syntax highlighted

<?php
if(empty($SITEDEF_H)){require('SITEDEF.php');}
if(empty($PARAM_H)){require('getPARAM.php');}
require('SSI_GDBprep.php');
virtual("${CGIPATH}SSI_GDBgui.pl/TWO_COLUMN_HEADER/" . $SSI_QUERYSTRING);
?>

<STYLE TYPE="text/css">
.req_param {color:#336666; background:yellow; font:bold 1em monotype;}
.opt_param {color:#336666; background:lightgrey; font:oblique 1em monotype;}

DIV#abstract {width:95%;}
  DIV#abstract P {font:100% monospace;}

DIV#sidebar_param_values {float:right; margin:5px -1px 2px 5px; width:33%; border:2px solid #336666; background:#CCCC99;}
  DIV#sidebar_param_values H1 {text-align:center; padding:5px; margin:0px 0px 2px 0px; background:#999966; color:#FFFFFF; font:bold 100% stencil,cursive;}
  DIV#sidebar_param_values H2 {margin:0px 2px 2px 10px; font:bold 1em monotype;}
  DIV#sidebar_param_values H3 {margin:0px 2px 2px 20px; font:bold .75em sans-serif;}
  DIV#sidebar_param_values P {margin:0px 2px 2px 20px; font:.75em sans-serif;}
  DIV#sidebar_param_values TABLE {margin:0px 2px 20px 30px; font:.75em sans-serif;}
  DIV#sidebar_param_values TABLE TD.value {width:50px;}
  DIV#sidebar_param_values TABLE TD {padding:2px 2px 2px 2px; border-left:1px dashed maroon; border-right:1px dashed maroon; vertical-align:top; text-align:center;}

DIV#methods {text-align:justify;}
  DIV#methods H2 {padding:1px 5px; border:1px solid maroon; margin-bottom:2px; margin-right:34%; background:#336666; color:#FFFFFF; text-align:left; font:bold 1em stencil,cursive;}
  DIV#methods H3 {padding:1px 5px; border:1px solid maroon; margin-bottom:2px; margin-right:34%; color:#FFFFFF; text-align:center; font:bold 1em serif;}
  DIV#methods P {margin-top:2px; margin-left:25px;}
</STYLE>


<DIV ID="mainWLS">

<DIV ID='abstract'>
<P>Linking to pages on the AtGDB website is both encouraged and appreciated. Described
 below are accepted methods for forming URIs to link to a variety of AtGDB content.
 See the "listing of parameter values" sidebar for a description of values for any CGI
 parameters found in these examples. Required parameters are shown in
 <SPAN CLASS='req_param'>yellow</SPAN>. Optional parameters are shown in
 <SPAN CLASS='opt_param'>grey</SPAN>.
</P>
</DIV>

<DIV ID='sidebar_param_values'>
 <H1>Listing of Parameter Values</H1>

 <H2>chr</H2>
 <P CLASS='param_desc'>The chromosome</P>
 <H3>value(s)</H3>
 <TABLE CLASS='param_values'>
 <TR><TD CLASS='value'>(1-5)</TD><TD>Chromosome 1 thru 5</TD></TR>
 </TABLE>

 <H2>dbid</H2>
 <P CLASS='param_desc'>The genome assembly version</P>
 <H3>value(s)</H3>
 <TABLE CLASS='param_values'>
	    <?php
	    for($x=0;$x<sizeof($DBver);$x++){
	      echo " <TR><TD CLASS='value'>${x}</TD><TD>" . $DBver[$x][DBtag] . "</TD></TR>";
	    }
	    ?>
 </TABLE>

 <H2>id</H2>
 <P CLASS='param_desc'>The query identifier for a search</P>
 <H3>value(s)</H3>
 <TABLE CLASS='param_values'>
 <TR><TD CLASS='value'><I>Identifier</I></TD><TD>Any sequence identifier such as a gi number
 or a gene model name. Usage is dependent on context.</TD></TR>
 </TABLE>

 <H2>l_pos</H2>
 <P CLASS='param_desc'>The left base boundary of a chromosome region. Requires parameter chr.</P>
 <H3>value(s)</H3>
 <TABLE CLASS='param_values'>
 <TR><TD CLASS='value'><I>any number</I></TD><TD>Any valid base number for the chromosome represented
 by parameter 'chr'</TD></TR>
 </TABLE>

 <H2>r_pos</H2>
 <P CLASS='param_desc'>The right base boundary of a chromosome region. Requires parameter chr.</P>
 <H3>value(s)</H3>
 <TABLE CLASS='param_values'>
 <TR><TD CLASS='value'><I>any number</I></TD><TD>Any valid base number for the chromosome represented
 by parameter 'chr'</TD></TR>
 </TABLE>

<!--
 <H2>sMETHOD</H2>
 <P CLASS='param_desc'>The search method. Requires parameter searchSTR.</P>
 <H3>value(s)</H3>
 <TABLE CLASS='param_values'>
 <TR><TD CLASS='value'>quick</TD><TD>Heuristic search based on identifier format</TD></TR>
 <TR><TD CLASS='value'>GBank</TD><TD>Search GenBank annotation records only (uses gene model names e.g. At2g42240)</TD></TR>
 <TR><TD CLASS='value'>ATcdna</TD><TD>Search cDNA records only (uses gi number of cDNA e.g. 28207153)</TD></TR>
 <TR><TD CLASS='value'>ATest</TD><TD>Search EST records only (uses gi number of EST e.g. 40787620)</TD></TR>
 </TABLE>
-->

 </DIV>

<DIV ID='methods'>
 <H2>Linking to Genomic Context Regions</H2>
 <H3><A TARGET='_blank' HREF=<?php echo "'${CGIPATH}findRegion.pl?dbid=0&id=At2g42240'"; ?>>
 <?php echo "http://www.plantgdb.org${CGIPATH}findRegion.pl?"; ?><BR>
 <SPAN CLASS='req_param'>id</SPAN>=At2g42240&<SPAN CLASS='opt_param'>dbid</SPAN>=0</A></H3>
 <P CLASS='link_description'>This URI directs to the genome context region containing
 the sequence or annotation identified in the required searchSTR parameter. The
 optional dbid parameter allows for the creation of URIs directed to previous
 (alternative) genome assembly versions.
 </P>
 <H3><A TARGET='_blank' HREF=<?php echo "'${CGIPATH}getRegion.pl?dbid=0&chr=2&l_pos=17603963&r_pos=17606215'"; ?>>
 <?php echo "http://www.plantgdb.org${CGIPATH}getRegion.pl?"; ?><BR>
 <SPAN CLASS='req_param'>chr</SPAN>=2&<SPAN CLASS='req_param'>l_pos</SPAN>=17603963&<SPAN CLASS='req_param'>r_pos</SPAN>=17606215&<SPAN CLASS='opt_param'>dbid</SPAN>=0</A></H3>
 <P CLASS='link_description'>This URI directs to the genome context region contained
 between the start and end parameter values. The optional dbid parameter allows for
 the creation of URIs directed to regions of previous (alternative) genome assembly
 versions.
 </P>
 
 <H2>Linking to Data Source Records<BR>(Annotations, ESTs, cDNAs, ...)</H2>
 <H3><A TARGET='_blank' HREF=<?php echo "'${CGIPATH}findRecord.pl?dbid=0&id=At2g42240'"; ?>>
 <?php echo "http://www.plantgdb.org${CGIPATH}findRecord.pl?"; ?><BR>
 <SPAN CLASS='req_param'>id</SPAN>=At2g42240&<SPAN CLASS='opt_param'>dbid</SPAN>=0</A></H3>
 <P CLASS='link_description'>This URI directs to the record page for an individual
 data source. On the record page, you will find useful information and links relevant
 to this data object as well as the output of various pre-run utilities (such as the
 GeneSeqer spliced alignment of an expressed sequence data object with the genome)
 The optional dbid parameter allows for the creation of URIs directed to archival records
 from previous genome assembly versions. 
 </P>
 
</DIV>
</DIV>

<?php
require('SSI_GDBprep.php');
virtual("${CGIPATH}SSI_GDBgui.pl/STANDARD_FOOTER/" . $SSI_QUERYSTRING);
?>





See more files for this project here

eXtensible Genome Data Broker

The xGDB project provides scientists with an online portal for the integration of diverse sources of genomic data. Portals allow researchers to effectively target a specific scientific question by customizing their interactions with available data.

Project homepage: http://sourceforge.net/projects/xgdb
Programming language(s): JavaScript,Perl,PHP
License: other

  Annotation/
    Showcase/
      03nov01/
        CDNA.png
        EST.png
        GBK.png
        UCA.png
        description.html
        ruler.png
      04mar11/
        CDNA.png
        EST.png
        GBK.png
        UCA.png
        description.html
        ruler.png
      GeneModelMerge/
        CDNA.png
        EST.png
        GBK.png
        UCA.png
        index.php
        ruler.png
      GeneModelSplit/
        CDNA.png
        EST.png
        GBK.png
        UCA.png
        index.php
        ruler.png
    gaeval/
      examples/
        altspl.png
        amb3.png
        amb5.png
        att.png
        cov0.png
        cov1.png
        cov2.png
        cov3.png
        cov4.png
        fission.png
        fussion.png
        ovext.png
        unext.png
      GLquery.css
      GLquery.js
      cps.php
      fig1.png
      fig2.png
      figa.png
      gaeval_lists.php
      index.php
    ATchr2.aln
    ATchr3.aln
    ATchr5.aln
    UCAlist.php
    index.php
    vector.php
  Interns/
    spring2004/
      Anna_pic.jpg
      DNA Re1.gif
      DNA Re2.gif
      Exampl3.gif
      Exampl4.gif
      Exampl5.gif
      Exampl6.gif
      Exampl7.gif
      Main P1.jpg
      Xin_pic.jpg
      expression.gif
      index.php
      replication.jpg
      transcription.gif
      transcription_mov.gif
      watson.gif
    index.php
  prj/
    BMBR03/
      IMM/
      VAR2/
      greenwhite_paper.gif
      help.html
      index.html
      list
      sm.png
    BXZ03B/
      AraSet/
      OsBAC/
      atac/
      img/
      index.php
      xc
    RHMB05PP/
      figure_S1.jpg
      figure_S1.php
      index.php
      method.php
      table_S1.php
      table_S2.php
      table_S3.php
      table_S4.php
    TBWB04/
      PLC/
      AtOs-Human-PLC-NJtree.pdf
      AtOs-Human-PLC-distances.txt
      AtOs-Human-PLC.aln
      AtOs-Human-PLC.fas
      Plant-Human-PLC-Matching-NJtree.pdf
      Plant-Human-PLC-Matching-distances.txt
      Plant-Human-PLC-Matching.aln
      Plant-Human-PLC-Matching.fas
      Plant-Human-PLC-NJtree.pdf
      Plant-Human-PLC-distances.txt
      Plant-Human-PLC.aln
      Plant-Human-PLC.fas
      index.php
      plc.png
    ZB03NAR/
      U12.php
      U12.png
      U12_at_ax_acc_new.gif
      U12_at_ax_branch_new.gif
      U12_at_ax_donor_new.gif
      U12_gt_ag_acc_new.gif
      U12_gt_ag_branch_new.gif
      U12_gt_ag_donor_new.gif
      U12_splice_signals.php
      index.php
      ins
      multi_align_nhx.html
    ZSB03PP/
      algnmnts/
      alternativeSplicing/
      data/
      img/
      non_canonical/
      novel/
      ESTclustering.php
      downstreamUTRintrons.php
      extendedCoverage.php
      geneAnnotationVScdna.php
      geneAnnotationVSest.php
      index.php
      miniexons.php
      ncSpliceSites.php
      novelGenes.php
      u12Introns.php
      upstreamUTRintrons.php
      virtualNorthern.php
    index.php
  tmp/
  tutorial/
    CHR5_GSQexample/
    HOWTO/
    lesson/
    GSQ_ATGDB.php
    UCA_ATGDB.php
    index.php
    uca_tutorial.1.gif
    uca_tutorial.2.gif
    uca_tutorial.3.gif
    uca_tutorial.4.gif
  GDBstyle.css
  URIservices.php
  download.php
  index.php
  resource.php
  site_map.php