hPDB-0.99: Parser, print and manipulate structures in PDB file format.

Safe HaskellNone

Bio.PDB.Fasta

Synopsis

Documentation

resname2fastacode :: String -> CharSource

Dictionary mapping three-letter PDB residue code to a single-letter FASTA code.

fastacode2resname :: Char -> StringSource

Dictionary mapping single-letter FASTA standard aminoacid code to a PDB residue name

defaultResname :: StringSource

Three-letter PDB code for an unknown type of residue.

defaultFastaCode :: CharSource

One-letter aminoacid code for an unknown type of residue.

fastaSequence :: Iterable a Residue => a -> [Char]Source

Converts an Iterable yielding Residues into a list of aminoacid one-character codes.

fastaGappedSequence :: Iterable a Residue => a -> [Char]Source

Converts an Iterable yielding Residues into a list of aminoacid one-character codes.