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=v1.0.0
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.7.1.tar.gz (36.7 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.7.1-py3-none-any.whl (41.7 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for acdc_aws_etl_pipeline-0.7.1.tar.gz
Algorithm Hash digest
SHA256 7ac38ec3d972e69cfd562e93bed996372629c2cde67a88f62539a20a198f8b41
MD5 c2ed493ee24a596b9fb391506902b6cc
BLAKE2b-256 4220aff2d7f7a61fa6709a5bbbfe60fad117bca63a8fd05d3043876fed6df6cc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for acdc_aws_etl_pipeline-0.7.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4537007bf3957f0de0c5d5719ce2de69d65d3be6d9814c83ee46b6430e5b2c0f
MD5 762c5d7274d06645fbc8e85167ab5ea1
BLAKE2b-256 747dd2f6fd969be2f5800b728c5a8d37b4b61d475cd3448d7ae90efc39815839

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