Skip to content

Modification of the Biopython Entrez module to be compatible with AWS Lambda.

Notifications You must be signed in to change notification settings

cparmet/Entrez-AWS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

Entrez AWS

Purpose

This project forks the Entrez module from Biopython. It modifies the code slightly so the PubMed API functions will work when deployed to Lambda on Amazon Web Services.

Motivation

I was deploying a web app to AWS Lambda that uses Biopython. I ran into errors because the Biopython module "Entrez" creates a new directory and files while processesing results from the PubMed API. This works swimmingly when it runs on a local machine with standard permissions. But AWS Lambda doesn't allow Python functions to have write access and create new files & directories -- except in one specific Lambda directory, "tmp". This "tmp" directory only exists while the Lambda function is running.

This fork of Entrez makes it create these temporary files only in that safe directory on Lambda.

About

Modification of the Biopython Entrez module to be compatible with AWS Lambda.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages