Giter Site home page Giter Site logo

tinysink's Introduction

tinysink

Anaconda-Server Badge
Synchronise Nanopore reads with a server.

This is a script for synchronising any .fast5 or .fastq files being produced from a Nanopore experiment. Can be run during the sequencing, in which case it will sync new files as they are produced, or after the fact.

If you want to synchronise something other than the above listed file types feel free to change the code to your desire.

An example of how to run:

./tinysink -s <local_dir_to_data> -d <destination_dir_on_server> -u <username> -n <servername> 

To cancel, you just need to press Ctrl-c twice within 3 seconds. If you only press it once, nothing will happen.

If the destination directory on the server does not exist, it will be created for you.

Also, if there are connection issues with the server, such as internet dropouts etc. the script will go to sleep for 3 minutes before trying again. You can change this time is you like by changing the variable WAIT_BETWEEN_SINK at the top of the script.

Note: This script will not delete the files from the computer you are running it on - it just copies them. If you want them to be deleted after they are moved to the server you can add the --remove-source-files argument to the rsync command in the script. Alternatively you can just delete them yourself after the experiment is done (recommended). We tend to keep a back up of the data from these runs on a different server (cold storage).

tinysink's People

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

druvus

tinysink's Issues

Tag a release

I would like to package this script using Bioconda. Could you please tag a release that I could use?

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.