https://github.com/almlab/SmileTrain
Raw File
Tip revision: 7b0fea0a1fe3d37a0dee0f4d6d1d1cf60fbfd66b authored by swo on 29 October 2015, 17:01:10 UTC
fixed merge name assignment
Tip revision: 7b0fea0
README.md
SmileTrain
==========

     ________            _____ ______      ________                _____          
     __  ___/_______ ___ ___(_)___  /_____ ___  __/______________ ____(_)_______  
     _____ \ __  __ `__ \__  / __  / _  _ \__  /   __  ___/_  __ `/__  / __  __ \ 
     ____/ / _  / / / / /_  /  _  /  /  __/_  /    _  /    / /_/ / _  /  _  / / / 
     /____/  /_/ /_/ /_/ /_/   /_/   \___/ /_/     /_/     \__,_/  /_/   /_/ /_/ 

## Python requirements
SmileTrain is developed against Python 2.7.3.

## Documentation
Documents in the github wiki (in the right-hand panel). A (possibly old) copy is in the `doc/` folder.

Scripts are annotated with docstrings that can be read using pydoc. To view documentation for script.py, run `pydoc script`.

## Tests
Unit tests are in the `test` folder. You can run the tests from the top directory by running `python -m unittest discover`.

## Usage
* Enter your user information in the config file before use.
* Make sure your .bash\_rc loads python 2.7. Otherwise, argparse will die. At the start of my .bash\_rc, I have
    - source /etc/profile.d/modules.sh
    - module add python/2.7.3
* Run the tests.
* Run otu\_caller.py with the command line option --dry\_run before you actually submit any jobs. Check that the output commands look like what you actually want to submit to the cluster!
back to top