Skip to content

misshie/bioruby-dbsnp

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
lib
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

bio-dbsnp

A library to decode “bitfield” information in dbSNP. In VCF format, bitfiled is contained in the “VP” field in the INFO column.

Further details of the format is shown in ftp.ncbi.nlm.nih.gov/snp/specs/dbSNP_BitField_latest.pdf

how to install

gem install bio-dbsnp

how to use

require 'bio-dbsnp'

vp = "050000000000000000000200"
bf = Bio::NCBI::Dbsnp::Bitfield.parse vp
bf.version #=> 5
bf.variation_class #=> :dips

See lib/bio/ncbi/dbsnp/bitfield.rb for implementation. spec/bio-dbsnp_spec.rb also describes a usage.

Copyright © 2011 Hiroyuki Mishima (missy at be.to, @mishimahryk at Twitter). See LICENSE.txt (the MIT Licence) for further details.

About

Utilities to handle dbSNP bitfield information

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages