<commit_before>Introduction to genomicAPI
==========================

genomicAPI is a set of apps developed with Hue SDK for accessing genomic data stored in various databases (HBase, MySQL, etc).


Install a new app in your Hue UI
================================

Here is the procedure to install one of the app available in this repository in your Hue interface:

  1. Move to some directory where to download the git repository

     ```
     cd <path>/<to>/<apps>
     git clone https://github.com/jpoullet2000/genomicAPI
     ```
   
  2. Create a new Hue app 

     ```
     cd <path>/<to>/<Hue>
     sudo mkdir myapps
     cd myapps
     sudo /usr/lib/hue/build/env/bin/hue create_desktop_app <appname>
     sudo ./../build/env/bin/python ../tools/app_reg/app_reg.py --install <appname>
     ```

     Where <appname> is the name of the app you want to add. This creates a new app directory structure. 

  3. Replace the content of <path>/<to>/<Hue>/myapps/<appname> by the content of the corresponding apps

     ```
     sudo cp -R <path>/<to>/<apps>/genomicAPI/apps/<yourapps>/* <path>/<to>/<Hue>/myapps/<appname>/
     ``` 


Development: getting started with Hue SDK
=========================================

If you want to contribute to new Hue apps, we recommend to install the Cloudera distribution on your local machine as a virtual machine. The procedure is described below.  

Download cloudera virtual box image:

        $ wget http://www.cloudera.com/content/cloudera/en/documentation/DemoVMs/Cloudera-QuickStart-VM/cloudera_quickstart_vm.html

Decompressed the 7z to get a vmdk file<commit_msg>Readme: < symbols issues<commit_after>Introduction to genomicAPI
==========================

genomicAPI is a set of apps developed with Hue SDK for accessing genomic data stored in various databases (HBase, MySQL, etc).


Install a new app in your Hue UI
================================

Here is the procedure to install one of the app available in this repository in your Hue interface:

  1. Move to some directory where to download the git repository

     ```
     cd <path>/<to>/<apps>
     git clone https://github.com/jpoullet2000/genomicAPI
     ```
   
  2. Create a new Hue app 

     ```
     cd <path>/<to>/<Hue>
     sudo mkdir myapps
     cd myapps
     sudo /usr/lib/hue/build/env/bin/hue create_desktop_app <appname>
     sudo ./../build/env/bin/python ../tools/app_reg/app_reg.py --install <appname>
     ```

     Where ```<appname>``` is the name of the app you want to add. This creates a new app directory structure. 

  3. Replace the content of ```<path>/<to>/<Hue>/myapps/<appname>``` by the content of the corresponding apps

     ```
     sudo cp -R <path>/<to>/<apps>/genomicAPI/apps/<yourapps>/* <path>/<to>/<Hue>/myapps/<appname>/
     ``` 


Development: getting started with Hue SDK
=========================================

If you want to contribute to new Hue apps, we recommend to install the Cloudera distribution on your local machine as a virtual machine. The procedure is described below.  

Download cloudera virtual box image:

        $ wget http://www.cloudera.com/content/cloudera/en/documentation/DemoVMs/Cloudera-QuickStart-VM/cloudera_quickstart_vm.html

Decompressed the 7z to get a vmdk file
{'fraction_non_alphanumeric': 0.15403498005523167, 'fraction_numerical': 0.00490948143602332, 'mean_word_length': 3.4054054054054053, 'pattern_counts': {'":': 0, '<': 46, '<?xml version=': 0, '>': 45, 'https://': 2, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 6, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7499109', 'n_tokens_mistral': 1030, 'n_tokens_neox': 949, 'n_words': 351}