Giter Site home page Giter Site logo

junctioncounts's People

Contributors

ajw2329 avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

junctioncounts's Issues

Assess GLM performance

Assess performance of GLMs on simulated data. TP would be a 'ground truth' dPSI of the same sign as the junctionCounts calculation given a p-value lower than chosen alpha in the case of comparison across levels of a single factor.

In the case of more complicated hypotheses such as testing interaction terms, a TP might be the presence of a 'ground truth' ddPSI of the same sign as junctionCounts calculation between pairs of A levels across B levels (e.g in the case of full: PSI ~ A + B + A:B vs red: PSI ~ A + B

Add weights for PSI_lo, PSI_hi

Add weights (sum of included, excluded counts) for PSI_lo and PSI_hi values. This will allow the use of either in binomial GLMs.

Take advantage of bam fetching

Paired-end processing is already set up to use fetching. This could be taken advantage of to only parse reads that overlap events.

TO DO:
Take splice_lib_events.bed as input and parse - while looping through the intervals, pass the coords to bam.fetch() in read_pair_generator. Modify SE read processing to also use bam.fetch().

For bootstrapping, make use of idxstats to get the total number of reads. The all_read_info_list will then contain the subset of informative reads with n 0s for n uninformative reads.

Missing RI events

E.g. ZSWIM8 (chr10:75561074-75561606) from A1 hg19 merged.gtf. This gets generated internally but ends up filtered for some reason.

Implement distance constraint for AP, AT events

Currently alternative polyadenylation/alt-TSS events are specified by two exons with the same inner coordinate (splice site) but different outer coordinates. The outer coordinates can differ by as little as 1 nt. This most likely allows for many false positives, particularly when input GTFs come from transcriptome assemblers.

python packaging

Turn junctionCounts into a proper installable python package.

assign_reads_unstranded uses erroneous 3-argument calls to append_matching

junctionCounts version 0.1.0

running with option --forward_read unstranded

The following exception Traceback was generated:

File "<PATH TO junctionCounts_0.1.0>/junctionCoutns.py" line 611 in assign_reads_unstranded
TypeError: append_matching() takes exactly 4 arguments (3 given)

It appears that the code was updated in "assign_reads_stranded", which has 2 calls with 4 arguments of this form:

append_matching( candidate_isoforms, matching_events, event_junction_dict, junction)
append_matching( candidate_isoforms, matching_events, event_eij_dict, eij)

But the code in "assign_reads_unstranded" has 2 calls with the old erroneous 3-argument form:

append_matching( matching_events, event_junction_dict, junction)
append_matching( matching_events, event_eij_dict, eij)

Hopefully the associated changes to make this work are not too burdensome.

Sol Katzman
UC Santa Cruz Genomics Institute

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.