def make_cidx_file(fp):
 if which('cdbfasta'):
  args = ['cdbfasta', fp]
  (stdout, stderr) = Popen(args, stderr=PIPE, stdout=PIPE).communicate()
 else:
  raise ApplicationNotFoundError

def make_cidx_file ( fp ) : if which ( 'cdbfasta' ) : args = [ 'cdbfasta' , fp ] ( stdout , stderr ) = Popen ( args , stderr = PIPE , stdout = PIPE ) . communicate ( ) else : raise ApplicationNotFoundError
make a cs index file .