Documentation ¶
Overview ¶
Package pdb/cmmn has common definitions for coordinates and pdb files
Index ¶
Constants ¶
View Source
const ( FileSrc byte = iota HTTPSrc )
Does our data come from a file or http source ?
Variables ¶
View Source
var BrokenResNum int = -9999
View Source
var BrokenXyz = Xyz{math.MaxFloat32, 0, -math.MaxFloat32}
Functions ¶
This section is empty.
Types ¶
type Chain ¶
type Chain struct { ChainID string // Name, like "A" or "B" MdlNum int16 // Model number NumLbl []int // residue numbers from file. Not real indices InsCode []byte // Insertion code CoordSet CoordSet }
A simple structure for one model, one chain and a set of xyz coordinates
type ChnSl ¶
type ChnSl []Chain
This is obviously just a slice of chains, but we have to define a type if we want to define a method on it
func (ChnSl) ChainNames ¶
ChainNames returns a slice with the names of the chains.
Click to show internal directories.
Click to hide internal directories.