Git Product home page Git Product logo

conifer's People

Contributors

nkrumm avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

conifer's Issues

Calculating rpkm fails

@nkrumm
conifer throws out this error please do mention what i did wrong
have attached the probes.txt file and the indexed bam file that i am using
probes.txt

   [INIT] Successfully read in 194080 probes from ../sampledata/probes.txt
   [RUNNING] Counting total number of reads in bam file...
   [RUNNING] Found 2083467 reads
   [RUNNING] Calculating RPKM values...
   conifer.py:617: RuntimeWarning: invalid value encountered in divide
      rpkm = (10**9*(readcount)/(exon_bp))/(total_reads)

when i tried conifer on another machine this error pops up

Traceback (most recent call last): File "conifer.py", line 682, in <module> args.func(args) File "conifer.py", line 564, in CF_bam2RPKM if not f._hasIndex(): AttributeError: 'pysam.csamfile.Samfile' object has no attribute '_hasIndex'

your help is much appreciated

Matplotlib runs out of memory with > 20 plots

When a user plots many calls in one command using the
python conifer.py plotcalls --input analysis.hdf5 --calls calls.txt --outputdir call_imgs
command, matplotlib does not correctly close all the figures and eventually chokes.

Issue with python script

Dear Nik,

I am trying to use CoNIFER but I have the following bug when running conifer.py:
Traceback (most recent call last):
File "conifer.py", line 682, in
args.func(args)
File "conifer.py", line 545, in CF_bam2RPKM
probes = cf.loadProbeList(probe_fn)
File "conifer_functions.py", line 96, in loadProbeList
probes.append({'probeID': probeID, 'chr':chrStr2Int(row['chr']),'start':int(row['start']),'stop':int(row['stop']), 'name':row['name']})
KeyError: 'stop'

Bug in conifer_functions.py

Line 112 in conifer_functions.py should be:
return np.loadtxt(rpkm_filename, dtype=np.float, delimiter="\t", skiprows=0, usecols=[2])
instead of
return np.loadtxt(samples[s], dtype=np.float, delimiter="\t", skiprows=0, usecols=[2])

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.