Skip to main content

Tools for ACDC ETL pipeline

Project description

acdc-aws-etl-pipeline

Infrastructure and code for the ACDC ETL pipeline and data operations in AWS

Ingestion

DBT

Release Management

Deploying the dictionary

e.g. to testing

# Example 
bash services/dictionary/pull_dict.sh <raw_dictionary_url>
bash services/dictionary/upload_dictionary.py <local_dictionary_path> <s3_target_uri>

# Deploying to test
VERSION=v0.6.3
bash services/dictionary/pull_dict.sh "https://raw.githubusercontent.com/AustralianBioCommons/acdc-schema-json/refs/tags/${VERSION}/dictionary/prod_dict/acdc_schema.json"
python3 services/dictionary/upload_dictionary.py "services/dictionary/schemas/acdc_schema_${VERSION}.json" s3://gen3schema-cad-uat-biocommons.org.au/cad.json


# Deploying to staging
VERSION=v0.7.7
bash services/dictionary/pull_dict.sh "https://raw.githubusercontent.com/AustralianBioCommons/acdc-schema-json/refs/tags/${VERSION}/dictionary/prod_dict/acdc_schema.json"
python3 services/dictionary/upload_dictionary.py "services/dictionary/schemas/acdc_schema_${VERSION}.json" s3://gen3schema-cad-staging-biocommons.org.au/cad.json

Generating synthetic metadata

  • Run this script to generate synthetic metadata for the studies in the dictionary
# this will generate 30 samples for AusDiab_Simulated and 60 samples for Baker-Biobank_Simulated
bash services/synthetic_data/generate_synth_metadata.sh --studies "AusDiab_Simulated,Baker-Biobank_Simulated" --permute-max-samples "30,60"

uploading synthetic metadata to sheepdog

  • Run this script to upload synthetic metadata to sheepdog
# to see argumments
python3 services/synthetic_data/upload_synth_metadata_sheepdog.py -h

# to upload metadata for version v0.6.3
python3 services/synthetic_data/upload_synth_metadata_sheepdog.py --version v0.6.3

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

acdc_aws_etl_pipeline-0.3.8.tar.gz (27.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

acdc_aws_etl_pipeline-0.3.8-py3-none-any.whl (31.1 kB view details)

Uploaded Python 3

File details

Details for the file acdc_aws_etl_pipeline-0.3.8.tar.gz.

File metadata

  • Download URL: acdc_aws_etl_pipeline-0.3.8.tar.gz
  • Upload date:
  • Size: 27.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.2.1 CPython/3.9.24 Linux/6.11.0-1018-azure

File hashes

Hashes for acdc_aws_etl_pipeline-0.3.8.tar.gz
Algorithm Hash digest
SHA256 1c5fbba203e4e7e04f167ba520acd5a7d44f1eeafc114a39b9c4848ced8799e3
MD5 732aaabc37d0c5b4ea7e4736b7b5041b
BLAKE2b-256 698bbd5e868c1b42e1c3c6ec49855bc15169291b55a437a6bd5346d703ba0319

See more details on using hashes here.

File details

Details for the file acdc_aws_etl_pipeline-0.3.8-py3-none-any.whl.

File metadata

File hashes

Hashes for acdc_aws_etl_pipeline-0.3.8-py3-none-any.whl
Algorithm Hash digest
SHA256 a3598623b1fdd71b8958cf6925715b3ed03955107e969b3583f48c366d4315bc
MD5 c538c94f99461a3bd4ccdef76ff64ecc
BLAKE2b-256 c02e7078f58005a21a9f732e3678cafdfe51301ab1c68dd1f86bf7a4e3ae826c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page