Giter Site home page Giter Site logo

gauravearn / bcftools-filter Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 163 KB

bcftools for dealing with bcf files.

License: MIT License

Python 100.00%
bioinformatics-algorithms oxford-nanopore pacbio-data pacbio-sequencing sequencing variant-analysis variant-calling variants

bcftools-filter's Introduction

bcftools-filter

making bcftools filtering easy. implementation of the bcftools which will allow for the faster filtering of the variant calls according to the allelic depth and the tags using simple to overlap approaches as compared to implementing the regular patterns. a bcf filter for filtering the variants and it parses the variants in a flash of a minute. you can filter the variants according to the svtype, filter_type, position, allelicdepth, readdepth and chromosome. A complete human genome parsed in less than 1 minute the link to the data is also given. This is a demo dataset. I am releasing a new faster scala implementation which will be more faster than this and can parse the complete in a flick of a second.

bcffiler(bcf_file="/Users/gauravsablok/Desktop/CodeCheck/broad/hs37d5.HG002-SequelII-CCS.bnd-only.sv.vcf", 
                                           svtype = "DUP",readdepth = "21")
1	10448	pbsv.BND.1:10448-10:135524737	C	C]10:135524737]	.	NearReferenceGap	SVTYPE=INV;CIPOS=-9,20;MATEID=pbsv.BND.10:135524737-1:10448	GT:AD:DP	0/1:27,3:30	GT	AD	DP	structural_type	CIPOS	mateID
1	1	1584767.0	pbsv.BND.1:1584767-hs37d5:12063285	C	C[hs37d5:12063285[	.	Decoy	SVTYPE=DUP;CIPOS=0,1;MATEID=pbsv.BND.hs37d5:12...	GT:AD:DP	0/1:16,5:21	[0, 1]	16,5	21	DUP	[CIPOS, 0,1]	[MATEID, pbsv.BND.hs37d5:12063285-1:1584767]
2	1	2368006.0	pbsv.BND.1:2368006-hs37d5:6505668	C	C]hs37d5:6505668]	.	Decoy	SVTYPE=DUP;CIPOS=-35,36;MATEID=pbsv.BND.hs37d5...	GT:AD:DP	0/1:9,2:11	[0, 1]	9,2	11	DUP	[CIPOS, -35,36]	[MATEID, pbsv.BND.hs37d5:6505668-1:2368006]
bcffiler(bcf_file="/Users/gauravsablok/Desktop/CodeCheck/broad/hs37d5.HG002-SequelII-CCS.bnd-only.sv.vcf", svtype = "DUP")
	1	10448	pbsv.BND.1:10448-10:135524737	C	C]10:135524737]	.	NearReferenceGap	SVTYPE=INV;CIPOS=-9,20;MATEID=pbsv.BND.10:135524737-1:10448	GT:AD:DP	0/1:27,3:30	GT	AD	DP	structural_type	CIPOS	mateID
1	1	1584767.0	pbsv.BND.1:1584767-hs37d5:12063285	C	C[hs37d5:12063285[	.	Decoy	SVTYPE=DUP;CIPOS=0,1;MATEID=pbsv.BND.hs37d5:12...	GT:AD:DP	0/1:16,5:21	[0, 1]	16,5	21	DUP	[CIPOS, 0,1]	[MATEID, pbsv.BND.hs37d5:12063285-1:1584767]
2	1	2368006.0	pbsv.BND.1:2368006-hs37d5:6505668	C	C]hs37d5:6505668]	.	Decoy	SVTYPE=DUP;CIPOS=-35,36;MATEID=pbsv.BND.hs37d5...	GT:AD:DP	0/1:9,2:11	[0, 1]	9,2	11	DUP	[CIPOS, -35,36]	[MATEID, pbsv.BND.hs37d5:6505668-1:2368006]

Gaurav
Academic Staff Member
Bioinformatics
Institute for Biochemistry and Biology
University of Potsdam
Potsdam,Germany

bcftools-filter's People

Watchers

Gaurav 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.