featureloc_sequences * */ $feature = $variables['node']->feature; // we don't want to get the sequence for traditionally large types. They are // too big, bog down the web browser, take longer to load and it's not // reasonable to print them on a page. $residues =''; if(strcmp($feature->type_id->name,'scaffold') !=0 and strcmp($feature->type_id->name,'chromosome') !=0 and strcmp($feature->type_id->name,'supercontig') !=0 and strcmp($feature->type_id->name,'pseudomolecule') !=0) { $feature = tripal_core_expand_chado_vars($feature,'field','feature.residues'); $residues = $feature->residues; } // get the sequence derived from alignments $feature = $variables['node']->feature; $featureloc_sequences = $feature->featureloc_sequences; if ($residues or count($featureloc_sequences) > 0) { ?>
0){ foreach($featureloc_sequences as $src => $attrs){ print $attrs['formatted_seq']; } } // add in the residues if they are present if ($residues) { ?>
",$feature->residues); ?>