pypath.inputs.pubmed.only_pmids§
- pypath.inputs.pubmed.only_pmids(idList, strict=True)[source]§
Return elements unchanged which comply with the PubMed ID format, and attempts to translate the DOIs and PMC IDs using NCBI E-utils. Returns list containing only PMIDs.
- @idListlist, str
List of IDs or one single ID.
- @strictbool
Whether keep in the list those IDs which are not PMIDs, neither DOIs or PMC IDs or NIH manuscript IDs.