Skip to content

Commit

Permalink
Merge branch 'master' of github.com:AnjanaSenanayake/f5n_server
Browse files Browse the repository at this point in the history
  • Loading branch information
AnjanaSenanayake committed Mar 16, 2020
2 parents 01b5bd7 + d305764 commit f4e6157
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@

## f5n_server
This is a job server to distribute sequencing tasks among portable devices that run [f5n](https://github.com/SanojPunchihewa/f5n)

Expand All @@ -20,11 +21,22 @@ This is a job server to distribute sequencing tasks among portable devices that
### Flowchart
![Diagram](https://github.com/hiruna72/f5n_server/blob/master/f5n_server_flow_chart.png)

### Network
### Real Time Sequencing Network
The source code for the Mobile Application can be found [here](https://github.com/SanojPunchihewa/f5n)

![Diagram](https://github.com/hiruna72/f5n/blob/master/server_mobile_connection.png)

### Quick Start

1) Download a [dataset](https://github.com/nanopore-wgs-consortium/NA12878/blob/master/Genome.md)
2) Pair each reads.fastq(a) and the corresponding (multi)fast5 files. refer scripts.
3) Compress each pair as a .zip file. (you should now have a folder with many number of .zip files)
4) Run f5n-server
5) Configure the folder path to the folder containing the .zip files.
6) Configure a pipeline
7) Create jobs
8) Connect to f5n-server with mobile phones using the local IP address.

### Features
#### Single Server Socket
Since client-server communication happens only when a job is requested or to get updates of a job, server side is not multi-threaded. Rest of the client requests have to wait while the first client is served. Once a client is served(ex:a job is assigned) the socket is closed. Average service time is minimal thus, we assume mutli-threaded server will not enhance the performance. Also the fact that not all the clients try to connect to the server at the same time supports this. Moreover, there is a considerable time gap between intermediate minIT ouputs. Hence, a client may have to wait until a new job get listed.
Expand Down
Binary file added f5n_server_flow_chart.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit f4e6157

Please sign in to comment.