view spring_model_line.py @ 17:c790d25086dc draft

"planemo upload commit b0ede77caf410ab69043d33a44e190054024d340-dirty"
author guerler
date Wed, 28 Oct 2020 05:11:56 +0000
parents
children
line wrap: on
line source

#! /usr/bin/env python3
import argparse
import os

def main(args):
	os.system("mkdir -p temp")
	line = args.line.split()
	
	os.system("./spring_model.py -ar ../../spring.db/covid_hhr/nsp13.fasta.txt -ac B -at ../../spring.db/files/6jyt.pdb -br ../../spring.db/human_hhr/sp\|P51530\|DNA2_HUMAN.fasta.txt -bc A -bt ../../spring.db/files/5ean.pdb -ts ../../spring.db/files/6jyt.pdb -tc B")

if __name__ == "__main__":
	parser = argparse.ArgumentParser(description='Create a 3D model from HH-search results (from single line parameter).')
	parser.add_argument('-l', '--line', help='Space separated single-line parameter (Query Target Z-min QueryTemplate TargetTemplate ComplexTemplate', required=True)
	args = parser.parse_args()
	main(args)