#aws-lambda #bioinformatics #serverless #data #htsget #instance #run-time

bin+lib htsget-lambda

A cloud-based instance of htsget-rs using AWS Lambda, which serves data according to the htsget protocol

25 releases

new 0.6.0 Feb 18, 2025
0.5.2 Nov 22, 2024
0.5.1 Oct 17, 2024
0.4.16 May 22, 2024
0.1.4 Feb 24, 2023

#980 in Network programming

Download history 5/week @ 2024-10-23 1/week @ 2024-10-30 3/week @ 2024-11-06 1/week @ 2024-11-13 152/week @ 2024-11-20 12/week @ 2024-11-27 14/week @ 2024-12-04 30/week @ 2024-12-11

1,328 downloads per month

MIT license

295KB
6.5K SLoC

htsget-lambda

MIT licensed Build Status

Framework dependent code for a cloud-based instance of htsget-rs, using AWS Lambda.

Overview

This crate is used for running a cloud-based instance of htsget-rs. It:

Usage

This crate can be deployed to AWS as a Lambda function, or interacted with locally using cargo-lambda. See the htsget-deploy for more details. Note, this crate does not use any configuration relating to the local data server. CORS configuration uses values from the ticket server config. See htsget-config for more information about configuration.

See htsget-search for details on how to structure files.

As a library

There is no need to interact with this crate as a library. Note that the Lambda function itself doesn't have any library code, and it instead uses htsget-axum. Please use that crate for functionality related to routing.

Feature flags

This crate has the following features:

  • s3: used to enable S3 location functionality and any other AWS features.
  • url: used to enable Url location functionality.
  • experimental: used to enable experimental features that aren't necessarily part of the htsget spec, such as Crypt4GH support through C4GHStorage.

License

This project is licensed under the MIT license.

Dependencies

~38–61MB
~1M SLoC