Mercurial > repos > iuc > transtermhp
diff transtermhp.py @ 3:1a1ec22a7e28 draft
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/transtermhp commit 581d451609b919893ba53d104a5bcf2e9e565d1d
author | iuc |
---|---|
date | Wed, 07 Jun 2017 07:53:53 -0400 |
parents | c28817831a24 |
children | 9a90656a1af9 |
line wrap: on
line diff
--- a/transtermhp.py Fri Oct 09 09:40:48 2015 -0400 +++ b/transtermhp.py Wed Jun 07 07:53:53 2017 -0400 @@ -1,10 +1,14 @@ #!/usr/bin/env python -import sys import re import subprocess -from Bio import SeqIO +import sys + from BCBio import GFF -from Bio.SeqFeature import SeqFeature, FeatureLocation +from Bio import SeqIO +from Bio.SeqFeature import ( + FeatureLocation, + SeqFeature +) def main(expterm, fasta, gff3): @@ -65,6 +69,7 @@ rec.features.append(feature) yield rec + if __name__ == '__main__': for record in main(*sys.argv[1:4]): GFF.write([record], sys.stdout)