def _convert_between_ucsc_and_ensemble_naming(chrom):
 if chrom.startswith('chr'):
  return chrom[3:]
 else:
  return ('chr' + chrom)

def _convert_between_ucsc_and_ensemble_naming ( chrom ) : if chrom . startswith ( 'chr' ) : return chrom [ 3 : ] else : return ( 'chr' + chrom )
convert between ucsc chromosome naming conventions and ensembl naming conventions (1) .