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.0rc12
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| miqatools-2.0.0rc12.tar.gz | 43.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| miqatools-2.0.0rc12-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 78.9 kB
Release files / miqatools-2.0.0rc12.tar.gz
| Download URL | miqatools-2.0.0rc12.tar.gz |
|---|---|
| Size | 43.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5172eae950a8c4ca35b926779ac370504ccf730cb9dc86d6ce224511d32cb81f
|
|
BLAKE2b-256 checksum How to use checksums |
1616f08c89ed54b61feaf7a7391c731fa79e0abe0f53c3960c464f0d5084bcc7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.15
|
Release files / miqatools-2.0.0rc12-py3-none-any.whl
| Download URL | miqatools-2.0.0rc12-py3-none-any.whl |
|---|---|
| Size | 35.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2f2a1d26ae14d0aa626f5078e99daf39046bcb3547664b77a75cf37ae9d7842d
|
|
BLAKE2b-256 checksum How to use checksums |
630dcd4d4bd56ec0e541fb0c458d20f476f78a2cb8e806714b1ed2af49c06d92
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.15
|