entrez

package
v0.0.0-...-a011eca Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 4, 2022 License: BSD-3-Clause, GPL-2.0, BSD-3-Clause, + 1 more Imports: 9 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL