broadinstitute / adapt

A package for designing activity-informed nucleic acid diagnostics for viruses.
MIT License
27 stars 1 forks source link

Memoization in the Cloud and Setting Random Seed #29

Closed priyappillai closed 3 years ago

priyappillai commented 3 years ago

This PR allows an S3 path to be specified (in the format "s3://bucket/path") as PREP_MEMOIZE_DIR to allow a memo to be saved directly to the cloud. Memoizing via S3 requires the package boto3 (1.14.41) to be installed; cloud testing requires botocore (1.17.41) to also be installed. This PR also adds the optional SEED argument to design.py, which specifies a random seed such that the same random sample of sequences is always chosen when given SEED and SAMPLE_SEQS.