Documentation

ParsePdbstrManager implements ParseDatabaseInterface

FinalYes

Class ParsePdbstrManager A PDBSTR entry describes one member of a structural family in a single MEMBER line, so this class exposes plain scalars rather than the Sequence/Feature entities of ParseDbAbstractManager. Not to be confused with ParsePdbManager, which reads the atomic coordinate files themselves.

Tags
author

Amélie DUVERNET aka Amelaye amelieonline@gmail.com

Table of Contents

Interfaces

ParseDatabaseInterface
Interface ParseDatabaseInterface

Properties

$createDate  : string
$entryGroup  : string
$entryId  : string
$length  : int
$molType  : string
$updDate  : string

Methods

__construct()  : mixed
Constructor.
getCreateDate()  : string
getEntryGroup()  : string
getEntryId()  : string
Extracts the identifier uniquely naming a PDBSTR entry.
getFormat()  : string
The name this format is known by in the collection records and in DatabaseParserFactory.
getLength()  : int
getMemberId()  : string
The identifier of the family member described by the MEMBER line.
getMolType()  : string
getUpdDate()  : string
isEntryEnd()  : bool
Tells whether a line closes a PDBSTR entry.
isEntryStart()  : bool
Tells whether a line opens a new PDBSTR entry.
parseDataFile()  : Sequence
Parses a PDBSTR data file and populates this manager's fields.

Properties

Methods

getEntryId()

Extracts the identifier uniquely naming a PDBSTR entry.

public static getEntryId(array<string|int, mixed> $aFlines, string $sLine) : string
Parameters
$aFlines : array<string|int, mixed>

The whole file, buffered

$sLine : string

The line opening the entry

Return values
string

getFormat()

The name this format is known by in the collection records and in DatabaseParserFactory.

public static getFormat() : string
Return values
string

getMemberId()

The identifier of the family member described by the MEMBER line.

public getMemberId() : string
Return values
string

isEntryEnd()

Tells whether a line closes a PDBSTR entry.

public static isEntryEnd(string $sLine) : bool
Parameters
$sLine : string

The line to analyze

Return values
bool

isEntryStart()

Tells whether a line opens a new PDBSTR entry.

public static isEntryStart(string $sLine) : bool
Parameters
$sLine : string

The line to analyze

Return values
bool

parseDataFile()

Parses a PDBSTR data file and populates this manager's fields.

public parseDataFile(array<string|int, mixed> $aFlines) : Sequence

All six data items of a MEMBER line are mandatory, as in the original BioPHP parser. Example: MEMBER 1YIC_01 108 PROTEIN 1YIC 97/02/18 97/07/23

Parameters
$aFlines : array<string|int, mixed>

The lines the script has to parse

Tags
throws
Exception
Return values
Sequence

$oSequence

On this page

Search results