File: lpCall.py

package info (click to toggle)
giira 0.0.20140625-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 760 kB
  • sloc: java: 8,578; python: 258; xml: 44; sh: 33; makefile: 14
file content (17 lines) | stat: -rw-r--r-- 270 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
'''
Created on 4 November 2013

calls the glpsol lp solver to assign the rnas

@author: zickmannf
'''

import sys
import numpy
import os

inputFile = sys.argv[1]
outputFile = sys.argv[2]

syscall = "glpsol --lp %s --output %s" %(inputFile,outputFile)
os.system(syscall)