Git Product home page Git Product logo

svision's Introduction

SVision is a deep learning-based structural variants caller that takes aligned reads or contigs as input. Especially, SVision implements a targeted multi-objects recognition framework, detecting and characterizing both simple and complex structural variants from three-channel similarity images.

License

SVision is free for non-commercial use by academic, government, and non-profit/not-for-profit institutions. A commercial version of the software is available and licensed through Xi’an Jiaotong University. For more information, please contact with Jiadong Lin ([email protected]) or Kai Ye ([email protected]).

Installation

Install from source

## Get the source code
git clone https://github.com/xjtu-omics/SVision.git
cd SVision
## Create a conda environment for SVision
conda env create -f ./environment.yml 
## Install from source
conda activate svisionenv
python setup.py install

The Pip and Conda install would be available later.

Docker

Pull docker image

docker pull jiadongxjtu/svision:1.3.6

Run docker image

docker run jiadongxjtu/svision:1.3.6 SVision -h

Note: Please ensure you have the permission to write into docker.

Usage

Please visit our wiki page for performance evaluation.

Short usage

SVision [parameters] -o <output path> -b <input bam path> -g <reference> -m <model path>

Check all parameters with

SVision -h

Required Input/Ouput parameters

-o OUT_PATH           Absolute path to output
-b BAM_PATH           Absolute path to bam file
-m MODEL_PATH         Absolute path to CNN predict model
-g GENOME             Absolute path to your reference genome (.fai required in the directory)
-n SAMPLE             Name of the BAM sample name

-g path to the reference genome, the index file should under the same directory.

-m path to the pre-trained deep learning model svision-cnn-model.ckpt (external download link).

Please check the wiki page for more usage and parameter details.

Run demo data

The demo data is ./supports/HG00733.svision.demo.bam. The HiFi whole genome sequencing data of HG00733 is published on Science.

Run with graph option

  1. Download the reference genome GRCh38

  2. Run SVision with your reference

SVision -o ./output_dir -b ./supports/HG00733.svision.demo.bam -m /path/to/svision-cnn-model.ckpt -g ./reference.fa -n HG00733 -s 5 --graph --qname

Please use the same parameter settings if you use the docker image.

  1. Output files

*.graph.vcf The standard VCF output with CSV graph info columns.

*.graph_exactly_match.txt CSV graphs of exactly identical structure.

*.graph_symmetry_match.txt Identified isomorphic graphs from all CSV graphs.

graphs The directory for CSV graph in rGFA format.

Please check the wiki page for more details of output format.

Contact

If you have any questions, please feel free to contact: [email protected], [email protected]

svision's People

Contributors

jiadong324 avatar zhaohh52 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.