Giter Club home page Giter Club logo

pybio's Introduction

grexor :-)

pybio's People

Contributors

grexor avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

markmetheny143

pybio's Issues

pybio config

Remove pybio config user input prompt, problematic for Dockerization

genomes.find_linear: TypeError from bisect

Hi,

The genomes function find_linear throws the following error:

.../genomes/init.py", line 475, in find_linear
index = bisect.bisect_left(genome_linear, (pos,"",""))
TypeError: '<' not supported between instances of 'int' and 'str'

A workaround that worked for me is to use tuples of two integers:

genome_linear_coords = [i[0:2] for i in genome_linear] 
index = bisect.bisect_left(genome_linear_coords, (pos,pos))

Best,
Daniel

Develop unit test for pybio.genomes.annotate

Create a virtual GTF file with a few genes, both strands, one chromosome. Iterate over all the chromosome and for each position determine if pybio.genomes.annotate works as expected (produce truth array and compare).

prepare or prepare_gtf to be used?

Hi Gregor,

I have been using your tool to develop a simplified version of the tool for my requirement of figuring out differentially expressed polyA sites. Taking aid of your recent documentation, I have been able to generate the polyA atlas. Currently I am figuring out the call annotation(poly_id) in the process function of apa/polya directory.

What I understand is:

annotate(poly_id) calls pybio.genomes.annotate,
pybio.genomes.annotate calls load(species) which requires the genes, intervals and linear json.

genes, intervals and linear json are created in prepare and prepare_gtf.
Please let me know if I am going the right way? If yes, which function should I use: prepare or prepare_gtf?

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.