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.0rc16
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.0rc16.tar.gz | 44.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| miqatools-2.0.0rc16-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 80.8 kB
Release files / miqatools-2.0.0rc16.tar.gz
| Download URL | miqatools-2.0.0rc16.tar.gz |
|---|---|
| Size | 44.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
af55642e35a727fa8b4251abc8701837fd2e560abdc6913b2bac95ec44262293
|
|
BLAKE2b-256 checksum How to use checksums |
1f59596aa2646133d269e6ed612674cd89c5af63590ff4d480ebd63c760d0ed7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.16
|
Release files / miqatools-2.0.0rc16-py3-none-any.whl
| Download URL | miqatools-2.0.0rc16-py3-none-any.whl |
|---|---|
| Size | 36.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
27b444c9f19f727884bb7881ce8f41bf34e0af0e61d5ae2317a2f815d754168d
|
|
BLAKE2b-256 checksum How to use checksums |
cff25786f0b56176dc0d1bf2d61b639dc93850cfa93bb42ceecddbee637a33e6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.16
|