Skip to content
forked from lemieuxl/pybgen

Python module to process BGEN files as dosage data

License

Notifications You must be signed in to change notification settings

godotgildor/pybgen

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

95 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status Coverage Status PyPI version

pybgen - Module to process BGEN files

PyBGEN is a Python module to read and write BGEN binary files and extract dosage data.

A short documentation is available at https://lemieuxl.github.io/pybgen/.

Dependencies

The tool requires a standard Python installation (2.7 and 3.4 or higher are supported) with the following modules:

  1. numpy version 1.12.0 or latest
  2. six version 1.10.0 or latest
  3. boto3 version 1.9.47 or latest
  4. requests version 2.20.0 or latest

The tool has been tested on Linux, but should work on MacOS and Windows operating systems as well.

Installation

Using pip:

pip install pybgen

Using conda:

conda install pybgen -c http://statgen.org/wp-content/uploads/Softwares/pybgen

It is possible to add the channel to conda's configuration, so that the -c http://statgen.org/... can be omitted to update or install the package. To add the channel, perform the following command:

conda config --add channels http://statgen.org/wp-content/uploads/Softwares/pybgen

Updating

To update the module using pip:

pip install -U pybgen

To update the module using conda:

# If the channel has been configured (see above)
conda update pybgen

# Otherwise
conda update pybgen -c http://statgen.org/wp-content/uploads/Softwares/pybgen

Testing

To test the module, just perform the following command:

$ python -m pybgen.tests
......................................................................
......................................................................
......................................................................
......................................................................
......................................................................
......................................................................
............................................
----------------------------------------------------------------------
Ran 464 tests in 19.772s

OK

About

Python module to process BGEN files as dosage data

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 99.9%
  • Shell 0.1%