Skip to main content

Tools for working with JAFFA fusion gene detection

Project description

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")  

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

jaffatools-0.5.0.tar.gz (34.2 kB view details)

Uploaded Source

File details

Details for the file jaffatools-0.5.0.tar.gz.

File metadata

  • Download URL: jaffatools-0.5.0.tar.gz
  • Upload date:
  • Size: 34.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.12

File hashes

Hashes for jaffatools-0.5.0.tar.gz
Algorithm Hash digest
SHA256 3ba4e9d8ca60885aadfac8007f650be329bf16ea9ae0930c8162f6a3f337a078
MD5 944229061ba9511feb57c10045cbf171
BLAKE2b-256 79eeb182c851028f5f94f46d753cd52a239f76d3ef36926d2e3f319bb07bd6c6

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page