def get_ids_to_remove( args ):
  """
  reads in the in-ids file and gathers all IDs to which
  the out fasta file will be reduced to.
  """
  fo = open( args.get('in-ids'), 'r' )
  ids = {}
  for line in fo:
    line = line.rstrip()
    ids[ line.replace('>','') ] = 1
  fo.close()
  return ids