|
For our user community be they scientists who are actively depositing the results of their research in TreeBASE, or be they phylogenetic tree enthusiasts we offer a mechanism for creating direct hyperlinks to specific records. For example, a researchers on-line curriculum vitae might include hyperlinks to TreeBASE along with the citations in his or her publication list.
Connections to TreeBASE can be made via an URL, in which commands are passed using the "GET" protocol; or they can be made via a web page <form> in which case they are passed using either the "GET" or "POST" protocol. Below are examples of four different ways of referencing TreeBASE data, shown using both URL and <form> methods.
Link by Taxon Name
Given a taxon name (e.g. Candida albicans), display a list of all names in TreeBASE that start with this name. Start by replacing any spaces in the taxon name with plus (+) signs, and enter this result into an URL, as follows:
http://www.treebase.org/cgi-bin/treebase.pl?Name=Candida+albicans&Submit=Taxon+Name
Alternatively, create a form area:
<form action="http://www.treebase.org/cgi-bin/treebase.pl" method="post" name="Taxon Names">
Enter taxon name: <input type="text" name="Name" value="Candida albicans" size="50" maxlength="50">
<p><input type="submit" name="Submit" value="Taxon Name"></p>
</form>
Link by Taxon ID Number
Given a taxon ID number (e.g. T3692), display a list of all studies that have this taxon in at least one trees. Edit the URL as follows:
http://www.treebase.org/cgi-bin/treebase.pl?TaxonID=T3692&Submit=Taxon+ID
Alternatively, create a form area:
<form action="http://www.treebase.org/cgi-bin/treebase.pl" method="post" name="Taxon Names">
Enter taxon ID: <input type="text" name="TaxonID" value="T3692" size="15" maxlength="50">
<p><input type="submit" name="Submit" value="Taxon ID"></p>
</form>
Link by Study ID Number
Given a study ID number (e.g. S644), display the citation, analyses, matrices, and trees associated with this study. Edit the URL as follows:
http://www.treebase.org/cgi-bin/treebase.pl?StudyID=S644&Submit=Study+ID
Alternatively, create a form area:
<form action="http://www.treebase.org/cgi-bin/treebase.pl" method="post" name="Taxon Names">
Enter study ID: <input type="text" name="StudyID" value="S644" size="10" maxlength="15">
<p><input type="submit" name="Submit" value="Study ID"></p>
</form>
Link by Tree ID Number
Show the tree corresponding to the given ID number (e.g. Tree775). Edit the URL as follows:
http://www.treebase.org/cgi-bin/treebase.pl?TreeID=Tree775&Submit=Show+Tree
Alternatively, create a form area:
<form action="http://www.treebase.org/cgi-bin/treebase.pl" method="post" name="Taxon Names">
Enter study ID: <input type="text" name="TreeID" value="Tree775" size="15" maxlength="15">
<p><input type="submit" name="Submit" value="Show Tree"></p>
</form>
|