accession
accession is a Python module and command line tool for submitting genomics pipeline analysis output files and metadata to the ENCODE Portal.
Installation
Note: installation requires Python >= 3.8
$ pip install accession
Next, provide your API keys from the ENCODE portal:
$ export DCC_API_KEY=XXXXXXXX
$ export DCC_SECRET_KEY=yyyyyyyyyyy
$ export DCC_LAB=XXXXXXXX
$ export DCC_AWARD=yyyyyyyyyyy
$ gcloud auth login --no-launch-browser
$ gcloud auth application-default login --no-launch-browser
$ export ACCESSION_CLOUD_TASKS_QUEUE_NAME=my-queue
$ export ACCESSION_CLOUD_TASKS_QUEUE_REGION=us-west1
Usage
$ accession -m metadata.json \
-p mirna \
-s dev
Please see the docs for greater detail on these input parameters.
Deploying on Google Cloud
AWS Notes
To enable S3 to S3 copy from the pipeline buckets to the ENCODE buckets, ensure that the pipeline bucket policy grants read access to the ENCODE account. Here is an example policy:
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "DelegateS3AccessGet",
"Effect": "Allow",
"Principal": {
"AWS": [
"arn:aws:iam::618537831167:root",
"arn:aws:iam::159877419961:root"
]
},
"Action": "s3:GetObject",
"Resource": "arn:aws:s3:::PIPELINE-BUCKET/*"
},
{
"Sid": "DelegateS3AccessList",
"Effect": "Allow",
"Principal": {
"AWS": [
"arn:aws:iam::618537831167:root",
"arn:aws:iam::159877419961:root"
]
},
"Action": "s3:ListBucket",
"Resource": "arn:aws:s3:::PIPELINE-BUCKET"
}
]
}
Project Information
accession is released under the MIT license, documentation lives in readthedocs, code is hosted on github and the releases on PyPI.
Metadata
Release files for accession 4.8.4
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 |
|---|---|---|---|---|
| accession-4.8.4.tar.gz | 102.8 kB | Without provenance | Details for accession-4.8.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| accession-4.8.4-py3-none-any.whl | Python 3 | none | any | Details for accession-4.8.4-py3-none-any.whl |
Total release size: 237.7 kB
Release files / accession-4.8.4.tar.gz
| Download URL | accession-4.8.4.tar.gz |
|---|---|
| Size | 102.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
19eb62abc083a2370d62e7171c0f9bf1347b96ecbea98ebc57580cbebe2032b3
|
|
BLAKE2b-256 checksum How to use checksums |
d05f66992f4c1298ce17e12c3b7fe7edc3c470c3c6d4aa9b8f52834884b041a4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.13
|
Release files / accession-4.8.4-py3-none-any.whl
| Download URL | accession-4.8.4-py3-none-any.whl |
|---|---|
| Size | 134.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
34a0f2280a46abc39a8c765da8dc1142f2d4eadacbbf0a2a73369aea5bb9438e
|
|
BLAKE2b-256 checksum How to use checksums |
b5ceb862b70742d228c2a7065aafc4289a3d777b8b9af5b0341b9d0c35f5b87f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.13
|
Security for accession 4.8.4
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.