Documentation
¶
Overview ¶
Package dat (Database)
Package dat (Database)
Index ¶
- func Classify(s, decoyTag string) dbtype
- func GetOrganismID(temp string, uniprotID string) (string, string)
- func ParseFile(filename string, entriesChunk chan<- []fas.FastaEntry) int
- func Run(m met.Data) met.Data
- type Base
- func (d *Base) Create(temp, add, enz, tag string, crap, noD, cTag bool, ids map[string]string)
- func (d *Base) Deploy(temp string)
- func (d *Base) Fetch(uniprotID, proteomeID, temp string, iso, rev bool)
- func (d *Base) ProcessDBAndSerialize(filename, decoyTag string, verbose bool)
- func (d *Base) Restore()
- func (d *Base) RestoreWithPath(p string)
- func (d *Base) Save(home, temp, ids, tag string, isRev, hasIso, noD, Crap bool) string
- func (d *Base) Serialize()
- type Record
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Classify ¶
func Classify(s, decoyTag string) dbtype
Classify determines what kind of database originated the given sequence
func GetOrganismID ¶
GetOrganismID maps the UniprotID to organismID
Types ¶
type Base ¶
type Base struct { FileName string UniProtDB string CrapDB string Prefix string Proteomes string DownloadedFiles []string Records []Record RecordsLen int NParts uint PartsLen []int TaDeDB map[string]string }
Base main structure
func (*Base) ProcessDBAndSerialize ¶
ProcessDB_and_serialize determines the type of sequence and sends it to the appropriate parsing function
func (*Base) Restore ¶
func (d *Base) Restore()
Restore reads philosopher results files and restore the data sctructure
func (*Base) RestoreWithPath ¶
RestoreWithPath reads philosopher results files and restore the data sctructure
Click to show internal directories.
Click to hide internal directories.