Mercurial > repos > iuc > jbrowse
comparison 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 |
comparison
equal
deleted
inserted
replaced
13:69c5e9c0add0 | 14:18be2d72fdee |
---|---|
168 GFF.write([rec], sys.stdout) | 168 GFF.write([rec], sys.stdout) |
169 | 169 |
170 | 170 |
171 if __name__ == '__main__': | 171 if __name__ == '__main__': |
172 parser = argparse.ArgumentParser(description='rebase gff3 features against parent locations', epilog="") | 172 parser = argparse.ArgumentParser(description='rebase gff3 features against parent locations', epilog="") |
173 parser.add_argument('parent', type=file, help='Parent GFF3 annotations') | 173 parser.add_argument('parent', type=argparse.FileType('r'), help='Parent GFF3 annotations') |
174 parser.add_argument('child', help='Child GFF3 annotations to rebase against parent') | 174 parser.add_argument('child', type=argparse.FileType('r'), help='Child GFF3 annotations to rebase against parent') |
175 parser.add_argument('--interpro', action='store_true', | 175 parser.add_argument('--interpro', action='store_true', |
176 help='Interpro specific modifications') | 176 help='Interpro specific modifications') |
177 parser.add_argument('--protein2dna', action='store_true', | 177 parser.add_argument('--protein2dna', action='store_true', |
178 help='Map protein translated results to original DNA data') | 178 help='Map protein translated results to original DNA data') |
179 args = parser.parse_args() | 179 args = parser.parse_args() |