No project description provided
Project description
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)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
miqatools-2.0.0rc0.tar.gz
(26.3 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file miqatools-2.0.0rc0.tar.gz.
File metadata
- Download URL: miqatools-2.0.0rc0.tar.gz
- Upload date:
- Size: 26.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7b95f0cb9bb6f880d726b0da3253f750edc5b238d443aa9d794372a202243615
|
|
| MD5 |
724dca77457b7b0b029144ff4c789e8c
|
|
| BLAKE2b-256 |
da4e473b8fb35189a5fe0c8a48b1c944a878cd13417fea1fe3522873d6d2ceaf
|
File details
Details for the file miqatools-2.0.0rc0-py3-none-any.whl.
File metadata
- Download URL: miqatools-2.0.0rc0-py3-none-any.whl
- Upload date:
- Size: 26.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
25e08500d3b644139bb28d92086b586370dfc751ddf7277e5f95304935c1b4d8
|
|
| MD5 |
90fa901a966876d3c2afb1c9f2a857f1
|
|
| BLAKE2b-256 |
b85d02021bb23a615b0c7d5014e362db06987586cac239c72ad12753aee160f2
|