Giter Site home page Giter Site logo

gendas's Introduction

Gendas

Gendas is a "pandas" like library focus on genomic datasets. It's a data query engine highly focus to work with genomic dataset that they can always be map to a genomic position and a sequence id.

The two main goals that differentiate Gendas from other generic data query engines are:

  • Native parallelization: When we apply some data manipulations in a genomic dataset, most of the times it's possible to split the genome in segments and compute each segment in parallel. Gendas tries to hide the parallelization complexity to the end users using a declarative syntax (very similar to Pandas and other dataframe libraries).
  • Native data sources: In the genomics field there are several widely use data formats (tabix, bams, fasta, fastq, bed...) Gendas can directly work and mix this data formats without reading everything in memory or inserting all the data to a different data storage system.

Installation

Install the development version using pip:

pip install git+https://github.com/jordeu/gendas

Note

Gendas is still in a very early alpha development stage. Please use it as a proof of concept and to help use debug the current implementation and to improve the interaface.

Usage

Check our example scripts and notebooks to learn how to use it. And browse the documentation at readthedocs.

License

Gendas is available to the general public subject to certain conditions described in its LICENSE.

gendas's People

Contributors

jordeu avatar

Watchers

James Cloos avatar  avatar  avatar

gendas's Issues

NotImplementedError: GendasMerge.__len__ not implemented

Using python 3.6 the tutorial OncodriveFML fails with this error:

NotImplementedError: GendasMerge.__len__ not implemented

This was working in previous python versions.

A possible workaround is to use a comprehension instead of the list constructor.

Replace:
list(gd['tcga'].merge(gd['cadd'], on=['REF', 'ALT'])['cadd']['PHRED'])

by:

[p for p in gd['tcga'].merge(gd['cadd'], on=['REF', 'ALT'])['cadd']['PHRED']]

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.