Skip to main content

JaffaTools

A Python toolkit for JAFFA fusion gene detection

Instructions

  1. Filter FASTQ files: Filter FASTQ files based on the reads in the BAM file and keep only matching reads.
  2. Run JAFFA: Encapsulates the running function of the JAFFA fusion gene detection process.
  3. Add NB:Z tags: Extract NB:Z tags from the BAM file and add them to the JAFFA result CSV file.
  4. jaffa-viz: Visualize JAFFA results
    1. jaffa-viz circos: Creates Circos plots to visualize fusion genes
    2. jaffa-viz cell-stats: Generates statistics about fusion genes per cell
    3. jaffa-viz class-stats: Creates plots showing the classification of fusion genes

Install

pip install jaffatools

Dependencies

System Requirements

  • Python: 3.6 or later
  • R: 4.0.0 or later (Required for visualization functions)

Python Dependencies

  • NumPy: For numerical operations
  • pandas: For data manipulation
  • pysam: For parsing and manipulating SAM/BAM file
  • subprocess: For executing R scripts (built-in)
  • argparse: For command-line interface (built-in)
  • os: For file path operations (built-in)

R Package Dependencies

The visualization functions require the following R packages:

  • data.table: Fast data manipulation
  • ggplot2: Statistical data visualization
  • RCircos: Circular visualization of genomic data
  • gtools: Various R programming tools
  • dplyr: Data manipulation grammar

Installation of R Dependencies

You can install all required R packages with the following R command:

install.packages(c("data.table", "ggplot2", "RCircos", "gtools", "dplyr"))  
if (!requireNamespace("BiocManager", quietly = TRUE))  
    install.packages("BiocManager")  
BiocManager::install("RCircos")  

Metadata

Release files for jaffatools 0.5.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for jaffatools 0.5.0
File Size Uploaded Provenance Actions
jaffatools-0.5.0.tar.gz 34.2 kB Without provenance Details for jaffatools-0.5.0.tar.gz

Release files / jaffatools-0.5.0.tar.gz

Download URL jaffatools-0.5.0.tar.gz
Size 34.2 kB
Tags Source
SHA-256 checksum
How to use checksums
3ba4e9d8ca60885aadfac8007f650be329bf16ea9ae0930c8162f6a3f337a078
BLAKE2b-256 checksum
How to use checksums
79eeb182c851028f5f94f46d753cd52a239f76d3ef36926d2e3f319bb07bd6c6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.9.12

Security for jaffatools 0.5.0

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page