Giter Site home page Giter Site logo

brentp / bpbio Goto Github PK

View Code? Open in Web Editor NEW
6.0 6.0 2.0 99 KB

basepair bio: a single binary with many useful genomics subtools.

License: MIT License

Nim 100.00%
bam cram genomics genomics-visualization high-throughput-sequencing structural-variation

bpbio's People

Contributors

brentp avatar brwnj avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

brwnj aspirincode

bpbio's Issues

variexpr: support modes other than trio

currently, variexpr works quite nicely for trios, but it does not have a mode for iterating over each sample. this might be out of scope or might require a cohort mode that is separate from trio mode.

variexpr: affected, unaffecteds

  • should be able to check sample.affected and sample.unaffected.where affected is a boolean
  • add affecteds = seq[Sample] and unaffecteds = seq[Sample] for any .ped file with any affected samples. Then user can write a function to iterator over these and return a boolean or number (yet to support numeric returns).

if duktape supported "fat arrow" functions, this would have a nice API. For now, it will have to do that the user runs a function, iterates over each affected or unaffected and returns a result.

variexpr: things to add

  • : variant object with CHROM, POS, start, end, REF, ALTS, QUAL, ID, FILTER
  • : variant.call_rate
  • : variant.hwe
  • : variant.num_hets, variant.num_hom_ref, variant.num_unknown, variant.num_hom_alt

add access to CSQs

INFO.CSQ will be the original string.

CSQS will be the list of all CSQS
CSQ will be the "highest" impact.

should have CSQ.gene, CSQ.symbol, CSQ.transcript, in addition to whatever is in the Description upon annotation.

variexpr: support returning a number

currently, only boolean expressions are supported. need to determine how to support a numeric return value. this is easy to implement, but making it nice for the user is harder.

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.