Dna.rename_sample

Dna.rename_sample#

missionbio.mosaic.dna.Dna.rename_sample

Dna.rename_sample(old_name: str, new_name: str) None#

Rename sample to a new_name

Parameters:
  • old_name – name of the sample to rename

  • new_name – new sample name

Raises:

ValueError – when old_sample does not exist or new_sample already exists


< Class Dna