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 idSbi.1
TitleESTs, Moderately similar to putative pyrophosphate-fructose-6-phosphate 1-phosphotransferase [Arabidopsis thaliana] [A.thaliana]
Expression sites
  • 0 : Embryos germinated for 24 hr
  • 1 : 10- to 14-day-old light-grown seedlings
  • 2 : Leaves
Protein similarities
  • 0 : ORG=Arabidopsis thaliana; PROTGI=15221156; PROTID=ref:NP_172664.1; PCT=79.41; ALN=68
Sequence count12

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.