diff gff3_rebase.py @ 14:18be2d72fdee draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/jbrowse commit 0bfb0de98c918860c21808e8832caad9f0535975
author iuc
date Thu, 08 Jun 2017 17:31:38 -0400
parents ad4b9d7eae6a
children ff11d442feed
line wrap: on
line diff
--- a/gff3_rebase.py	Thu Feb 09 12:36:16 2017 -0500
+++ b/gff3_rebase.py	Thu Jun 08 17:31:38 2017 -0400
@@ -170,8 +170,8 @@
 
 if __name__ == '__main__':
     parser = argparse.ArgumentParser(description='rebase gff3 features against parent locations', epilog="")
-    parser.add_argument('parent', type=file, help='Parent GFF3 annotations')
-    parser.add_argument('child', help='Child GFF3 annotations to rebase against parent')
+    parser.add_argument('parent', type=argparse.FileType('r'), help='Parent GFF3 annotations')
+    parser.add_argument('child', type=argparse.FileType('r'), help='Child GFF3 annotations to rebase against parent')
     parser.add_argument('--interpro', action='store_true',
                         help='Interpro specific modifications')
     parser.add_argument('--protein2dna', action='store_true',