An open API service indexing awesome lists of open source software.

https://github.com/asiern/genetics

Genetic diseases analyzation using K-means clustering and OpenMP.
https://github.com/asiern/genetics

clustering k-means-clustering openmp openmp-parallelization

Last synced: 9 months ago
JSON representation

Genetic diseases analyzation using K-means clustering and OpenMP.

Awesome Lists containing this project

README

          

# :syringe: Genetics

Genetic diseases analyzation using K-means clustering (Lloyd’s algorithm) to classify the samples and OpenMP to parallelize the code.

### :triangular_ruler: Project Structure

The project is divided into two pieces:

- Serial: `gengroups_s.c` `fungg_s.c`.

- Parallel: `gengroups_p.c` `fungg_p.c`.

The results of the execution can be found at `results_s.out` and `results_p.out`.

---

### :wrench: Build

Navigate to the `Source` folder and run the following command:

```
# Making
$ make
```

This should have created 2 files `genetics_s` and `genetics_p`.

```
# Running the program
# ./[program version] dbgen.dat dbdise.dat [number of elements to be processed]
$ ./genetics_p dbgen.dat dbdise.dat 1000
```