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)
Metadata
Release files for miqatools 2.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| miqatools-2.0.0.tar.gz | 47.1 kB | Without provenance | Details for miqatools-2.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| miqatools-2.0.0-py3-none-any.whl | Python 3 | none | any | Details for miqatools-2.0.0-py3-none-any.whl |
Total release size: 84.3 kB
Release files / miqatools-2.0.0.tar.gz
| Download URL | miqatools-2.0.0.tar.gz |
|---|---|
| Size | 47.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c97fe97d1af0b147dbf1b1ed50b67da042f55ba6c690e32e25e134691a91dd25
|
|
BLAKE2b-256 checksum How to use checksums |
1c4c912b9543569214b2617c110fbe90c76bb2358575f82f3c14621f23d23a62
|
| 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.0-py3-none-any.whl
| Download URL | miqatools-2.0.0-py3-none-any.whl |
|---|---|
| Size | 37.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b5c44ad8fd96ee7299a10ac3ce57cce72b4c6ff48ec67b4ba189ac68fcc3a565
|
|
BLAKE2b-256 checksum How to use checksums |
965da63ab353e9bceed40f8f92ea56a2fd4a434602241b4684e912b78f36ed78
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.16
|
Security for miqatools 2.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.