UniGene: EST cluster record
1
Starting code
This is the PHP code used by this example.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | public function parseUnigeneRecord() { $parser = DatabaseParserFactory::createParser("UNIGENE"); $parser->parseDataFile(file($this->getParameter('kernel.project_dir') . '/public/data/sample.unigene')); return $this->render('default/parseUnigeneRecord.html.twig', [ 'clusterId' => $parser->getClusterId(), 'recordTitle'=> $parser->getTitle(), 'expression' => $parser->getExpression(), 'protSims' => $parser->getProtSims(), 'seqCount' => $parser->getSeqCount(), ] ); } |
2
Result
Result returned by BioPHP for the demonstration data.
Parsed record
| Cluster id | Sbi.1 |
|---|---|
| Title | ESTs, Moderately similar to putative pyrophosphate-fructose-6-phosphate 1-phosphotransferase [Arabidopsis thaliana] [A.thaliana] |
| Expression sites |
|
| Protein similarities |
|
| Sequence count | 12 |
The code above is the one actually executed by this page. Find the other examples in the left-hand column, or the tools in BioTools.