diff filler.py @ 4:82569b47df8d draft

planemo upload
author jowong
date Mon, 29 Oct 2018 07:52:12 -0400
parents
children 63f3743c2ae4
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/filler.py	Mon Oct 29 07:52:12 2018 -0400
@@ -0,0 +1,20 @@
+#!/usr/bin/env python
+
+import sys
+import argparse as ap
+
+parser = ap.ArgumentParser(prog='filler', conflict_handler='resolve',
+                           description="produce filler collection to deal with galaxy handling")
+
+input = parser.add_argument_group('Input', '')
+input.add_argument('-i', '--input', nargs=1, required=True, help="Paths to forward reads")
+input.add_argument('-o', '--output', nargs=1, required=True, help="output")
+
+if len(sys.argv) == 0:
+    parser.print_usage()
+    sys.exit(1)
+
+args = parser.parse_args()
+output = open(args.output[0], 'w')
+output.write(args.input[0])
+output.write("\n")