Tool to submit genomics pipeline outputs to the ENCODE Portal
Project description
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.6
$ 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.
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
Built Distribution
File details
Details for the file accession-4.8.2.tar.gz
.
File metadata
- Download URL: accession-4.8.2.tar.gz
- Upload date:
- Size: 101.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.6.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 26049e77eb7c6b760840eb7392fde76440edcb441961d389efe80627b81ef937 |
|
MD5 | 131e889756c9a2f43e4668dc033ed27d |
|
BLAKE2b-256 | 7e77f2ac35427714864c711221a895345a89ab76c86ae12410137a0fe9d60cd2 |
File details
Details for the file accession-4.8.2-py3-none-any.whl
.
File metadata
- Download URL: accession-4.8.2-py3-none-any.whl
- Upload date:
- Size: 131.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.6.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2eae51fe391a9ee5e6635f2c63d5dae4acfd075ee714dd33333410aaf4e65b92 |
|
MD5 | 74151d79c0056bff9ac9469b8121e296 |
|
BLAKE2b-256 | 5676e9552718bd3231ba4aa80555abe48534aa2b3face89669cbceed3e9652fa |