Package secblast

import "github.com/TuftsBCB/secblast"
Overview
Index
Subdirectories

Overview ▾

type CatID

type CatID int

type Categories

type Categories struct {
    CL CatID
    CF CatID
    SF CatID
    FA CatID
    DM CatID
    SP CatID
    PX CatID
}

type Domain

type Domain struct {
    ID    DomainID
    PdbID string
    Chain byte
    Categories
}

type DomainID

type DomainID string

type Domains

type Domains []Domain

func (Domains) Len

func (ds Domains) Len() int

func (Domains) Less

func (ds Domains) Less(i, j int) bool

func (Domains) Swap

func (ds Domains) Swap(i, j int)

type Dssp

type Dssp struct {
    SecSeqs map[byte]*seq.Sequence
}

func OpenDssp

func OpenDssp(name string, r io.Reader, seqMap SequenceMapper) (*Dssp, error)

type Scop

type Scop struct {
    Domains       map[DomainID]Domain
    Superfamilies map[CatID][]DomainID
}

func NewScop

func NewScop(r io.Reader) (*Scop, error)

func (*Scop) AllDomains

func (s *Scop) AllDomains() []Domain

type SequenceMapper

type SequenceMapper func(seq.Residue) seq.Residue
var (
    Id          SequenceMapper = _Id
    ThreeStates                = _ThreeStates
)

Subdirectories

Name      Synopsis
..
make-secblastdb