EPD: Eukaryotic Promoter Database 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 16 17 | public function parseEpdRecord() { $parser = DatabaseParserFactory::createParser("EPD"); $parser->parseDataFile(file($this->getParameter('kernel.project_dir') . '/public/data/sample.epd')); return $this->render('default/parseEpdRecord.html.twig', [ 'entryName' => $parser->getEntryName(), 'dataClass' => $parser->getDataClass(), 'taxDiv' => $parser->getTaxDiv(), 'accessions' => $parser->getAccessions(), 'createDate' => $parser->getCreateDate(), 'description'=> $parser->getDescription(), 'comments' => $parser->getComments(), ] ); } |
2
Result
Result returned by BioPHP for the demonstration data.
Parsed record
| Entry name | HS_ACHA_1 |
|---|---|
| Data class | standard |
| Taxonomic division | HUM |
| Accessions |
|
| Create date | 15-JUN-2001 |
| Description | Homo sapiens acetylcholine receptor alpha subunit promoter region. |
| Comments | Transcription start site mapped by primer extension. |
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.