Package for adding new tools to json file, checking their versions and creating tasks in JIRA
Project description
Iseq resources
Scripts that allow you to:
- Adding a new tool to the JSON file
- Iterating over the tools in the JSON file and checking the latest version, and in the case of a new version, adding a tooltip to JIRA
Install
pip install iseqresources
Adding a new tool
add_new_tool --input-json "/path/to/json/file.json"
Checking versions and add task to JIRA
check_versions \
--input-json "/path/to/json/tools.json" \
--info-json "/path/to/json/info.json"
What JSON files should look like
--input-json:
[
{
"name": "AnnotSV",
"current_version": "v3.0",
"newest_version": "",
"last_check": "",
"test": "github",
"repoWithOwner": "lgmgeo/AnnotSV",
"update_task": [
"sv_annotsv"
]
},
{
"name": "Uniprot",
"current_version": "2021_03",
"expected_version": [
"2021_04",
"2021_05",
"2021_06",
"2022_01",
"2022_02",
"2022_03"
],
"newest_version": "",
"last_check": "",
"test": "url-check",
"url": "https://ftp.uniprot.org/pub/databases/uniprot/previous_releases/release-{expected_version}/",
"update_task": [
"vcf_acmg_ps3"
]
},
{
"name": "Clinvar",
"current_version": "202206",
"expected_version": [
"202207",
"202208",
"202209",
"202210"
],
"release_day": "unknown",
"newest_version": "",
"last_check": "",
"test": "url-check",
"url": "https://ftp.ncbi.nlm.nih.gov/pub/clinvar/vcf_GRCh38/clinvar_{expected_version}{wildcard}.vcf.gz.md5",
"update_task": [
"vcf_acmg_ps3"
]
},
{
"name": "hpo",
"current_version": "2022/01/13",
"newest_version": "",
"update_every_nth_month": 3,
"test": "update-every-nth-month",
"url": "https://hpo.jax.org/app/download/annotation and https://hpo.jax.org/app/download/ontology",
"update_task": [
"vcf_anno_hpo"
]
}
]
--info-json:
{
"server": "https://test.atlassian.net",
"epic_id": "TEST-2",
"project_key": "TEST"
}
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
iseqresources-0.0.1.tar.gz
(7.9 kB
view details)
File details
Details for the file iseqresources-0.0.1.tar.gz.
File metadata
- Download URL: iseqresources-0.0.1.tar.gz
- Upload date:
- Size: 7.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
591616f5e467a6de112fea1fc9566b7832a3557db093d257ca202828890719a5
|
|
| MD5 |
f4359bff5c33eb9940502578bb64264e
|
|
| BLAKE2b-256 |
1ff5b4c6cb864906064d0315a4ed31e145b8ecf98b7b1873c1ff83ed6ad7931a
|