1 Star 0 Fork 0

Velcon-Zheng/basevar

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README

BaseVar

This is the official development repository for BaseVar, which call variants for ultra low-pass (<1.0x) WGS data, especially for NIPT data.

Prerequisites

BaseVar requires HTSlib 1.3(or later) and Cython. You should compile htslib and install Cython before build BaseVar.

pip install cython

HTSlib can be downloaded from the htslib web site.

To compile and install HTSlib, cd into HTSlib source and type make install. This will install HTSlib under /usr/local/ (see note below). To install HTSlib in any other directory use make install prefix=/path/to/dir.

NOTE: HTSlib should be installed in a standard location (e.g. /usr/local/).

If not installed in a standard location, you will need to set your library paths:

For GNU/Linux

export C_INCLUDE_PATH=/path/to/dir/include
export LIBRARY_PATH=/path/to/dir/lib
export LD_LIBRARY_PATH=/path/to/dir/lib

Note the /include and /lib sub-directories. e.g. if you installed HTSlib under /Users/me/htslib then set

export C_INCLUDE_PATH=/Users/me/htslib/include
export LIBRARY_PATH=/Users/me/htslib/lib
export LD_LIBRARY_PATH=/Users/me/htslib/lib

HTSlib will automatically make the include and lib directories on install.

For OSX

export C_INCLUDE_PATH=/path/to/dir/include
export LIBRARY_PATH=/path/to/dir/lib
export DYLD_FALLBACK_LIBRARY_PATH=/path/to/dir/lib

Installation

To build BaseVar, please download the stable version which is v0.8.0, do the following:

wget https://github.com/ShujiaHuang/basevar/archive/v0.8.0.tar.gz

Then do

$ tar zxvf v0.8.0.tar.gz
$ cd basevar-0.8.0/
$ python setup.py install

Now you can use basevar in your commandline.

Quick start

Call variants from several bamfiles

basevar basetype -R reference.fasta \
    --regions chr11:5246595-5248428,chr17:41197764-41276135 \
    --batch-count 50 \
    -I 00alzqq6jw.bam \
    -I 09t3r9n2rg.bam \
    -I 0fkpl1p55b.bam \
    -I 13dg1gvsfk.bam \
    -I 17phildszl.bam \
    -I 1dbpgqt0dq.bam \
    -I 1kyws27hoc.bam \
    --output-vcf test.vcf.gz \
    --output-cvg test.cvg.tsv.gz \
    --nCPU 4 && echo "** job done **"

Or call variants from bamlist

basevar basetype -R reference.fasta \
    --regions chr11:5246595-5248428,chr17:41197764-41276135 \
    --batch-count 50 \
    -L bamfile.list \
    --output-vcf test.vcf.gz \
    --output-cvg test.cvg.tsv.gz \
    --nCPU 4 && echo "** job done **"

空文件

简介

暂无描述 展开 收起
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/Velcon-Zheng/basevar.git
git@gitee.com:Velcon-Zheng/basevar.git
Velcon-Zheng
basevar
basevar
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385