Git Product home page Git Product logo

havic's People

Contributors

schultzm avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

mdu-phl

havic's Issues

allow user-selection of distance algorithm

Add distance method as an option to argparse, to let the user choose which pairwise distance algorithm to use in clusterpicker. Version currently uses 'valid'. Need to test the 'ambiguity' method to understand whether e.g., A will be called a difference to M (either A or C).

r dep check

get the r dependency check to work properly

ruffus not a dep in setup.py ?

    from ..utils.pipeline_runner import Pipeline  File "/home/linuxbrew/.linuxbrew/opt/[email protected]/lib/python3.9/site-packages/havic/utils/pipeline_runner.py", line 19, in <module>
    from ruffus import (
ModuleNotFoundError: No module named 'ruffus'```

Rename havic to something more generic

I now have havic running on a test dataset for measles, so theoretically should work for any single contig reference genome and target region. Rename havic to something more generic and more accurately descriptive.

install.sh instructions

The docs say to just rune install.sh ?

It would be good to make that script safer.
Look up definsive bash programming

  1. add #!/bin/bash line
  2. add set -e -u so it stops if one of the commands fail
    eg. conda or R is not installed

It should probably warn that it is about to make 100s of files?

todo list of enhancements

  • switch over to python3.8
  • Check correctness of minimap2 implementation (is it the best choice here, based on end-soft clips and IUPAC handling or masking)
  • add an option for fofn as inputs as opposed to having to list the input files on the command line, or reset the input file to a single file as opposed to allowing a list of input files
  • switch trim header list to file of trim headers
  • upgrade to iqtree2
  • check IQtree settings to ensure appropriateness of parameters given version2 release of IQtree
  • check appropriateness of ClusterPicker as the tool for cluster-picking: suggest here use of phydelity instead https://github.com/alvinxhan/Phydelity
  • CI using CircleCI
  • print to stdout any sequence headers that have been modified by HAVIC (e.g., replacements of non A-z|0-9 with _)
  • if ClusterPicker has no .jar extension, drop the java -jar part from the run cmd
    install via conda is new method

trim seqs bug

When no trim seqs are specified, the list search breaks:

Traceback (most recent call last):
  File "/home/schultzm/.local/bin/havic", line 10, in <module>
    sys.exit(main())
  File "/home/schultzm/.local/lib/python3.7/site-packages/havic/__main__.py", line 197, in main
    args.iqtree_threads)
  File "/home/schultzm/.local/lib/python3.7/site-packages/havic/utils/pipeline_runner.py", line 71, in __init__
    .replace("(", "").replace(")", "").rstrip()) for i in trim_seqs]
TypeError: 'NoneType' object is not iterable

fix `rpy2` imports for `havic depcheck`

Traceback (most recent call last):
  File "/usr/local/Caskroom/miniconda/base/bin/havic", line 8, in <module>
    sys.exit(main())
  File "/usr/local/Caskroom/miniconda/base/lib/python3.7/site-packages/havic/__main__.py", line 154, in main
    from .utils.check_dependency import Dependency
  File "/usr/local/Caskroom/miniconda/base/lib/python3.7/site-packages/havic/utils/check_dependency.py", line 3, in <module>
    from havic.tests import check_r_dependencies
  File "/usr/local/Caskroom/miniconda/base/lib/python3.7/site-packages/havic/tests/check_r_dependencies.py", line 2, in <module>
    from rpy2.rinterface import RRuntimeError
ImportError: cannot import name 'RRuntimeError' from 'rpy2.rinterface' (/usr/local/Caskroom/miniconda/base/lib/python3.7/site-packages/rpy2/rinterface.py)

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.