Documentation ¶
Overview ¶
package for querying all of NCBI databases
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RetrieveRecords ¶
func RetrieveRecords(query string, database string, Max int, ReturnType string) (contentsinbytes []byte, err error)
This queries the selected database saving the record to bytes Database options are nucleotide, Protein, Gene. For full list see http://www.ncbi.nlm.nih.gov/books/NBK25497/table/chapter2.T._entrez_unique_identifiers_ui/?report=objectonly Return type includes but must match the database type. See http://www.ncbi.nlm.nih.gov/books/NBK25499/table/chapter4.T._valid_values_of__retmode_and/?report=objectonly Query can be any string but it is recommended to use GI number if one specific record is required.
func RetrieveSequence ¶
func RetrieveSequence(id string, database string) (seq wtype.DNASequence, err error)
This retrieves sequence of any type from any NCBI sequence database
func RetrieveVector ¶
func RetrieveVector(id string) (seq wtype.DNASequence, err error)
This will retrieve vector using fasta or db
Types ¶
This section is empty.