Pipline result processing program for the JASEN pipeline and Bonsai tool.
Project description
Pipeline result processor (prp)
A collection of parsers and data models for creation and validation of a standardized output for the jasen pipeline which is used as an input for bonsai.
[!WARNING] Bonsai-PRP is under development in an alpha stage. Expect uneven documentation, breaking changes, and bugs until the official 1.0 release.
Dependencies (latest)
- biopython
- pydantic=2.5.3
- python=3.10
Using prp
Use the help argument for information regarding the prp's methods
prp --help
Use the method help argument for information regarding the input for each of prp's methods (add-igv-annotation-track
, annotate-delly
, create-bonsai-input
, create-cdm-input
, create-qc-result
, print-schema
, rerun-bonsai-input
, validate
)
prp <method> --help
Create bonsai input from pipeline data
prp create-bonsai-input -i SAMPLE_ID -u RUN_METADATA_FILE -q QUAST_FILENAME -d PROCESS_METADATA_FILE -k KRAKEN_FILE -a AMRFINDER_FILE -m MLST_FILE -c CGMLST_FILE -v VIRULENCEFINDER_FILE -r RESFINDER_FILE -p POSTALIGNQC_FILE -k MYKROBE_FILE -t TBPROFILER_FILE --vcf VCF_FILE [--snv-vcf SNV_VCF_FILE] [--sv-vcf SV_VCF_FILE] [--symlink-dir SYMLINK_DIR] [--correct_alleles] -o OUTPUT_FILE [-h]
Create CDM input from pipeline data
prp create-cdm-input -q QUAST_FILENAME -c CGMLST_FILE -p POSTALIGNQC_FILE [--correct_alleles] -o OUTPUT_FILE [-h]
Create QC result from bam file
prp create-qc-result -i SAMPLE_ID --b BAM_FILE [-e BED_FILE] [-a BAITS_FILE] -r REFERENCE_FILE [-c CPUS] -o OUTPUT_FILE [-h]
Rerun bonsai input creation for all samples
prp rerun-bonsai-input -i INPUT_DIR -j JASEN_DIR -s SYMLINK_DIR -o OUTPUT_DIR -o OUTPUT_FILE [-h]
Add IGV annotation track to result
prp add-igv-annotation-track -n TRACK_NAME -a ANNOTATION_FILE -b BONSAI_INPUT_FILE -o OUTPUT_FILE [-h]
Validate output format of result json file
prp validate -o OUTPUT_FILE [-h]
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
bonsai_prp-0.11.2.tar.gz
(47.1 kB
view details)
Built Distribution
File details
Details for the file bonsai_prp-0.11.2.tar.gz
.
File metadata
- Download URL: bonsai_prp-0.11.2.tar.gz
- Upload date:
- Size: 47.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.15
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7ff56cb6f9a2674cb4bf3ed85af191d80fec508c9819348997d5d9485eb1fab0 |
|
MD5 | 719d7b9e762e74e9c9ed66185cd4bab3 |
|
BLAKE2b-256 | 97a1f65333afbf12ab3aceb93348c697f9d7757d258fd3f3531145a4fb4aa754 |
File details
Details for the file bonsai_prp-0.11.2-py3-none-any.whl
.
File metadata
- Download URL: bonsai_prp-0.11.2-py3-none-any.whl
- Upload date:
- Size: 55.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.15
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a717e2d13f182802a1ac20529d1814d3edc6538716686c64b6b63425587c825a |
|
MD5 | ec9d62e17d46a33452a3ff8ba9f71422 |
|
BLAKE2b-256 | 349e593a48bd8af2efa89d9f2c9272a4686367c5343c2de59ceffa10ad7546cf |