newt-transformer
Metadata transformer to convert from gen3 to something readable by cgp-dss-data-loader
Common Setup
-
(optional) We recommend using a Python 3 virtual environment.
-
Run:
pip3 install newt-transformer
Setup for Development
-
Clone the repo:
git clone https://github.com/jessebrennan/newt-transformer.git -
Go to the root directory of the cloned project:
cd newt-transformer -
Run (ideally in a new virtual environment):
make develop
Running Tests
-
make sure you followed Setup for Development
-
Run:
make test
Transforming data from sheepdog-exporter
-
The first step is to extract the Gen3 data you want using the sheepdog exporter. The TopMed public data extracted from sheepdog is available on the release page under Assets. Assuming you use this data, you will now have a file called
topmed-public.json -
Make sure you are running the virtual environment you set up in the Setup instructions.
-
Now we need to transform the data. From the root of the project run:
newt new /path/to/topmed-public.json --output-json transformed-topmed-public.jsonThis will generate a transformed output file called
transformed-topmed-public.json.The
newargument specifies that we want the most recent version of the transformer output format. It can be replaced with agen3argument, but this older format will soon be deprecated. -
Likely you want to upload this data to the DSS. Instructions for this can be found at the DSS data loader repo.
Transformer Architecture
Metadata
Release files for newt-transformer 0.1.7
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 |
|---|---|---|---|---|
| newt-transformer-0.1.7.tar.gz | 11.8 kB | Without provenance | Details for newt-transformer-0.1.7.tar.gz |
Release files / newt-transformer-0.1.7.tar.gz
| Download URL | newt-transformer-0.1.7.tar.gz |
|---|---|
| Size | 11.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
85e2dad8ace31b747a570311619f5025cbb5daf3b4c93a76967819fa51cf1749
|
|
BLAKE2b-256 checksum How to use checksums |
a4a092d4788855e8edc13ccbfa39fbd22aa84a4fca7c58eca4ebb0aa2b46dbd1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for newt-transformer 0.1.7
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.