Code Monkey home page Code Monkey logo

prsconv3's People

Contributors

sycamoreleaf avatar

Watchers

 avatar

Forkers

osu-kim-lab

prsconv3's Issues

Interface needs cleaning

The user interface is currently messy and inconsistent. Service commands like per_read_stats should use hyphens, like per-read-stats, as is customary with other tools. Subcommands that allow the user to choose between long-form and wide-form output should do so with similar interfaces. Subcommands should also have their own useful help messages.

Do a better job catching Tombo environment errors

Tombo depends on an h5py interface that has since been removed. This error should be caught and a more useful error message provided.

(sci-computing-env) [kimmel@owens-login04 prsconv3]$ python3 . per_read_stats tests/files/per_read_stats/*.tombo.per_read_stats out.csv
Traceback (most recent call last):
  File "/users/PAS1405/kimmel/.conda/envs/sci-computing-env/lib/python3.7/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/users/PAS1405/kimmel/.conda/envs/sci-computing-env/lib/python3.7/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "./__main__.py", line 7, in <module>
    cli.engine_dict[args.which_kind].run(args)
  File "./engines/per_read_stats.py", line 99, in run
    .get_region_per_read_stats(reg)
  File "/users/PAS1405/kimmel/.conda/envs/sci-computing-env/lib/python3.7/site-packages/tombo/tombo_stats.py", line 3400, in get_region_per_read_stats
    zip(self.per_read_blocks[block_name]['read_ids'].value,
AttributeError: 'Dataset' object has no attribute 'value'

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.