Versions in this module Expand all Collapse all v1 v1.0.2 Jan 23, 2019 Changes in this version + const RidPollLimit + var ErrMissingRid = errors.New("blast: missing RID/RTOE field") + var ErrMissingStatus = errors.New("blast: missing Status field") + var ErrNoRidProvided = errors.New("blast: no RID provided") + var Limit = ncbi.NewLimiter(3 * time.Second) + var URL = ncbi.Util("http://www.ncbi.nlm.nih.gov/blast/Blast.cgi") + func RequestWebReadCloser(page string, p *WebParameters, tool, email string) (io.ReadCloser, error) + type ErrBadRequest string + func (e ErrBadRequest) Error() string + type GetParameters struct + AlignmentView string + Alignments int + Descriptions int + EntrezLinksNewWindow bool + ExpectHigh float64 + ExpectLow float64 + FormatEntrezQuery string + FormatObject string + FormatType string + NcbiGi bool + ResultsFile bool + Service string + ShowOverview *bool + type Hit struct + Accession string + Def string + Hsps []Hsp + Id string + Len int + N int + type Hsp struct + AlignLen *int + BitScore float64 + Density *int + EValue float64 + FormatMidline []byte + HitFrame *int + HitFrom int + HitTo int + HspGaps *int + HspIdentity *int + HspPositive *int + N int + PhiPatternFrom *int + PhiPatternTo *int + QueryFrame *int + QueryFrom int + QuerySeq []byte + QueryTo int + Score float64 + SubjectSeq []byte + type Info string + func RequestInfo(target string, tool, email string) (*Info, error) + type Iteration struct + Hits []Hit + Message *string + N int + QueryDef *string + QueryId *string + QueryLen *int + Statistics *Statistics + type Output struct + Database string + Iterations []Iteration + MegaStatistics *Statistics + Parameters Parameters + Program string + QuerSeq *string + QueryDef string + QueryId string + QueryLen int + Reference string + Version string + type Parameters struct + EntrezQuery *string + Expect float64 + Filter *string + GapExtend int + GapOpen int + Include *float64 + Match *int + MatrixName *string + Mismatch *int + PhiPattern *string + type PutParameters struct + AutoFormat string + CompositionBasedStatistics bool + Database string + DbGeneticCode []int + EndPoints bool + EntrezQuery string + Expect *float64 + Filter string + GapCosts [2]int + GeneticCode []int + HitListSize int + IThresh float64 + LCaseMask bool + Layout string + MatrixName string + Megablast bool + NuclPenalty int + NuclReward int + OtherAdvanced string + PercIdent int + PhiPattern string + Program string + Pssm string + QueryBelieveDefline bool + QueryFile string + QueryFrom int + QueryTo int + ResultsFile bool + SearchspEff int + Service string + Threshold int + UngappedAlignment bool + WordSize int + type Rid struct + func NewRid(rid string) *Rid + func Put(query string, p *PutParameters, tool, email string) (*Rid, error) + func (r *Rid) Delete(tool, email string) error + func (r *Rid) GetOutput(p *GetParameters, tool, email string) (*Output, error) + func (r *Rid) GetReadCloser(p *GetParameters, tool, email string) (io.ReadCloser, error) + func (r *Rid) Ready() <-chan time.Time + func (r *Rid) SearchInfo(tool, email string) (*SearchInfo, error) + func (r *Rid) String() string + func (r *Rid) TimeOfExecution() time.Duration + type SearchInfo struct + HaveHits bool + Status string + func (s *SearchInfo) String() string + type Statistics struct + DbLen int64 + DbNum int + EffSpace float64 + Entropy float64 + HspLen int + Kappa float64 + Lambda float64 + type WebParameters struct + AlignmentView string + Alignments int + AutoFormat string + Cmd string + CompositionBasedStatistics bool + Database string + DbGeneticCode []int + Descriptions int + DocType string + EndPoints bool + EntrezLinksNewWindow bool + EntrezQuery string + Expect *float64 + ExpectHigh float64 + ExpectLow float64 + Filter string + FormatEntrezQuery string + FormatObject string + FormatType string + GapCosts [2]int + GeneticCode []int + HitListSize int + IThresh float64 + LCaseMask bool + Layout string + MatrixName string + Megablast bool + NcbiGi bool + NuclPenalty int + NuclReward int + OtherAdvanced string + PageType string + PercIdent int + PhiPattern string + Program string + Pssm string + Query string + QueryBelieveDefline bool + QueryFile string + QueryFrom int + QueryTo int + ResultsFile bool + Rid string + SearchspEff int + Service string + ShowOverview *bool + Threshold int + UngappedAlignment bool + WordSize int