Code Monkey home page Code Monkey logo

denovonear's People

Contributors

jeremymcrae avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

denovonear's Issues

mutation rate table link changed?

Hi Jeremy,

I got the mutation rate table link from the paper: De novo mutations in congenital heart disease with neurodevelopmental and other congenital anomalies (http://science.sciencemag.org/content/350/6265/1262.full)
I just found that the link to download the mutation rate table has removed to a new directory.
The previous link is : https://github.com/jeremymcrae/denovonear/blob/master/data/forSanger_1KG_mutation_rate_table.txt
which is no more available.
Now the new link is https://github.com/jeremymcrae/denovonear/tree/master/denovonear/data/rates.txt

I'm wondering if the rate table version stays the same? Can I have the reason why the link changed please? We use that tab in our work and what to cite it in our paper.

In advance, thanks for your reply.

error when combining transcripts

Occasionally, we can get an error when combining transcripts

import tempfile

from denovonear.load_gene import construct_gene_object
from denovonear.ensembl_requester import EnsemblRequest

cache = tempfile.TemporaryDirectory()
ensembl = EnsemblRequest(cache.name, 'grch37')

tx1 = construct_gene_object(ensembl, 'ENST00000432832')
tx2 = construct_gene_object(ensembl, 'ENST00000344777')
tx3 = construct_gene_object(ensembl, 'ENST00000553600')

combined = tx1 + tx2

# this gives an error! Only occurs after tx1 and tx2 have been combined
combined = tx3 + combined

# but this does not, even though they should be identical
combined = combined + tx3

The error given is

Traceback (most recent call last):
  File "<stdin>", line 2, in <module>
  File "denovonear/transcript.pyx", line 221, in denovonear.transcript.Transcript.__add__
  File "denovonear/transcript.pyx", line 326, in denovonear.transcript.Transcript.add_genomic_sequence
IndexError: basic_string::substr

ImportError: cannot import name 'EnsemblRequest'

Hi,

i installed both denovonear and fitDNM, and it looks like "EnsemblRequest" is not getting imported (called by mutation_rates.py). I checked "from denovonear.ensembl_requester import EnsemblRequest", and ensembl_requester does not seem to include EnsemblRequest. Can you point to me where EnsemblRequest is defined?

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.