feature;
// expand the feature object to include the featureloc records.  there are
// two foreign key relationships with featureloc and feature (srcefeature_id and
// feature_id).  This will expand both
$feature = tripal_core_expand_chado_vars($feature,'table','featureloc');
// get the featurelocs. if only one featureloc exists then we want to convert
// the object into an array, otherwise the value is an array
$ffeaturelocs = $feature->featureloc->feature_id;
if (!$ffeaturelocs) {
   $ffeaturelocs = array();
} elseif (!is_array($ffeaturelocs)) { 
   $ffeaturelocs = array($ffeaturelocs); 
}
$sfeaturelocs = $feature->featureloc->srcfeature_id;
if (!$sfeaturelocs) {
   $sfeaturelocs = array();
} elseif (!is_array($sfeaturelocs)) { 
   $sfeaturelocs = array($sfeaturelocs); 
}
?>
  Alignments
  name;?> is aligined to the following
   0){ ?>
  
  
    There are no alignments
 
  
  The following are aligned to name;?>
   0){ ?>
  
  
    There are no alignments