Coder Social home page Coder Social logo

hrdecipher's Introduction

HRDecipher

Table of Contents

  1. [Introduction] (#introduction)
  2. [Installation] (#installation)
  3. [Usage] (#usage)

Introduction

HRDecipher is a simple Python script that computes HRD genomic scars and plot each scar on chromosomes.

Installation

HRDecipher can be installed via git

git clone https://github.com/ZKai0801/HRDecipher.git

Python package pandas is required:

pip install pandas

R package argparse and karyoploteR is also required to visualise genomic scars

install.packages('argparse');

if (!requireNamespace("BiocManager", quietly = TRUE))
    install.packages("BiocManager")
BiocManager::install("karyoploteR")

Usage

[kai@admin HRDecipher]$ python3 HRDecipher.py -h
usage: HRDecipher.py [-h] [-o OUTPUT] input

positional arguments:
  input                 sampleID.pre_hrd.tsv, must contain following columns:
                        Chromosome, Start_position, End_position, total_cn,
                        A_cn, B_cn, ploidy

optional arguments:
  -h, --help            show this help message and exit
  -o OUTPUT, --output OUTPUT
                        Output file prefix

Sequenza is by far the most popular CNV caller that used in HRD calculation. But of course, any CNV callers that incorporates celluarity and ploidy calculation will do.

Here is an example pipeline: Sequenza_HRD.sh

Beware that although NGS data from many targeted-sequencing panels can be used to calculate HRD scars, ideally only WES/WGS data or panels that specifically designed that uniformly enriched on heterozygous sites (similar with SNP-array technology) are suitable for this aim.

hrdecipher's People

Contributors

zkai0801 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.