def emboss_convert(filename, old_format, new_format):
 cline = SeqretCommandline(exes['seqret'], sequence=filename, sformat=old_format, osformat=new_format, auto=True, stdout=True)
 child = subprocess.Popen(str(cline), stdin=subprocess.PIPE, stdout=subprocess.PIPE, stderr=subprocess.PIPE, universal_newlines=True, shell=(sys.platform != 'win32'))
 child.stdin.close()
 child.stderr.close()
 return child.stdout

def emboss_convert ( filename , old_format , new_format ) : cline = SeqretCommandline ( exes [ 'seqret' ] , sequence = filename , sformat = old_format , osformat = new_format , auto = True , stdout = True ) child = subprocess . Popen ( str ( cline ) , stdin = subprocess . PIPE , stdout = subprocess . PIPE , stderr = subprocess . PIPE , universal_newlines = True , shell = ( sys . platform != 'win32' ) ) child . stdin . close ( ) child . stderr . close ( ) return child . stdout
run seqret .