Skip to content

almlab/SmileTrain

Repository files navigation

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!

Releases

No releases published

Packages

No packages published