Skip to content

Latest commit

 

History

History
98 lines (69 loc) · 1.84 KB

entrez.md

File metadata and controls

98 lines (69 loc) · 1.84 KB

Julia interface to Entrez Utilities API.

For executables that use this package to search PubMed, see the sister package PubMedMiner

Import Module

using BioMedQuery.Entrez

The following E-utils functions have been implemented:

The following utility functions are available to handle and store NCBI responses

The following utility functions are available to query the database

ESearch

CurrentModule = BioMedQuery.Entrez
esearch(search_dict)

EFetch

efetch(fetch_dic, id_list)

ELink

elink(elink_dict)

ESummary

esummary(esummary_dict)

EParse

eparse(ncbi_response::ASCIIString)

Saving NCBI Responses to XML

You can save directly the XML String to file using the XMLconvert Package

###Example

    XMLconvert.xmlASCII2file(efetch_response, "./efetch.xml")

Saving EFetch to a SQLite database

save_efetch_sqlite(efetch_dict, db_config, verbose)

Saving EFetch to a MySQL database

save_efetch_mysql(efetch_dict, db_config, verbose)

The following schema has been used to store the results. If you are interested in having this module store additional fields, feel free to open an issue

Alt

All PMIDs

all_pmids(db)

All MESH descriptors for an article

get_article_mesh(db, pmid::Integer)