Repository navigation
v2.3.0 #219
MohammedFCIS
announced in
Announcements
v2.3.0
#219
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
dbparser 2.3.0
NEW FEATURES
parseHGNC()(
hgnc_complete_set.txt) and, optionally, its withdrawn entries(
withdrawn.txt).dvobjectwithgene,gene_name(every approved, aliasand previous symbol and name, one row each) and
withdrawn(one rowper withdrawn ID and the ID it was merged into or split to) tables.
parseHealthCanadaDPD()marketed, approved, cancelled and dormant product sets, from their
zips or unzipped folders.
dvobjectwith all 13 tables of Health Canada's read-me,with the read-me's column names, typed codes and dates, and an
extractcolumn naming each row's product set. Statuses are kept aswritten; the parser does no status grouping.
parseOpenFDA()unzipped, without extracting them to disk.
dvobjectwith one table per record level (applications,products, active ingredients, submissions, submission property types,
application documents and the
openfdaannotation for Drugs@FDA;products, active ingredients, routes, pharmacologic classes,
packaging and the
openfdaannotation for the NDC directory), fieldnames as in the files. Every record is kept as written, including
tentative approvals; the parser does no status grouping.
jsonliteto Imports.dvobjectsource_metadata: release, release date, download date, source URL,licence (SPDX id), licence URL, the attribution or citation the
source asks for, the parsed files with their SHA-256 hashes, and the
dbparserversion. Unknown values areNA, never guessed.tools::sha256sum()); on older Rthey are
NA.get_source_metadata()dvobject's source metadata as a tibble, one row persource, with the files as a list column.
releaseandrelease_date;existing parsers keep
db_versionanddb_exported_datefor now.parseHPO()distributed by Harmonizome (
gene_attribute_edges.txt, plain orgzip-compressed).
dvobjectwithassociations,genesandphenotypestables. Optional
minimum_weight,db_versionanddb_exported_datearguments filter associations and record dataset metadata.
merge_drugbank_hpo()adds
drugbank_idanddrug_nameto each gene-phenotype association.merge_drugbank_onsides()andmerge_drugbank_twosides().search_phenotypes()andget_genes_for_phenotype()search_phenotypes()finds phenotypes by keyword and lists their genes.get_genes_for_phenotype()returns the genes for an HPO id(e.g.
"HP:0001250") or a phenotype name.BUG FIXES
parseDrugBank()extracts a zip input into a temporary folder that isremoved after loading. Earlier versions extracted it next to the input
file, which for the bundled example is the installed package. The message
now reads "extracted".
.datadeprecationwarnings.
actionsandpolypeptides$general_informationtables now includea
drugbank_idcolumn (CETT actions parsed without a drugbank_id - actions cannot be attributed to a drug-protein pair #210).or transporter id (e.g.
target_id). Many drugs share a target, so anaction could not be traced back to its drug, and identical actions from
different drugs were collapsed into a single row.
drugbank_idand the CETT id to get one rowper drug–protein–action.
DOCUMENTATION
vignette("getting_started")parses the bundled DrugBankrecord and HGNC files and shows their tables and source metadata. It
replaces the DrugBank tutorial as the package's introduction on CRAN.
canvasXpresscharts (the DrugBank tutorial,integrated pharmacovigilance and HPO target phenotypes) are now articles
on the package website only, unchanged, at
https://docs.ropensci.org/dbparser/articles/. This keeps the installed
package small.
vignette("cett_mechanisms")shows how to use the drug linkin CETT actions to find drugs that share a mechanism. It uses lepirudin and
bivalirudin, both direct thrombin inhibitors, as the example.
Anticipating On-Target Drug Effects with HPO Gene-Phenotype Data
links DrugBank targets to HPO Mendelian phenotypes to anticipate on-target
drug effects for bivalirudin, leuprolide and calcitriol, with
canvasXpressplots.show_dvobject_metadata()has a working example.and "Used in published research".
COMING NEXT
labels and FAERS summaries, and African pharmacogenomics (PGx) summary
tables.
This discussion was created from the release v2.3.0.
All reactions