Created
          August 12, 2008 15:57 
        
      - 
      
- 
        Save michaelbarton/5065 to your computer and use it in GitHub Desktop. 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | desc 'Loads all the alignment codon data' | |
| task :load_alignment_codons => :clear_alignment_codons do | |
| starfish = %x|which starfish|.strip | |
| loader = PROJECT_ROOT + '/model/starfish/load_alignment_codons.rb' | |
| p = lambda{ system( "qsub -cwd -j y -V #{starfish} #{loader}") } | |
| p.call | |
| sleep(120) | |
| 16.times { p.call } | |
| end | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment