id
int64 3.05M
39.7M
| published
stringlengths 19
19
| title
stringlengths 10
282
⌀ | reference
stringlengths 39
40
|
---|---|---|---|
39,584,394 | 2025-12-05 00:00:00 | Reassortment of newly emergent clade 2.3.4.4b A(H5N1) highly pathogenic avian influenza A viruses in Bangladesh. | https://pubmed.ncbi.nlm.nih.gov/39584394 |
39,624,917 | 2025-12-05 00:00:00 | Susceptibility of calf lung slice cultures to H5N1 influenza virus. | https://pubmed.ncbi.nlm.nih.gov/39624917 |
39,731,774 | 2025-12-05 00:00:00 | The PA-X host shutoff site 100 V exerts a contrary effect on viral fitness of the highly pathogenic H7N9 influenza A virus in mice and chickens. | https://pubmed.ncbi.nlm.nih.gov/39731774 |
39,648,950 | 2025-12-05 00:00:00 | Marked neurotropism and potential adaptation of H5N1 clade 2.3.4.4.b virus in naturally infected domestic cats. | https://pubmed.ncbi.nlm.nih.gov/39648950 |
39,676,675 | 2025-02-05 00:00:00 | Managing Pandemic Threats-The Need for Adaptive Leadership. | https://pubmed.ncbi.nlm.nih.gov/39676675 |
39,616,951 | 2025-01-12 00:00:00 | Assessing human B cell responses to influenza virus vaccines and adjuvants in a PBMC-derived in vitro culture system. | https://pubmed.ncbi.nlm.nih.gov/39616951 |
39,586,441 | 2025-01-05 00:00:00 | Synergistic antiviral potential of N-(2-hydroxy)propyl-3-trimethylammoniumchitosan-functionalized silver nanoparticles with oseltamivir against influenza A viruses. | https://pubmed.ncbi.nlm.nih.gov/39586441 |
39,448,163 | 2025-01-05 00:00:00 | Effectiveness of pasteurization for the inactivation of H5N1 influenza virus in raw whole milk. | https://pubmed.ncbi.nlm.nih.gov/39448163 |
39,543,031 | 2025-01-05 00:00:00 | Conformational Variability Prediction of Influenza Virus Hemagglutinins with Amino Acid Mutations Using Supersecondary Structure Code. | https://pubmed.ncbi.nlm.nih.gov/39543031 |
39,515,637 | 2025-01-05 00:00:00 | Epidemiological and genetic characterization of human infection with avian influenza AI H5N6 virus in Guangxi, China, 2021. | https://pubmed.ncbi.nlm.nih.gov/39515637 |
39,647,217 | 2025-01-05 00:00:00 | The evolution of hemagglutinin-158 and neuraminidase-88 glycosylation sites modulates antigenicity and pathogenicity of clade 2.3.2.1 H5N1 avian influenza viruses. | https://pubmed.ncbi.nlm.nih.gov/39647217 |
39,747,435 | 2025-01-05 00:00:00 | System vaccinology analysis of predictors and mechanisms of antibody response durability to multiple vaccines in humans. | https://pubmed.ncbi.nlm.nih.gov/39747435 |
39,625,816 | 2025-01-05 00:00:00 | Influenza A(H5N1) Virus Clade 2.3.2.1a in Traveler Returning to Australia from India, 2024. | https://pubmed.ncbi.nlm.nih.gov/39625816 |
39,657,579 | 2025-01-05 00:00:00 | Replication Restriction of Influenza A(H5N1) Clade 2.3.4.4b Viruses by Human Immune Factor, 2023-2024. | https://pubmed.ncbi.nlm.nih.gov/39657579 |
39,661,025 | 2025-01-05 00:00:00 | Evidence of Influenza A(H5N1) Spillover Infections in Horses, Mongolia. | https://pubmed.ncbi.nlm.nih.gov/39661025 |
39,668,388 | 2025-01-05 00:00:00 | Systematic Review of Avian Influenza Virus Infection and Outcomes during Pregnancy. | https://pubmed.ncbi.nlm.nih.gov/39668388 |
39,745,171 | 2025-01-02 00:00:00 | Highly Pathogenic Avian Influenza (HPAI) H5N1 virus in Finland in 2021-2023 - Genetic diversity of the viruses and infection kinetics in human dendritic cells. | https://pubmed.ncbi.nlm.nih.gov/39745171 |
39,551,038 | 2025-01-01 00:00:00 | Vaccine efficacy induced by 2020-2021 seasonal influenza-derived H3N1 virus-like particles co-expressing M2e5x or N2. | https://pubmed.ncbi.nlm.nih.gov/39551038 |
39,740,051 | 2024-12-31 00:00:00 | Highly Pathogenic Avian Influenza A(H5N1) Virus Infections in Humans. | https://pubmed.ncbi.nlm.nih.gov/39740051 |
39,569,615 | 2024-12-31 00:00:00 | AS03-adjuvanted H5N1 vaccine enhances immune response by modulating NR4A1, SDC1, ID3 genes, and reducing cortisol. | https://pubmed.ncbi.nlm.nih.gov/39569615 |
39,745,389 | 2024-12-31 00:00:00 | Are we serologically prepared against an avian influenza pandemic and could seasonal flu vaccines help us? | https://pubmed.ncbi.nlm.nih.gov/39745389 |
38,807,261 | 2024-12-31 00:00:00 | Pandemic preparedness through vaccine development for avian influenza viruses. | https://pubmed.ncbi.nlm.nih.gov/38807261 |
39,737,954 | 2024-12-30 00:00:00 | A single mutation in dairy cow-associated H5N1 viruses increases receptor binding breadth. | https://pubmed.ncbi.nlm.nih.gov/39737954 |
39,727,152 | 2024-12-27 00:00:00 | Replication Kinetics, Pathogenicity and Virus-induced Cellular Responses of Cattle-origin Influenza A(H5N1) isolates from Texas, United States. | https://pubmed.ncbi.nlm.nih.gov/39727152 |
39,714,185 | 2024-12-26 00:00:00 | Targets of influenza human T-cell response are mostly conserved in H5N1. | https://pubmed.ncbi.nlm.nih.gov/39714185 |
39,695,812 | 2024-12-19 00:00:00 | Are we cultivating the perfect storm for a human avian influenza pandemic? | https://pubmed.ncbi.nlm.nih.gov/39695812 |
39,740,671 | 2024-12-18 00:00:00 | Identification of a broad-inhibition influenza neuraminidase antibody from pre-existing memory B cells. | https://pubmed.ncbi.nlm.nih.gov/39740671 |
39,693,411 | 2024-12-18 00:00:00 | An influenza mRNA vaccine protects ferrets from lethal infection with highly pathogenic avian influenza A(H5N1) virus. | https://pubmed.ncbi.nlm.nih.gov/39693411 |
39,695,865 | 2024-12-18 00:00:00 | Revealing novel CD8+ T-cell epitopes from the H5N1 avian influenza virus in HBW/B1 haplotype ducks. | https://pubmed.ncbi.nlm.nih.gov/39695865 |
39,690,742 | 2024-12-17 00:00:00 | Low-inflammatory lipid nanoparticle-based mRNA vaccine elicits protective immunity against H5N1 influenza virus with reduced adverse reactions. | https://pubmed.ncbi.nlm.nih.gov/39690742 |
39,708,674 | 2024-12-16 00:00:00 | Molecular detection and epidemiological distribution of poultry respiratory viral pathogens in commercial chicken flocks in Bangladesh. | https://pubmed.ncbi.nlm.nih.gov/39708674 |
39,673,479 | 2024-12-14 00:00:00 | Distribution of lesions and detection of influenza A(H5N1) virus, clade 2.3.4.4b, in ante- and postmortem samples from naturally infected domestic cats on U.S. dairy farms. | https://pubmed.ncbi.nlm.nih.gov/39673479 |
39,666,804 | 2024-12-13 00:00:00 | Why hasn't the bird flu pandemic started? | https://pubmed.ncbi.nlm.nih.gov/39666804 |
39,681,124 | 2024-12-13 00:00:00 | Sensors for surveillance of RNA viruses: a One Health perspective. | https://pubmed.ncbi.nlm.nih.gov/39681124 |
39,535,188 | 2024-12-11 00:00:00 | Avian influenza A (H5N1) virus in dairy cattle: origin, evolution, and cross-species transmission. | https://pubmed.ncbi.nlm.nih.gov/39535188 |
39,658,318 | 2024-12-10 00:00:00 | A One Health Investigation into H5N1 Avian Influenza Virus Epizootics on Two Dairy Farms. | https://pubmed.ncbi.nlm.nih.gov/39658318 |
39,636,969 | 2024-12-06 00:00:00 | A single mutation in bovine influenza H5N1 hemagglutinin switches specificity to human receptors. | https://pubmed.ncbi.nlm.nih.gov/39636969 |
37,994,795 | 2024-12-05 00:00:00 | A single immunization with H5N1 virus-like particle vaccine protects chickens against divergent H5N1 influenza viruses and vaccine efficacy is determined by adjuvant and dosage. | https://pubmed.ncbi.nlm.nih.gov/37994795 |
37,966,008 | 2024-12-05 00:00:00 | Evolution and biological characterization of H5N1 influenza viruses bearing the clade 2.3.2.1 hemagglutinin gene. | https://pubmed.ncbi.nlm.nih.gov/37966008 |
37,966,272 | 2024-12-05 00:00:00 | Recombinant duck enteritis virus bearing the hemagglutinin genes of H5 and H7 influenza viruses is an ideal multivalent live vaccine in ducks. | https://pubmed.ncbi.nlm.nih.gov/37966272 |
38,712,345 | 2024-12-05 00:00:00 | Pigs are highly susceptible to but do not transmit mink-derived highly pathogenic avian influenza virus H5N1 clade 2.3.4.4b. | https://pubmed.ncbi.nlm.nih.gov/38712345 |
38,828,793 | 2024-12-05 00:00:00 | Rapid mortality in captive bush dogs (Speothos venaticus) caused by influenza A of avian origin (H5N1) at a wildlife collection in the United Kingdom. | https://pubmed.ncbi.nlm.nih.gov/38828793 |
38,189,114 | 2024-12-05 00:00:00 | HA N193D substitution in the HPAI H5N1 virus alters receptor binding affinity and enhances virulence in mammalian hosts. | https://pubmed.ncbi.nlm.nih.gov/38189114 |
39,008,278 | 2024-12-05 00:00:00 | Genomic characterization of highly pathogenic avian influenza A H5N1 virus newly emerged in dairy cattle. | https://pubmed.ncbi.nlm.nih.gov/39008278 |
38,832,658 | 2024-12-05 00:00:00 | Does pasteurization inactivate bird flu virus in milk? | https://pubmed.ncbi.nlm.nih.gov/38832658 |
39,253,406 | 2024-12-05 00:00:00 | Increasing spillover of highly pathogenic avian influenza A (H5N1) virus to mammals. | https://pubmed.ncbi.nlm.nih.gov/39253406 |
38,494,746 | 2024-12-05 00:00:00 | Highly pathogenic avian influenza A(H5N1) virus of clade 2.3.4.4b isolated from a human case in Chile causes fatal disease and transmits between co-housed ferrets. | https://pubmed.ncbi.nlm.nih.gov/38494746 |
39,152,892 | 2024-12-05 00:00:00 | Statins for the prevention of cardiovascular events associated with avian influenza: the COVID-19 pandemic as a reference. | https://pubmed.ncbi.nlm.nih.gov/39152892 |
39,021,558 | 2024-12-05 00:00:00 | Preventive, safety and control measures against Avian Influenza A(H5N1) in occupationally exposed groups: A scoping review. | https://pubmed.ncbi.nlm.nih.gov/39021558 |
39,193,629 | 2024-12-05 00:00:00 | Highly pathogenic avian influenza virus H5N1 clade 2.3.4.4b in wild rats in Egypt during 2023. | https://pubmed.ncbi.nlm.nih.gov/39193629 |
39,508,450 | 2024-12-05 00:00:00 | Dissecting immunological mechanisms underlying influenza viral nucleoprotein-induced mucosal immunity against diverse viral strains. | https://pubmed.ncbi.nlm.nih.gov/39508450 |
39,143,912 | 2024-12-05 00:00:00 | Descriptive epidemiology and phylogenetic analysis of highly pathogenic avian influenza H5N1 clade 2.3.4.4b in British Columbia (B.C.) and the Yukon, Canada, September 2022 to June 2023. | https://pubmed.ncbi.nlm.nih.gov/39143912 |
39,395,428 | 2024-12-05 00:00:00 | Wastewater monitoring of human and avian influenza A viruses in Northern Ireland: a genomic surveillance study. | https://pubmed.ncbi.nlm.nih.gov/39395428 |
39,520,755 | 2024-12-05 00:00:00 | Research note: Simultaneous detection of GPV, H5 AIV, and GoAstV via TaqMan probe-based multiplex qPCR. | https://pubmed.ncbi.nlm.nih.gov/39520755 |
38,170,506 | 2024-12-05 00:00:00 | Identification of specific neutralizing antibodies for highly pathogenic avian influenza H5 2.3.4.4b clades to facilitate vaccine design and therapeutics. | https://pubmed.ncbi.nlm.nih.gov/38170506 |
39,207,215 | 2024-12-05 00:00:00 | Phylodynamics of high pathogenicity avian influenza virus in Bangladesh identifying domestic ducks as the amplifying host reservoir. | https://pubmed.ncbi.nlm.nih.gov/39207215 |
39,625,958 | 2024-12-05 00:00:00 | Controlling minor outbreaks is necessary to prepare for major pandemics. | https://pubmed.ncbi.nlm.nih.gov/39625958 |
39,216,409 | 2024-12-05 00:00:00 | Theoretical Investigations of a point mutation affecting H5 Hemagglutinin's receptor binding preference. | https://pubmed.ncbi.nlm.nih.gov/39216409 |
39,641,589 | 2024-12-05 00:00:00 | The Arrival of Highly Pathogenic Avian Influenza Viruses in North America, Ensuing Epizootics in Poultry and Dairy Farms and Difficulties in Scientific Naming. | https://pubmed.ncbi.nlm.nih.gov/39641589 |
39,486,158 | 2024-12-05 00:00:00 | Incursion of Novel Eurasian Low Pathogenicity Avian Influenza H5 Virus, Australia, 2023. | https://pubmed.ncbi.nlm.nih.gov/39486158 |
39,499,954 | 2024-12-05 00:00:00 | Highly Pathogenic Avian Influenza A(H5N1) Virus Infection in Cats, South Korea, 2023. | https://pubmed.ncbi.nlm.nih.gov/39499954 |
39,592,421 | 2024-12-05 00:00:00 | Influenza A Virus Antibodies in Ducks and Introduction of Highly Pathogenic Influenza A(H5N1) Virus, Tennessee, USA. | https://pubmed.ncbi.nlm.nih.gov/39592421 |
39,640,906 | 2024-12-05 00:00:00 | Transmission dynamics of highly pathogenic avian influenza virus at the wildlife-poultry-environmental interface: A case study. | https://pubmed.ncbi.nlm.nih.gov/39640906 |
39,278,105 | 2024-12-05 00:00:00 | Susceptibilities and viral shedding of peridomestic wildlife infected with clade 2.3.4.4b highly pathogenic avian influenza virus (H5N1). | https://pubmed.ncbi.nlm.nih.gov/39278105 |
39,288,609 | 2024-12-05 00:00:00 | Evolution and mutational landscape of highly pathogenic avian influenza strain A(H5N1) in the current outbreak in the USA and global landscape. | https://pubmed.ncbi.nlm.nih.gov/39288609 |
39,134,084 | 2024-12-05 00:00:00 | The panzootic spread of highly pathogenic avian influenza H5N1 sublineage 2.3.4.4b: a critical appraisal of One Health preparedness and prevention. | https://pubmed.ncbi.nlm.nih.gov/39134084 |
39,618,269 | 2024-12-05 00:00:00 | Rapid and Safe Neutralization Assay for Circulating H5N1 Influenza Virus in Dairy Cows. | https://pubmed.ncbi.nlm.nih.gov/39618269 |
39,221,587 | 2024-12-05 00:00:00 | Experimental infection of chickens, Pekin ducks, Eurasian wigeons and Barnacle geese with two recent highly pathogenic avian influenza H5N1 clade 2.3.4.4b viruses. | https://pubmed.ncbi.nlm.nih.gov/39221587 |
39,349,133 | 2024-12-05 00:00:00 | Avian influenza A H5N1 hemagglutinin protein models have distinct structural patterns re-occurring across the 1959-2023 strains. | https://pubmed.ncbi.nlm.nih.gov/39349133 |
39,577,572 | 2024-12-05 00:00:00 | Edible bird's nest: N- and O-glycan analysis and synergistic anti-avian influenza virus activity with neuraminidase inhibitors. | https://pubmed.ncbi.nlm.nih.gov/39577572 |
39,362,411 | 2024-12-05 00:00:00 | Understanding the emergence of highly pathogenic avian influenza A virus H5N1 in pinnipeds: An evolutionary approach. | https://pubmed.ncbi.nlm.nih.gov/39362411 |
39,467,572 | 2024-12-05 00:00:00 | Transmission of a human isolate of clade 2.3.4.4b A(H5N1) virus in ferrets. | https://pubmed.ncbi.nlm.nih.gov/39467572 |
39,467,571 | 2024-12-05 00:00:00 | A human isolate of bovine H5N1 is transmissible and lethal in animal models. | https://pubmed.ncbi.nlm.nih.gov/39467571 |
39,713,830 | 2024-12-05 00:00:00 | Avian influenza: past, present and future. | https://pubmed.ncbi.nlm.nih.gov/39713830 |
39,737,087 | 2024-12-05 00:00:00 | Americans' support for future pandemic policies: insights from a national survey. | https://pubmed.ncbi.nlm.nih.gov/39737087 |
39,287,422 | 2024-12-05 00:00:00 | Genomic characterization of highly pathogenic H5 avian influenza viruses from Alaska during 2022 provides evidence for genotype-specific trends of spatiotemporal and interspecies dissemination. | https://pubmed.ncbi.nlm.nih.gov/39287422 |
39,435,768 | 2024-12-05 00:00:00 | Survivability of H5N1 avian influenza virus in homemade yogurt, cheese and whey. | https://pubmed.ncbi.nlm.nih.gov/39435768 |
39,437,973 | 2024-12-05 00:00:00 | Effect of modification of siRNA molecules delivered with aminopropylsilanol nanoparticles on suppression of A/H5N1 virus in cell culture. | https://pubmed.ncbi.nlm.nih.gov/39437973 |
39,677,482 | 2024-12-05 00:00:00 | Establishing methods to monitor H5N1 influenza virus in dairy cattle milk. | https://pubmed.ncbi.nlm.nih.gov/39677482 |
39,378,018 | 2024-12-05 00:00:00 | A Narrative Review on the Pandemic Zoonotic RNA Virus Infections Occurred During the Last 25 Years. | https://pubmed.ncbi.nlm.nih.gov/39378018 |
39,629,997 | 2024-12-04 00:00:00 | Genetic diversity of highly pathogenic avian influenza H5N6 and H5N8 viruses in poultry markets in Guangdong, China, 2020-2022. | https://pubmed.ncbi.nlm.nih.gov/39629997 |
39,677,750 | 2024-12-03 00:00:00 | Structural Convergence and Water-Mediated Substrate Mimicry Enable Broad Neuraminidase Inhibition by Human Antibodies. | https://pubmed.ncbi.nlm.nih.gov/39677750 |
39,623,068 | 2024-12-02 00:00:00 | Influenza A(H5N1) shedding in air corresponds to transmissibility in mammals. | https://pubmed.ncbi.nlm.nih.gov/39623068 |
39,151,319 | 2024-12-01 00:00:00 | Development of a dual-component biosensor for rapid and sensitive detection of influenza H7 and H5 subtypes. | https://pubmed.ncbi.nlm.nih.gov/39151319 |
39,631,272 | 2024-12-01 00:00:00 | Delivery of dendritic cells targeting 3M2e-HA2 nanoparticles with a CpG adjuvant via lysosomal escape of Salmonella enhances protection against H9N2 avian influenza virus. | https://pubmed.ncbi.nlm.nih.gov/39631272 |
39,611,230 | 2024-11-29 00:00:00 | Susceptibility of Mammals to Highly Pathogenic Avian Influenza: A Qualitative Risk Assessment From the Belgian Perspective. | https://pubmed.ncbi.nlm.nih.gov/39611230 |
39,607,051 | 2024-11-28 00:00:00 | Incidence of highly pathogenic avian influenza H5N1 in pinnipeds in Uruguay. | https://pubmed.ncbi.nlm.nih.gov/39607051 |
39,650,601 | 2024-11-27 00:00:00 | High-throughput antibody screening with high-quality factor nanophotonics and bioprinting. | https://pubmed.ncbi.nlm.nih.gov/39650601 |
39,578,905 | 2024-11-22 00:00:00 | Avian influenza virus circulation and immunity in a wild urban duck population prior to and during a highly pathogenic H5N1 outbreak. | https://pubmed.ncbi.nlm.nih.gov/39578905 |
39,570,060 | 2024-11-21 00:00:00 | Chicken ANP32A-independent replication of highly pathogenic avian influenza viruses potentially leads to mammalian adaptation-related amino acid substitutions in viral PB2 and PA proteins. | https://pubmed.ncbi.nlm.nih.gov/39570060 |
39,567,708 | 2024-11-20 00:00:00 | Avian raptors are indicator species and victims of high pathogenicity avian influenza virus HPAIV H5N1 (clade 2.3.4.4b) in Germany. | https://pubmed.ncbi.nlm.nih.gov/39567708 |
39,599,570 | 2024-11-19 00:00:00 | Highly Pathogenic H5N1 Influenza A Virus (IAV) in Blue-Winged Teal in the Mississippi Flyway Is Following the Historic Seasonal Pattern of Low-Pathogenicity IAV in Ducks. | https://pubmed.ncbi.nlm.nih.gov/39599570 |
39,387,556 | 2024-11-19 00:00:00 | The mammary glands of cows abundantly display receptors for circulating avian H5 viruses. | https://pubmed.ncbi.nlm.nih.gov/39387556 |
39,387,583 | 2024-11-19 00:00:00 | Fluorescent and bioluminescent bovine H5N1 influenza viruses for evaluation of antiviral interventions. | https://pubmed.ncbi.nlm.nih.gov/39387583 |
39,599,562 | 2024-11-16 00:00:00 | In Silico Genomic Analysis of Avian Influenza Viruses Isolated From Marine Seal Colonies. | https://pubmed.ncbi.nlm.nih.gov/39599562 |
39,134,272 | 2024-11-15 00:00:00 | Unsustainable production patterns and disease emergence: The paradigmatic case of Highly Pathogenic Avian Influenza H5N1. | https://pubmed.ncbi.nlm.nih.gov/39134272 |
39,019,655 | 2024-11-14 00:00:00 | Passive immunization of mice with IgY anti-H5N1 protects against experimental influenza virus infection and allows development of protective immunity. | https://pubmed.ncbi.nlm.nih.gov/39019655 |
39,599,880 | 2024-11-13 00:00:00 | The Thermal Stability of Influenza Viruses in Milk. | https://pubmed.ncbi.nlm.nih.gov/39599880 |
39,528,494 | 2024-11-11 00:00:00 | Epidemiological data of an influenza A/H5N1 outbreak in elephant seals in Argentina indicates mammal-to-mammal transmission. | https://pubmed.ncbi.nlm.nih.gov/39528494 |
39,532,594 | 2024-11-11 00:00:00 | Detection and characterization of highly pathogenic avian influenza A (H5N1) clade 2.3.4.4b virus circulating in Argentina in 2023. | https://pubmed.ncbi.nlm.nih.gov/39532594 |
PubMed H5N1 Articles
Current as of January 5, 2025
This dataset is metadata (id, publication date, title, link) from PubMed articles related to H5N1. It was created using paperetl and the PubMed Baseline.
The 37 million articles were filtered to match either of the following criteria.
- MeSH code = D053124
- Keyword of
H5N1
in either thetitle
orabstract
Retrieve article abstracts
The full article abstracts can be retrieved via the PubMed API. This method accepts batches of PubMed IDs.
Alternatively, the dataset can be recreated using the following steps and loading the abstracts into the dataset (see step 5).
Download and build
The following steps recreate this dataset.
Create the following directories and files
mkdir -p pubmed/config pubmed/data echo "D053124" > pubmed/config/codes echo "H5N1" > pubmed/config/keywords
Install
paperetl
and downloadPubMed Baseline + Updates
intopubmed/data
.pip install paperetl datasets # Install paperetl from GitHub until v2.4.0 is released pip install git+https://github.com/neuml/paperetl
Parse the PubMed dataset into article metadata
python -m paperetl.file pubmed/data pubmed/articles pubmed/config
Export to dataset
from datasets import Dataset ds = Dataset.from_sql( ("SELECT id id, published published, title title, reference reference FROM articles " "ORDER BY published DESC"), f"sqlite:///pubmed/articles/articles.sqlite" ) ds.to_csv(f"pubmed-h5n1/articles.csv")
Optional Export to dataset with all fields
paperetl parses all metadata and article abstracts. If you'd like to create a local dataset with the abstracts, run the following instead of step 4.
import sqlite3 import uuid from datasets import Dataset class Export: def __init__(self, dbfile): # Load database self.connection = sqlite3.connect(dbfile) self.connection.row_factory = sqlite3.Row def __call__(self): # Create cursors cursor1 = self.connection.cursor() cursor2 = self.connection.cursor() # Get article metadata cursor1.execute("SELECT * FROM articles ORDER BY id") for row in cursor1: # Get abstract text cursor2.execute( "SELECT text FROM sections WHERE article = ? and name != 'TITLE' ORDER BY id", [row[0]] ) abstract = " ".join(r["text"] for r in cursor2) # Combine into single record and yield row = {**row, **{"abstract": abstract}} yield {k.lower(): v for k, v in row.items()} def __reduce__(self): return (pickle, (str(uuid.uuid4()),)) def pickle(self, *args, **kwargs): raise AssertionError("Generator pickling workaround") # Path to database export = Export("pubmed/articles/articles.sqlite") ds = Dataset.from_generator(export) ds = ds.sort("published", reverse=True) ds.to_csv("pubmed-h5n1-full/articles.csv")
- Downloads last month
- 9