GithubHelp home page GithubHelp logo

minotourcli's People

Contributors

adoni5 avatar mattloose avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

wkusmirek

minotourcli's Issues

running monitoring of reads without a watch folder leads to an error

Here's the error:

No Fastq Seen
FastQ Upload Status:
Files queued/processed/skipped/time/per file:0/0/0/1604944861.2268634/0
New reads seen/uploaded/skipped:0/0/0
Traceback (most recent call last):
  File "/home/grid/GIT/minotourcli/test_env/bin/minFQ", line 11, in <module>
    load_entry_point('minFQ', 'console_scripts', 'minFQ')()
  File "/home/grid/GIT/minotourcli/minFQ/minFQ.py", line 505, in main
    sys.stdout.write(", ".join(args.WATCHLIST) + "\n")
TypeError: sequence item 0: expected str instance, NoneType found

Scripts are posted individually

When Minions are created all the scripts for that position are sent to Minotour one at a time in individual post requests.

Would it be possible to send them in one request in a bulk JSON object. Would be way less hassle and some reduced overhead for the MinoTour database manager.

Monitoring single positions

Occasionally I need to monitor a single sequencing position rather than all connected sequencing positions. Currently to accomplish this (monitoring MinKNOW and FASTQ) requires starting two minFQ instances that each upload only one aspect, e.g:

# Upload only FASTQ
minFQ ... -w /path/to/folder -nm
# Upload only live data
minFQ ... -nf

Ideally there should be a switch/flags for including or excluding named sequencing devices. e.g:

# Upload only device X1 and X2, exclude all other devices
minFQ ... --include X1 X2
# Exclude device X1 only include all other devices
minFQ ... --exclude X1

Version argument

Could show you branch and version number, so we can know if we're using the right one.

Auto reconnect if server restarts

If you restart the server for example by making changes, you get this error ->
requests.exceptions.ConnectionError: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response',))
Could it reconnect or at least close gracefully?

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.