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 nameHS_ACHA_1
Data classstandard
Taxonomic divisionHUM
Accessions
  • 0 : EP11001
  • 1 : EP11002
Create date15-JUN-2001
DescriptionHomo sapiens acetylcholine receptor alpha subunit promoter region.
CommentsTranscription 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.