Code Monkey home page Code Monkey logo

biograph's People

Contributors

acenglish avatar hackerfriendly avatar lcmeed avatar shkoo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

biograph's Issues

Remove pyvcf dependency

PyVCF can only be installed with use_2to3, which is no longer used in any setuptools past 58. Therefore, need to remove PyVCF dependency.

PyVCF is used:

  • ./python/biograph/tools/coverage.py
    • Just uses it for header stuff
  • ./python/functest/biograph_test.py
    • Single line just to count vcf entries
  • ./python/functest/GenomeGraphTests.py
    • Again, just a counter

There are a few places in ./python/biograph/internal/ where PyVCF is also used. But before refactoring that code, we should check if we even need to support those tools at all.

Running out of space is a non-fatal error

Trying to export a study without a properly set TMPDIR gave error:


Traceback (most recent call last):File "/usr/lib/python3.6/multiprocessing/process.py", line 258, in _bootstrapself.run()
File "/home/ubuntu/pyenv/lib/python3.6/site-packages/biograph/vdb/study_cmd.py", line 97, in runfile=fOSError: [Errno 28] No space left on deviceExporting VCF

So it failed, and then kept going, only exporting chromosome 1 and part of chromosome 10

phenotype support

Implement phenotype tagging for sample names, and cohort selection based on phenotype criteria.

cohort support

Create arbitrary groups of aids and use the cohort identifiers in place of any command that requires sample names or aids.

--square-off miscalculates N_MISS/F_MISS

Since there is only one sample exported, N_MISS is always total_missing - 1.

Either calculate it correctly for the whole cohort or don’t report it when running --square-off.

vdb study / vcf export regions

Would be nice to be able to export subset by regions. bcftools allows a -r chrom:start-end as well as a -r regions.bed.

Joint-Genotyping

Is biograph able to joint-genotype across a set of project samples? How does one create a project level VCF for analyses with biographies?

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.