Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

Installing

pip3 install miqatools --upgrade

Usage

Multi-sample Test Execution

from miqatools.remoteexecution.triggertestandupload_python import trigger_test_and_upload_by_dsid
from miqatools.remoteexecution.triggertest_helpers import get_trigger_info

server_url = "YOURCO.miqa.io"
trigger_id = "YOUR_TRIGGER_ID"
api_key = "YOUR_API_KEY"

# First create the lookup of test result file locations for each dataset:
ds_id_mapping = get_trigger_info(server_url, trigger_id, api_key=api_key).get("ds_id_mapping", {}).get("results",{}).get("data",{})
locations_lookup_by_dsid = {ds_id_mapping.get(k):v for k,v in locations_lookup_by_samplename.items()}

# Use the dataset location lookup and trigger info to kick off "execution" of the trigger, uploading the outputs
run_id = trigger_test_and_upload_by_dsid(server_url, trigger_id, "YOUR_VERSION_NAME", locations_lookup_by_dsid, filepatterns=["*.vcf"], api_key=api_key)

Create and Tag Stand-In Datasets

from miqatools.datamanagement.datasethelpers import batch_create_datasets_and_tag_or_group

server_url = "YOURCO.miqa.io"
trigger_id = "YOUR_TRIGGER_ID"
api_key = "YOUR_API_KEY"

batch_create_datasets_and_tag_or_group(server_url, 1, 1, ["Sample1","Sample2"], ["BATCH_1","another_tag"], "BATCH_1", api_key=api_key)

Release files for miqatools 2.0.0rc2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for miqatools 2.0.0rc2
File Size Uploaded
miqatools-2.0.0rc2.tar.gz 29.4 kB Details

Release files / miqatools-2.0.0rc2.tar.gz

Download URL miqatools-2.0.0rc2.tar.gz
Size 29.4 kB
Tags Source
SHA-256 checksum
How to use checksums
82d74357b720e566984048f601a284557ed3c41203d37e621ce1ac22c140c147
BLAKE2b-256 checksum
How to use checksums
5d0efb620945d47c6683bbcec3728acaa10d28ae31756afbb4c4f4928ab7ae7f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.2

Release history Release notifications | RSS feed

2.0.0

2 release files

This release

2.0.0rc2 This release

1 release file

1.1.13

1 release file

1.1.12

1 release file

1.1.11

1 release file

1.1.10

1 release file

1.1.9

1 release file

1.1.8

1 release file

1.1.7

1 release file

1.1.6

1 release file

1.1.5

1 release file

1.1.3

1 release file

1.1.2

1 release file

1.1.1

1 release file

1.1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page