Skip to main content

Python programs for analyzing splicing junctions

Project description

junc_utils

License: GPL v3 Build Status

Utility functions for analyzing splicing junction (generated by STAR, .SJ.out.tab files)

Dependency

Python

pysam, annot_utils>=0.3.0 packages.

Software

htslib, bedtools

Install

pip install junc_utils

Alternatively, you can install from the source code

wget https://github.com/friend1ws/junc_utils/archive/v0.5.0.tar.gz
tar zxvf v0.5.0.tar.gz
cd junc_utils-0.5.0
python setup.py build install

This package has been tested on Python 3.6, 3.7, 3.8, 3.9

Commands

fitler

filter out splicing junctions outside specified conditions

junc_utils filter [-h] [--read_num_thres READ_NUM_THRES]
                         [--overhang_thres OVERHANG_THRES] [--keep_annotated]
                         [--pooled_control_file POOLED_CONTROL_FILE]
                         sample.SJ.out.tab output.txt

annotate

annotate splicing junctions

junc_utils annotate [-h] [--grc] [--genome_id {hg19,hg38,mm10}]
                           [--junction_margin JUNCTION_MARGIN]
                           [--exon_margin EXON_MARGIN]
                           sample.SJ.out.tab output.txt

merge_control

merge, compress and index the splicing junction list

junc_utils merge_control [-h] [--read_num_thres READ_NUM_THRES]
                                [--overhang_thres OVERHANG_THRES]
                                [--keep_annotated]
                                [--sample_num_thres SAMPLE_NUM_THRES]
                                junc_list.txt output_path

associate

associate junctions with mutations or SVs

junc_utils associate [-h] [--grc] [--genome_id {hg19,hg38,mm10}]
                            [--donor_size donor_size]
                            [--acceptor_size acceptor_size]
                            [--reference reference.fa] [--debug]
                            [--mutation_format {vcf,anno}] [--only_dist]
                            [--only_dist_search_margin only_dist_search_margin]
                            [--sv] [--branchpoint]
                            [--branchpoint_size branchpoint_size]
                            annotated_junction.SJ.out.tab mutation.vcf.gz
                            output_file

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

junc_utils-0.5.2.tar.gz (18.3 kB view details)

Uploaded Source

Built Distribution

junc_utils-0.5.2-py3-none-any.whl (32.5 kB view details)

Uploaded Python 3

File details

Details for the file junc_utils-0.5.2.tar.gz.

File metadata

  • Download URL: junc_utils-0.5.2.tar.gz
  • Upload date:
  • Size: 18.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4

File hashes

Hashes for junc_utils-0.5.2.tar.gz
Algorithm Hash digest
SHA256 10a5981d348beb6fed67caf007bb290bf491665b3ed8ec091f423de993bb5148
MD5 2b8b025d1d1421ea98ca377f7ed262ea
BLAKE2b-256 6d31c0e8ca7b0126f918ab47c350940f1a2e80c4643d44903982a5e53e3bc6c6

See more details on using hashes here.

File details

Details for the file junc_utils-0.5.2-py3-none-any.whl.

File metadata

  • Download URL: junc_utils-0.5.2-py3-none-any.whl
  • Upload date:
  • Size: 32.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4

File hashes

Hashes for junc_utils-0.5.2-py3-none-any.whl
Algorithm Hash digest
SHA256 23f0c5eb2e850986a4600c3e3a12bf3c01a7ad64a53718402bd5536b1db692c2
MD5 d603ecfa6ce95eedd411a6af89072517
BLAKE2b-256 e5a47ea7a52ab73d68109e924da8f5f6942fe285c81681b477bdbaaab25a9d8a

See more details on using hashes here.

Supported by

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