verkkofillet.pp.readChr

Contents

verkkofillet.pp.readChr#

verkkofillet.pp.readChr(obj, mapFile, chromosome_assignment_directory='chromosome_assignment', stat_directory='stats', haplotype1=None, haplotype2=None)[source]#

Read the chromosome assignment results and store them in the object.

Parameters:
  • obj – The VerkkoFillet object to be used.

  • mapFile – The path to the map file.

  • chromosome_assignment_directory – The directory containing the chromosome assignment results. Default is “chromosome_assignment”.

  • stat_directory – The directory containing the statistics. Default is “stats”.

  • haplotype1 – The name of haplotype 1 (e.g., “paternal” or “maternal”). Default is None.

  • haplotype2 – The name of haplotype 2 (e.g., “paternal” or “maternal”). Default is None.

Returns:

obj with stats attribute containing the chromosome assignment results.