pgb_liv\php_ms\Reader\FastaEntry\PeffFastaEntry

FASTA entry parser to map generic PEFF headers to protein elements

Synopsis

class PeffFastaEntry implements FastaInterface {
}

Hierarchy

Coverage

Methods 0% 0 / 4
Lines 0% 0 / 86

Violations

PHPMessDetector

Line Rule Message
60 StaticAccess Avoid using static access to class '\pgb_liv\php_ms\Core\Database\DatabaseFactory' in method 'getProtein'.
89 - 146 CyclomaticComplexity The method parseAttributes() has a Cyclomatic Complexity of 20. The configured cyclomatic complexity threshold is 10.
92 StaticAccess Avoid using static access to class '\pgb_liv\php_ms\Core\Organism' in method 'parseAttributes'.
110 StaticAccess Avoid using static access to class '\pgb_liv\php_ms\Core\Gene' in method 'parseAttributes'.

Methods

private

  • parseAttributes() — Parses the attribute array and inputs the data into the protein
  • parseModifications() — Parses ModResPsi/ModResUnimod element and returns the parsed modifications

public

History